Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/vhosts/textpattern.org/www/live/textpattern/lib/constants.php on line 136
gbl_blog_stats | Textpattern Resources
Content last modified Saturday 21 March 2020
hop to #bottom
Categories:
Author:
Current version:
1.0b
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

gbl_blog_stats

I have written a little plugin which can give you basic weblog statistics.

This plugin implements the following functions:
gbl_comment_count
gbl_post_count
gbl_top_comment_writer

The first two functions returning an integer value of the current counted items.

The gbl_top_comment_writer function take the basic attributs like label, limit, break and wraptag.
Per default it uses limit=5, break="br" and wraptag="p". To get an ul li based list just change this values to break="li" wraptag="ul". ;)

The output of gbl_top_comment_writer will look like:
$NAME has written $NUMBER Comments.

Article Request Count:
Initially released:
2004-04-10
Posted here:
18 Feb 2005

You know you want to visit the Archives.
Published with Textpattern