WordPress: Top Commentators Plugin Options
Mostly everyone who has a WordPress blog has started using the Top Commentators Plugin. Unfortunately, this plugin doesn’t have a preferences page so you’ve to modify its options only using the Plugin Editor available at Plugins >> Plugin Editor.
Don’t worry, modifying the options for the Top Commentators plugin isn’t that tough using the editor. It’s really easy. Let me tell you what what options are available and how you can modify them. All of these are listed at PFAdvices.
- 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 <li> and </li>.
- 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’)) { ?>
<li>
<h2>Top Commentators</h2>
<ul><?php ns_show_top_commentators(); ?></ul>
</li>
<?php } ?>
<?php } ?>
Hope you found the post useful!
-
http://daily-tech-news.blogspot.com/ Ramkarthik
-
http://sizzledcore.uni.cc/blog/ Haris
-
http://sizzledcore.uni.cc/blog/2007/06/17/speed-linking-june-17-2007/ Sizzled Core » Speed Linking – June 17, 2007
-
http://techyantra.net Beta3
-
http://techyantra.net Beta3
-
http://www.manast.com Manas
-
http://www.shankarganesh.com/ Shankar Ganesh
-
http://www.kuanhoong.com/ kuanhoong
-
http://www.shankarganesh.com/ Shankar Ganesh
-
http://www.alltipsandtricks.com/blog Simonne
-
http://www.manast.com Manas
-
http://www.brownbaron.com/blog/ Brown Baron
-
http://techie-buzz.com Techie Buzz
-
http://www.teknobites.com ram
-
http://www.shankarganesh.com/ Shankar Ganesh
-
http://www.nirmaltv.com Nirmal
-
http://www.shankarganesh.com/ Shankar Ganesh
-
http://www.avirtualexit.com Gili
-
http://blogs.mysites-advisor.com/index.php/2007/06/19/whats-other-talking-today/ What’s Other Talking Today? | Blogging on Tech, Web 2.0 and Money Making Tips
-
http://www.whoismadhur.com Madhur Kapoor
-
http://www.whoismadhur.com/2007/06/19/links-for-19-06-2007/ Madhur Kapoor’s Blog » Links for 19-06-2007
-
http://www.shankarganesh.com/ Shankar Ganesh
-
http://www.thetechieblog.net/2007/06/21/internet-tv/ Internet Tv
-
http://www.shankarganesh.com/ Shankar Ganesh
-
http://www.benh.org/techblog Benedict Herold
-
http://www.shankarganesh.com/ Shankar Ganesh
-
http://nimrodjo.com/2007/07/01/new-plugins/ NimrodJO Blog |Reviews|Edu|Tech|Wordpress » Blog Archive » New PlugIns…
-
http://webkinz-cheats.org webkinz- cheats
-
http://www.techlivez.com shashank
-
http://www.shankarganesh.com/ Shankar Ganesh
-
http://www.techlivez.com shashank
-
http://www.shankarganesh.com/ Shankar Ganesh
-
http://www.mechanicki.com Mechanicki
-
http://www.hopefulspirit.com Hopeful Spirit
-
Cristina
-
http://www.shankarganesh.com/ Shankar Ganesh
-
http://trilinearjet.wordpress.com/2007/06/17/speed-linking-june-17-2007/ Speed Linking – June 17, 2007 « Trilinearjet’s Weblog
-
http://tripinator.com Chris (Amateur Traveler podcast)
-
http://www.teenblogger.net/3-ways-to-get-more-comments-for-your-blog/ 3 ways to get more Comments for your Blog — TeenBlogger.net
-
http://thebloggingart.wordpress.com/2009/01/09/3-ways-to-get-more-comments-for-your-blog/ 3 ways to get more Comments for your Blog « The Blogging Art