The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Showing vBulletin Stats Externally
Hi,
I am looking for a plugin compatibile with 3.8.3 that will show basic stats for your forum like total threads, total posts, registered members, users online, etc. Is there anything currently or would anyone mind sharing a script that works? I found this on the forum but it doesn't work: PHP Code:
|
#2
|
||||
|
||||
That code looks like the stuff from the bottom of the index.php page. I think it should work on another page assuming the paths for the files are correct. You have stated nothing about where you want to use these stats and what the code on that page looks like or where it is in relation to your forums, so I can't comment on whether your paths are correct.
|
#3
|
|||
|
|||
Sorry Lynne, this should be going onto a normal external non-vb page. The paths are correct, but when I try to apply the code and echo the variables it shows "0" for everything. Not sure why...this code is old though.
|
#4
|
||||
|
||||
Take a look at the bottom of the index.php page and you'll see what the current code is.
|
#5
|
|||
|
|||
If the file is in a different directory to vbulletin you may need to include relevant files such as config.php, this can be done with the following:
<? include('forumdir/includes/config.php'); ?> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|