0) : $userdata = array(); $userdata['ID'] = NULL; $userdata['user_login'] = sanitize_user($newuser_name); $userdata['user_login'] = apply_filters('pre_user_login', $userdata['user_login']); $userdata['user_nicename'] = sanitize_title($newuser_name); $userdata['user_nicename'] = apply_filters('pre_user_nicename', $userdata['user_nicename']); $userdata['display_name'] = $wpdb->escape($newuser_name); $newuser_id = wp_insert_user($userdata); if (is_numeric($newuser_id)) : update_option('feedwordpress_unfamiliar_author', $newuser_id); else : // TODO: Add some error detection and reporting endif; else : // TODO: Add some error reporting endif; else : update_option('feedwordpress_unfamiliar_author', $_REQUEST['unfamiliar_author']); endif; update_option('feedwordpress_unfamiliar_category', $_REQUEST['unfamiliar_category']); update_option('feedwordpress_syndicated_post_status', $_REQUEST['post_status']); update_option('feedwordpress_automatic_updates', ($_POST['automatic_updates']=='yes')); update_option('feedwordpress_freshness', ($_POST['freshness_interval']*60)); // Categories $cats = array(); if (isset($_POST['post_category'])) : $cats = array(); foreach ($_POST['post_category'] as $cat_id) : $cats[] = '{#'.$cat_id.'}'; endforeach; endif; if (!empty($cats)) : update_option('feedwordpress_syndication_cats', implode("\n", $cats)); else : delete_option('feedwordpress_syndication_cats'); endif; if (isset($_REQUEST['comment_status']) and ($_REQUEST['comment_status'] == 'open')) : update_option('feedwordpress_syndicated_comment_status', 'open'); else : update_option('feedwordpress_syndicated_comment_status', 'closed'); endif; if (isset($_REQUEST['ping_status']) and ($_REQUEST['ping_status'] == 'open')) : update_option('feedwordpress_syndicated_ping_status', 'open'); else : update_option('feedwordpress_syndicated_ping_status', 'closed'); endif; if (isset($_REQUEST['hardcode_name']) and ($_REQUEST['hardcode_name'] == 'no')) : update_option('feedwordpress_hardcode_name', 'no'); else : update_option('feedwordpress_hardcode_name', 'yes'); endif; if (isset($_REQUEST['hardcode_description']) and ($_REQUEST['hardcode_description'] == 'no')) : update_option('feedwordpress_hardcode_description', 'no'); else : update_option('feedwordpress_hardcode_description', 'yes'); endif; if (isset($_REQUEST['hardcode_url']) and ($_REQUEST['hardcode_url'] == 'no')) : update_option('feedwordpress_hardcode_url', 'no'); else : update_option('feedwordpress_hardcode_url', 'yes'); endif; ?>

'','default' => '','filter' => ''); $ua = FeedWordPress::on_unfamiliar('author'); if (is_string($ua) and array_key_exists($ua, $unfamiliar_author)) : $unfamiliar_author[$ua] = ' checked="checked"'; endif; $unfamiliar_category = array ('create'=>'','default'=>'','filter'=>''); $uc = FeedWordPress::on_unfamiliar('category'); if (is_string($uc) and array_key_exists($uc, $unfamiliar_category)) : $unfamiliar_category[$uc] = ' checked="checked"'; endif; if (isset($wp_db_version) and $wp_db_version >= 4772) : $results = get_categories('type=link'); // Guarantee that the Contributors category will be in the drop-down chooser, even if it is empty. $found_link_category_id = false; foreach ($results as $row) : if ($row->cat_id == $cat_id) : $found_link_category_id = true; endif; endforeach; if (!$found_link_category_id) : $results[] = get_category($cat_id); endif; else : $results = $wpdb->get_results("SELECT cat_id, cat_name, auto_toggle FROM $wpdb->linkcategories ORDER BY cat_id"); endif; $cats = get_option('feedwordpress_syndication_cats'); $dogs = get_nested_categories(-1, 0); $cats = array_map('strtolower', array_map('trim', preg_split(FEEDWORDPRESS_CAT_SEPARATOR_PATTERN, $cats) )); foreach ($dogs as $tag => $dog) : $found_by_name = in_array(strtolower(trim($dog['cat_name'])), $cats); if (isset($dog['cat_ID'])) : $dog['cat_id'] = $dog['cat_ID']; endif; $found_by_id = in_array('{#'.trim($dog['cat_id']).'}', $cats); if ($found_by_name or $found_by_id) : $dogs[$tag]['checked'] = true; endif; endforeach; ?>

Syndication Options

Syndicated Feeds
Syndicated Link category: "; foreach ($results as $row) { if (!isset($row->cat_id)) { $row->cat_id = $row->cat_ID; } echo "\n\t\n"; } echo "\n\n"; ?>
Check for new posts: minutes.
Feed information:
  • /> Update the contributor title when the feed title changes
  • /> Update when contributor description if the feed tagline changes
  • /> Update the contributor homepage when the feed link changes
Syndicated Posts all syndicated posts'); ?>
Publication:
Comments:
Trackback and Pingback:
Unfamiliar categories:
Permalinks point to:
Syndicated Authors
For posts by authors that haven't been syndicated before:
Posts by new authors
This is a default setting. You can override it for one or more particular feeds using the Edit link in Syndicated Sites
Back-end Options
Write update notices to PHP logs: