AutoConvert Friends' names Hack for WordPress: 1) Add the following line: $content = convert_friends($content); to the following function inside your b2temaplte.functions.php (inside b2-include folder), after the line with convert_smilies: (in 1.0, in template-functions.php inside your wp-includes folder) function the_content($more_link_text='(more...)', $stripteaser=0, $more_file='') { $content = get_the_content($more_link_text, $stripteaser, $more_file); $content = convert_bbcode($content); $content = convert_gmcode($content); $content = convert_smilies($content); $content = convert_chars($content, 'html'); $content = apply_filters('the_content', $content); echo $content; } 2) Add this to your b2functions.php (inside b2-include folder), anywhere: (in 1.0, to functions.php inside your wp-includes folder) function convert_friends($text) { global $friendssearch, $b2_friendsreplace; $text = str_replace($friendssearch, $b2_friendsreplace, $text); return ($text); } 3) Add this to b2vars.php (inside b2-include folder), anywhere: (in 1.0, to your vars.php inside your wp-includes folder) $friendstrans = array( 'ToledoBloggers' => 'www.toledobloggers.com', 'Weblog Tools Collection' => 'dinki.mine.nu/word/', 'Justin' => 'www.ws84tigers.com', 'Jason' => 'rubix.gotdns.com/index.php', 'dougal' => 'dougal.gunters.org', 'Wordpress' => 'www.wordpress.org', 'NuclearMoose' => 'blog.nuclearmoose.com', 'SouthernGal' => 'www.southern-gal.com', 'TechGnome' => 'techgnome.anderson-website.net/'); # generates friends' search & replace arrays foreach($friendstrans as $friend => $url) { $friendssearch[] = $friend; $friend_masked = ''; for ($ii = 0; $ii < strlen($friend); $ii = $ii + 1) { $friend_masked .= substr($friend, $ii, 1); } $b2_friendsreplace[] = "$friend_masked"; } 4) All done! Now replace the names with your own and your own links. Remember to remove the http:// before the links and also remember to put a comma at the end of each name. Just follow the way it is done above. Everytime you mention a name on your blog which belongs on this list, it gets replaced with the links for the person.