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 ?
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 ?