PDA

View Full Version : statistics


Blaine0002
09-28-2005, 08:47 PM
i have this in a template, but it dosent work! the phrases work, but the totals just show up as periods! the only place this works is in forumhome.

$vbphrase[threads]: $totalthreads,
$vbphrase[posts]: $totalposts,
$vbphrase[members]: $numbermembers

any help?

CommuneZoom
09-28-2005, 08:58 PM
i have this in a template, but it dosent work! the phrases work, but the totals just show up as periods! the only place this works is in forumhome.

$vbphrase[threads]: $totalthreads,
$vbphrase[posts]: $totalposts,
$vbphrase[members]: $numbermembers

any help?

In index.php, search for


// ### BOARD STATISTICS #################################################


This code is only available in index.php. You will need to either modify each file or include that code with each file to get the same information output elsewhere.

This is untested, but that is the coding you need to look for.

Blaine0002
09-28-2005, 11:12 PM
its still on the main forum page, just a diffrent template, what files would i need to put it in o.O

Kirk Y
09-29-2005, 01:29 AM
You should probably use plugins instead of editing the actual files. But you'd need to put it wherever you're trying to get it to show up. Ie: If you're trying to put it on ForumDisplay, you'd need to edit forumdisplay.php, if you're trying to put it on a thread, edit showthread.php... etc.)

Blaine0002
09-29-2005, 01:37 AM
forumhome.

how would i go about putting this in a plugin for a custom php file?