skip to main content

kiesler.at

phpWSBB statistics for the needy
updated by rck, 2006-01-27

Statistics are wonderful. They tell you, what's going on. Like how much bandwidth does a site need a day, how many visitors does it have. Or on a smaller granularity: How often has a thread of a forum been viewed and who are the guys posting the most?

Alas, phpwsbb is lacking that also, like so many things. Time to change it, I said to myself. And started coding a top thread-starter, top poster and most views screen for phpwsbb. It's working, just have a look into my forums.

Obtaining and Installing it

This time, you have two options of obtaining the hack. You could work your way through the file prefered by SourceForge: The diff file. If you are a coder, you probably know what to do with it. The changes go into mod/phpwsbb/class/Manager.php. Manager.diff.gz(5427)

If you're no coder or would like to have less work, why not take the second approach? I've created a thread in my forums explaining the steps needed to get the statistics. Please read this thread then.

Usage

Using the hack is very easy. Just craft one of the three URLs in the summary of this article.

use
  • PHPWSBB_MAN_OP=top_starters for the top threads starters,
  • PHPWSBB_MAN_OP=top_posters for the top posters and
  • PHPWSBB_MAN_OP=top_viewed for the most viewed threads

Warning: top_viewed only works, if you have the visits hack installed also. How else would it find out the views of a given thread?



RSSComments - Make a comment
The comments are owned by the poster. We are not responsible for its content.
RSSAll Articles
2008, 2007, 2006, 2005, 2004

What's Related

Link Manager

Forums

Article Manager

Hacks

Latest Updates

AdministrativeTexts
updated by freddiemac1993, 2013-06-14
wiki

Re: adventures
created by brittdavis10, 2012-02-23 (1 rply, 3 views)
thread

Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3607 views)
thread

Re: Forum tags
created by HaroldFaragher, 2011-08-22 (3 rpls, 8488 views)
thread


Zu den KO2100 Foren