WordPress 2.x Plugins – Show Top Commentators

If you came to this plugin looking to make your website more popular, you may be interested in my latest blog, Financial Hack where I blog about the time, effort and dedication it really takes to create a six figure Internet income. And onto the plugin:

*************************************

Latest version: v1.06 [ View Change Log ]

Description:
Encourage more discussion from your readers, by displaying their names (linked to their website if desired) and number of comments they have made recently to your sidebar.

Download:
Formats Available: ZIP (~2 KB)

Installation:
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.

3a) For blogs that use widgets
At this time, the official version of this plugin does not come with built in support for widgets. (By the way, if you aren’t sure whether your blog uses widgets or not, it probably doesn’t. In that case, follow the instructions in 3b.)

However, there is a simple solution available thanks to the author of ExecPHP, another plugin that gives plugins like Show Top Commentators widget support. Here is the direct download link for ExecPHP. Once ExecPHP is uploaded and enabled, go into your widgets panel ‘Presentation’ -> ‘Widgets’ and drag ‘PHP Code 1′ from the available widgets to your sidebar. Click the configure button on the PHP Code 1 widget and in the large text area paste the following code.

<?php if(function_exists('ns_show_top_commentators')) { ?>
<li>
<ul><?php ns_show_top_commentators(); ?></ul>
</li>
<?php } ?>

Type in ‘Top Commentators’ in the first text box. Be sure to hit the SAVE button.

Additional Notice: I noticed recently that there are several other versions of the Show Top Commentators plugin that have been modified by people to allow for widget support. Nice job guys! I have not had time to look at any of these very closely yet but they may be a great alternative to using ExecPHP.

Here they are:
http://www.krizka.net/2007/08/27/show-top-commentators-widget/

http://www.4null4.de/306/show-top-commentators-sidebar-widget/

http://webgrrrl.net/archives/my-top-commentators-widget-quick-dirty.htm

http://onthewebed.com/2007/05/30/show-top-commentators-widget-for-wordpress-2x/

3b) For blogs that do not use widgets
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')) { ?>
<li>
<h2>Top Commentators</h2>
<ul><?php ns_show_top_commentators(); ?></ul>
</li>
<?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))

reset (‘hourly’, ‘daily’, ‘weekly’, ‘monthly’, ‘yearly’, ‘#’, ‘all’)
This tells the plugin how often it should reset the comment count for users. For example: If you choose monthly, only comments from the current month will be counted towards a visitors comment count. If you use an integer such as 30, it will show all commentators for the last 30 days. If you use the keyword ‘all’, it will never reset the comment counts.

limit (any positive integer (1 – infinity))
This will limit the maximum number of users you want shown.

filter_users (comma seperated list of usernames)
This will filter out any usernames you don’t want shown. For example: ‘Administrator,Admin’.

filter_user_ids (comma seperated list of user id’s)
This will filter out any user_ids you don’t want shown. For example: ‘1,2’. 1 is almost always the ‘Admin’ user.

filter_urls (comma seperated list of website URLs)
This will filter out any website URLs you don’t want shown.
Note: This does not mean a commentator that used one of these URL’s will be removed entirely from the list. Just the URL.

none_text (text)
If no commentators are available (maybe its the beginning of the month and nobody has commented yet), we can show a message instead.

make_links (1 for yes 2 for no)
When visitors make comments, they are given the option of adding their website URL with their comment.
Setting make_links to 1 will make this visitors username into a link to the website URL they added to their latest comment.
Setting make_links to 2 will turn off this feature.
If a user never provided a link with their comment, their name will simply not be linked.

number_of_comments (y=yes, n=no)
If you want to only display the commentators name and not the number of comments he/she has made, set this to ‘n’.

name_limit (any positive integer (1 – infinity))
Sometimes a commentator’s name is so long that it may wrap or even break your web page design. By limiting their name to a maximum number of characters you can avoid this problem. An ellipse is used if the commentators name is longer than the limit imposed.

start_html (html)
Allows you to wrap each commenters name/link in HTML of your choice. Default is <li>

end_html (html)
Allows you to wrap each commenters name/link in HTML of your choice. Default is </li>

5) Activate Plugin
Activate the plugin from inside the WordPress control panel.
(‘Plugins’ -> ‘Activate’)

Change Log:
v1.06 – 2008-07-05
Bug Fix: Fixed problem where 2 or more commentators with the same name would display incorrectly.

v1.05 – 2007-06-12
Bug Fix: Fixed problem where ‘filter_urls’ worked incorrectly.
Bug Fix: Fixed problem where commentators with URL’s of only ‘http://’ would incorrectly link their name.
Change: Changed the logic for retrieving a commentators URL from their most used URL to their last used URL.
New Feature: Added ability to decide whether or not to show the number of comments for each commentator.
New Feature: Added ability to filter our commentators based on their user_id.

v1.04 – 2007-03-22
Bug Fix: Fixed problem where ‘reset weekly’ option worked incorrectly. (Thanks to the commentators at John Chow’s blog for making us aware of the issue.)

v1.03 – 2007-02-09
New Feature: Added ability to specify last ‘x’ number of days for the ‘reset’ option.

v1.02 – 2005-12-10
Bug Fix: Fixed problem where commentators name/link was listed even if the comment was not yet approved.
New Feature: Added ability to specify start and end HTML to wrap commentators names/links in.

v1.01 – 2005-12-04
Bug Fix: Fixed SQL error that would occur when a commentator’s name had quotes in it.
Bug Fix: Fixed problem where pingbacks were treated as real commentators. (Thanks to Blaine Moore for bringing this to our attention)
New Feature: Added an additional option, which allows the admin to specify a maximum number of characters for a commentator’s name.

v1.00 – 2005-12-03
Plugin released under GPL license.

If you have any issues with the plugin that need to be resolved, please contact me at info@savingadvice.com

2,264 Responses to WordPress 2.x Plugins – Show Top Commentators

  1. Pingback: Plugins para WordPress - IDEON

  2. Pingback: Twenty Usability Tips for Your Blog — Condensed from Dozens of Bloggers’ Experiences | I'd Rather Be Writing

  3. Pingback: Design.Development & Technology » Blog Archive » 10 Best WordPress Plugins To Get More Traffic

  4. Pingback: Wordpress Plugins and Virb - Jordan Riane

  5. Pingback: Os Melhores Plugins para o WordPress | Blog de Tecnologia

  6. Pingback: 打造完美博客的35个WordPress插件 | wordpress主题 插件 模板 网赚

  7. Pingback: Los 72 mejores plugins wordpress.

  8. Pingback: 插件推荐(1) | 在路上

  9. Pingback: Top 10 Small Business Blog Features - Top Commentators | Prevail PRPrevail PR

  10. Pingback: 10 WordPress plugins to get more traffic | BitWebMagazine

  11. Pingback: En İyi 10 Wordpress Yorum Eklentisi | nactumu - Teknoloji ve Tasarım Blogu

  12. Pingback: Các plugin cần có cho wordpress của bạn | wWw.NgocTuan.OrG

  13. Pingback: Các plugin tốt nhất cho WordPress | All4share

  14. Pingback: Plugin nên có cho wordpress của bạn

  15. Pingback: Плагины для WordPress | Seoanalize.ru

  16. Pingback: WORDPRESS GOD: 300+ Tools for Running Your WordPress Blog • OLDP ConsultOLDP Consult

  17. Pingback: Get Traffic Free For You Free... | Download Best Free Software and Applications

  18. Pingback: 最好的wordpress插件

  19. Pingback: Các plugin tốt nhất cho WordPress – IT.PRO.VN – BLOG TIN TỨC

  20. Pingback: Os melhores plugins para wordpress - Salles Notícias

  21. Pingback: Các plugin tốt nhất cho WordPress | Vietnhi Tin tức

  22. Pingback: Plugins para wordpress

  23. Pingback: WordPress Plugins - The Most Wanted List | gonzoblog

  24. Pingback: 一百多个13个分类的WordPress留言插件 | WordPress插件网

  25. Pingback: Seja um Top Comentarista e ganhe um link - Conte Aqui

  26. Pingback: 100个Wordpress插件 | 古心

  27. Pingback: Tổng hợp các plugin tốt nhất cho website/ blog WordPress

  28. Pingback: proxy124

  29. Pingback: [转载]wordpress插件集锦 « ilovinheart

  30. Pingback: Tổng hợp các plugin tốt nhất cho WordPress

  31. Pingback: Lista de plugins importantes | Formación GVO

  32. Pingback: нгьтн6гтнгт | soft-zoom.ru

  33. Pingback: seo plugin wordpress

  34. Pingback: 50个常用的wordpress插件 | 尘封主机博客

  35. Pingback: Plugins : Os Melhores para Wordpress

  36. Pingback: Melhores Plugins para Wordpress

  37. Pingback: 【转】打造完美博客的35个WordPress插件 | yueke的博客

  38. Pingback: 12 Best Plugin For Your Wordpress Blog. | CYBERWEBKITCYBERWEBKIT

  39. Pingback: 50个最好的WordPress插件 | WordPress Tips

  40. Pingback: Tổng hợp các plugin tốt nhất cho web site/ weblog WordPress | WpTuT.Net

  41. Pingback: tổng hợp plugin cần thiết cho wordpress - wWw.CầnHọc.vn

  42. Pingback: 【转】打造完美博客的35个WordPress插件 | BabyBichu

  43. Pingback: 精选100个WordPress常用插件 | 分享 | Halex个人博客

  44. Pingback: 6 Wordpress plugins giúp tăng comments cho bài viết

  45. Pingback: 100+WordPress留言插件 | 多米诺网络资源

  46. Pingback: Plugins para o WordPress | WEBrazil 2014 – Soluções para a internet

  47. Pingback: Os Melhores Plugins Wordpress |

  48. Pingback: Các plugin tốt nhất cho Wordpress !!! 2011 | Khoa Nguyễn 's Blog | Thủ thuật | Công nghệ mới | Hoạt động xã hội ...

  49. Pingback: Os Melhores Plugins para o WordPress | senhorjc.com

  50. Pingback: WORDPRESS Плагин Show Top Commentators : Кинотеатр

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>