PDA

View Full Version : simple statistics output


CeesT
09-13-2009, 05:37 PM
Hi,

I am not a vbulletin software expert and need some help for the following.
I like to output some statistics to feed cacti (http://www.cacti.net). I like to do this by calling a php webpage. The output of such a webpage should be unformatted text only, so no vbulletin layout. I like to output things like: current online members and guests, current threads, posts and total members.

So basically such a page should only have one line of text like:
75 381 9909 122915 25668
(75 members online, 381 visitors online, 9909 threads, 122915 posts, 25668 members total)

I do not want to open the database myself, as I think all the data could be delivered by the vbulletin routines and probably are available as variables.

Who has an example of a small php-script that I can place on my vbulletin site ?

CeesT
09-19-2009, 02:25 PM
Who has an example of a small php-script that I can place on my vbulletin site ?
Nobody ?:erm:

Lynne
09-19-2009, 03:18 PM
These statistics are generated for the index.php page at the bottom of the page. You can probably grab the code from that page to create your script.