Show Top Commentators Plugin for WordPress

What are the benefits of showing the top commentators on your blog

By adding this plugin to your blog, you can encourage more discussion from your readers by displaying their names, link to their blogs and number of comments they have made recently to your sidebar.

Everyone wants to have a linkback so definitely this plugin will encourage your visitors to return and post a comment on your blog posts.

Download: Formats Available: Click here to Download

1) Download and Extract
Download and extract the file to your computer. Inside you will find ’show_top_commentators.php’.

2) Upload and chmod
You will need to upload ’show_top_commentators.php’ to your WordPress plugin directory. This directory is typically located at /wordpress/wp-content/plugins/

You will also want to chmod this file to 777 after uploading, although this is not required.

3) Modify Template
Inside your WordPress control panel, you will need to click ‘Presentation’ -> ‘Theme Editor’ -> ‘Sidebar Template’ (or whichever template you want the plugin to show up in).

Add the following code to your template, to allow the plugin to display the top commentators.

<?php if(function_exists('ns_show_top_commentators')) { ?>
<h2>Top Commentators</h2>
<ul><?php ns_show_top_commentators(); ?></ul>
<?php } ?>

4) Modify Options (not required)
There are currently 9 options you can modify inside ’show_top_commentators.php’ that make the plugin function differently. These are located near the top of the file and should be editable from your WordPress control panel (’Plugins’ -> ‘Plugin Editor’). (Note: You will not be able to edit these options unless you earlier chmod’d show_top_commentators.php to 777 (see step 2))

Make the top commentators list reset in a time interval
Look for the text “reset”. You can modify the text inside the quotes to anything like hourly, daily, weekly, yearly according to how often you want to reset the plugin. There’s an additional parameter you can use – that’s #. If you want to reset the commentators list every 10 days, you can use #10.

Limit the number of people shown on the list
Check for “limit”. Limit the number of names you want to be shown using this option. For example, if you want only three people to be shown in the list, it should be like this: “limit” => 3.

Filter a name from appearing in the list
You can use the “filter_users” option to prevent any name from appearing in the list. If you find anyone spamming around, you could use this. You could also prevent your own name from appearing in the list using this option. For instance, “filter_users” => “Shankar”, “Shankar Ganesh” will filter the two names Shankar and Shankar Ganesh from appearing in the list

Filter a website URL from getting into the top commentators list
You can filter any website URL from the list using “filter_urls“. Note that this will not filter the names with the associated URLs.

Display a message when no comments made
You can set a message to be displayed when nobody has started commenting yet using the “none_text” option. For example “none_text” => “No commentators yet” will display the same message under the heading ‘Top Commentators”

Link or don’t link to the commentator’s website
Set the make_links option to 2 if you don’t want to link to the commentator’s website. By default the value is 1.

Limit a name’s length
Using the name_limit option, you can limit the number of characters that’ll get displayed if you find your blog’s commentators names are too long.

Name seperators
Set the HTML code that seperates each name from the other using the start_html and end_html options. By default, it’s

Extra tip: Make the Top Commentators list appear only on the homepage
The top commentators list is usually displayed site-wide across all pages on your blog. You can make it appear only on the homepage by using this block of code:

<?php if ( is_home() ) { ?>
<?php if(function_exists(’ns_show_top_commentators’)) { ?>
<h2>Top Commentators</h2>
<ul><?php ns_show_top_commentators(); ?></ul>
<?php } ?>
<?php } ?>

Download it Now and drive traffic to your Blog: Click here to Download