Coders Shack
10-20-2007, 10:00 PM
value. . . . . . . . Brought to you by
https://vborg.vbsupport.ru/
. . . http://www.Scriptasy.com
value
Installation Time: < 5 mins
Product: 1
Files: 1
VB Version: 3.6.X
Description:
I wanted to display the current amount of guests and users online without adding any stressful queries. So basically this mod provides the following variables you can use globally in templates:$hsz[guests] - shows the current count of guests online
$hsz[gphrase] - is the word guest or guests deturmined by how many guests are online
$hsz[members] - shows the current count of members online
$hsz[mphrase] - is the word member or members deturmined by how many members are online
$hsz[total] - is the total amount of guests and members online
$hsz[totalthreads] - total forum threads
$hsz[totalposts] - total forum posts
$hsz[totalmembers] - total forum membersThis does add one query to every page, buts its a harmless query. If you would like to remove the query you can make the following file edit:
FILE: /includes/class_core.php
FIND: var $defaultitems = array(ADD UNDER: 'headstatz',now the mod will add zero queries.
Installation Instructions:
Install Product
Make your own template editsIf you like then [Mark As Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=160764)]
https://vborg.vbsupport.ru/
. . . http://www.Scriptasy.com
value
Installation Time: < 5 mins
Product: 1
Files: 1
VB Version: 3.6.X
Description:
I wanted to display the current amount of guests and users online without adding any stressful queries. So basically this mod provides the following variables you can use globally in templates:$hsz[guests] - shows the current count of guests online
$hsz[gphrase] - is the word guest or guests deturmined by how many guests are online
$hsz[members] - shows the current count of members online
$hsz[mphrase] - is the word member or members deturmined by how many members are online
$hsz[total] - is the total amount of guests and members online
$hsz[totalthreads] - total forum threads
$hsz[totalposts] - total forum posts
$hsz[totalmembers] - total forum membersThis does add one query to every page, buts its a harmless query. If you would like to remove the query you can make the following file edit:
FILE: /includes/class_core.php
FIND: var $defaultitems = array(ADD UNDER: 'headstatz',now the mod will add zero queries.
Installation Instructions:
Install Product
Make your own template editsIf you like then [Mark As Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=160764)]