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 ?

Hi!

I'm Marco Rodrigues with 25 years old and I live near Viseu, Portugal.
I usually work as Web Developer / Systems Administrator, specially with Open Source technologies. I'm available to work as freelancer.

Contact me.








Subscribe to my feed

Search


    Writing

    22 articles
    127 comments

      Comments

      platforms
      wp 55
      windows 54
      linux 7
      macos 3
      sun 0

      browsers
      ie 38 
      firefox 20 
      safari 7 
      opera 6 
      chrome 4 
      bonecho 0 
      epiphany 0 
      flock 0 
      konqueror 0 
      iceweasel 0 
      lynx 0 
      netnewswire 0