comments plugin
8/Nov/2008 @ 20:56 Eu, Software

This little plugin writen by your’s truly for WordPress – the most world wide blogging platform used – and approved by its stuff, 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(’duh’); ?>

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 you like. 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 lines regarding the ones I’ve inserted in the code. You can see it working in this very same page from “Escrita” down. Worry not, the downloadable version is a en_* version :)

The plugin is very easy to translate to any language. Just edit dcs.php file and change the few english strings it has on the top. If you experience troubles installing it or have any suggestions, please let me know. I’ll gladly assist you.

Get the plugin here at WordPress official site and write any comment you like in its page, not here, if you don’t mind.

Kind regards,
Mário Gamito

-MG
aqui não se atiram pás de carvão




aqui, não se atiram pás de carvão