PDA

View Full Version : How to display in page?


v123shine
11-22-2014, 06:34 PM
I have create one custom vBulletin page, url: domain.com/tm_information.php

I want to display $totalthreads, $totalposts, $numbermembers and $totalonline in that custom vBulletin page? How can I do that? can someone help me, please!

Note: I'm using vb 4.2.2

Kind regads,
Shine

kh99
11-22-2014, 07:27 PM
At the beginning of your script, before you include global.php, add this line:
$specialtemplates = array('userstats');

or add userstats to the array if you already have it there. Then look in file forum.php to find how those variables are calculated, and copy the relevant code to your script.