Comments plugin

This plugin shows the total number of articles and comments as well as statistics about which platforms and browsers were used in comment writing. It uses icons to identify both platforms and browsers.

To install it, just unzip the file into your plugins directory. After this, activate the plugin in your WordPress blog dashboard. To finish, include the line

<?php display_comment_stats(); ?>

in whatever place in your template. Personally, I like the sidebar (sidebar.php).

The plugin doesn’t have all the platforms and browsers available, just the major ones, but it’s very easy to add any of them. Just go to your WordPress database, table wp_comments, field comment_agent, check the string and use it like the others in dcs.php file following the examples you can see there. You can see it working in this very same page. Worry not, the plugin is written in English :)

The plugin is very easy to translate to any language, just edit dcs.php file and change the few strings it has on the top. If you experience troubles installing it or have any suggestions, please leave a comment in this article. I’ll gladly help you.
Get the plugin here. If you use it, just send me an email. I’m looking forward to your feedback.

This plugin was originally created by Mario Gamito (R.I.P). I think he deserves someone to maintain it.



Who Am I ?

I'm Marco Rodrigues and I currently work in Luxembourg as System Administrator.

Contact me.








Subscribe to my feed

Search

    Writing

    26 articles
    1490 comments

      Comments

      platforms
      windows 1430
      linux 21
      macos 3
      sun 0
      wp 0

      browsers
      ie 1360 
      opera 66 
      firefox 52 
      safari 14 
      chrome 11 
      bonecho 0 
      flock 0 
      epiphany 0 
      konqueror 0 
      iceweasel 0 
      lynx 0 
      netnewswire 0