ID); $email = $userinfo -> user_email; $site = $_SERVER['HTTP_HOST']; $atcontent_menu_section = "sync"; require( "include/atcontent_userinit.php" ); $img_url = plugins_url( 'assets/logo.png', __FILE__ ); $hidden_field_name = 'ac_submit_hidden'; $form_action = admin_url( 'admin-ajax.php' ); $form_message = ''; if ( strlen( $ac_api_key ) == 0 ) { $connect_url = admin_url( "admin.php?page=atcontent/dashboard.php" ); ?> " . 'Could not connect to atcontent.com. Contact your hosting provider.' . "
"; } //End PingBack $posts_id = array(); $posts_title = array(); $posts = $wpdb->get_results( " SELECT ID, post_title, post_author FROM {$wpdb->posts} WHERE post_status = 'publish' AND post_author = {$userid} AND post_type = 'post' " ); wp_cache_flush(); foreach ( $posts as $post ) { if ($post->post_author == $userid) { array_push( $posts_id, $post->ID ); array_push( $posts_title, $post->post_title ); } wp_cache_flush(); } $ac_copyprotect = get_user_meta( $userid, "ac_copyprotect", true ); if ( strlen( $ac_copyprotect ) == 0 ) $ac_copyprotect = "1"; $ac_paidrepost = get_user_meta( $userid, "ac_paidrepost", true ); if ( strlen($ac_paidrepost) == 0 ) $ac_paidrepost = "0"; $ac_paidrepostcost = get_user_meta($userid, "ac_paidrepostcost", true ); if (strlen($ac_paidrepostcost) == 0) $ac_paidrepostcost = "2.50"; $ac_is_import_comments = get_user_meta($userid, "ac_is_import_comments", true ); if (strlen($ac_is_import_comments) == 0) $ac_is_import_comments = "1"; $postIDs = join( "','" , $posts_id ); $postTitles = join( "','" , $posts_title ); ?>
Great! Settings applied. The final step is to synchronize your blog!

Synchronization gets your posts signed with your name and presents your blog to the AtContent audience. Additionally, it backups your posts in the AtContent cloud and provides you one backlink per each synchronized post.

StatusProcessing
Synced0 of

Note: Updating a post takes few seconds, please be patient