Author URI: http://ipublicis.com/ Donate link: http://smsh.me/7kit License: GNU GPL v3 or later Copyright (C) 2010 iPublicis!COM This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . ****************************************** HOW TO: On the header above: 1. Change the "Netlog" in Plugin Name and Description. 2. Change Plugin URI, Version, Author, Author URI and Donate link. 3. Keep the rest AS IS On the code area: 1. Change the function name but keep the "_authorbox_add_sites" portion. a) We usually use the name text for it, i.e. for "Wordpress.Org" you'll set "wordpress_org" or something like it. 2. Change the $known_sites key and the "favicon" and "url" variables. a) The key is used in the profile form so use the same text you used in the Plugin Name in header area. b) Don't forget that the $known_site url must have the text "USERNAME" in it in order to work properly. 3. Change the add_filter() function to include your "_authorbox_add_sites" function. To make it available to everyone follow the rules defined at [Wordpress.Org](http://http://wordpress.org/extend/plugins/about/). This is just another Wordpress plugin that will made some data available for Author Box Reloaded. Thank you for your help and contribution. */ if( !function_exists( 'wp_authorbox' ) ) { $wpfr = 'Author Box Reloaded'; $dieMessage = sprintf( 'The %s plugin must be installed and active.', $wpfr ); $notice = "

Netlog Contact

".$dieMessage."

\n"; add_action('admin_notices', create_function( '', "echo '$notice';" ) ); } function netlog_authorbox_add_sites( $known_sites ) { $known_sites['Netlog'] = array( 'favicon' => plugin_dir_url( __FILE__ ) . 'images/netlog.png', 'url' => 'http://www.netlog.com/USERNAME', ); return $known_sites; } add_filter('authorbox_known_sites','netlog_authorbox_add_sites',10,1); ?>