The Experts-Exchange Badge
Though I originally developed this wordpress plugin just for my personal use, I decided to generalize it so anyone can display their rank on experts-exchange.com. Now I’m hoping others find it useful as well.
The point tally automatically updates when you gain new expert points, so it’s never out of date. As you pass milestones like 50K, 150K, 300K and so on, the graphic will switch to show your current shield of courage. It’s a snap to use either as a direct function call in your sidebar.php file or as a widget. And the badge itself is a link back to your experts-exchange profile.
Click this link to download the plugin.
After unzipping the contents, place them inside your wordpress plugins folder. In the admin panel, go to your Plugins menu and activate the Experts Exchange Badge plugin.
To have it display on your page, go to your Presentation menu and click the “Widgets” option. Drag the widget named “Experts Exchange Badge” into your preferred position in the sidebar. Click on the configuration link and complete the link to your profile in the input window. Now click “save changes”. Your badge will now appear for all your wordpress visitors to see.
As an alternate method, if you don’t want to use widgets you can modify your sidebar.php file directly. Again go to the Presentation menu, this time selecting the “Theme Editor” option. Select the sidebar file you wish to modify (or any other template you want to show your badge) and add the following line:
<?php ee_badge(‘[your profile id]’); ?>
(replace [your profile id] with the code that completes the link to your profile: http://www.experts-exchange.com/M_[your profile id].html)
September 19 2007 04:45 pm | open-source
One Response to “The Experts-Exchange Badge”
Alan Henderson on 02 Oct 2007 at 11:44 pm #
Brilliant!
You’ve shamed me into opening my PHP books. :o)
Thanks for your help on EE with the accursed “Howdy”.