Back to vBulletin 3.6 Add-ons

headStatz
Mod Version: 1.00, by Coders Shack

This modification is in the archives.
vB Version: 3.6.8 Rating: (4 votes - 4.75 average) Installs: 20
Released: 21 Oct 2007 Last Update: 21 Oct 2007 Downloads: 75
Not Supported Uses Plugins  


. . . . . . . . Brought to you by

. . . http://www.Scriptasy.com



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 members
This 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:
PHP Code:
var $defaultitems = array( 
ADD UNDER:
PHP Code:
        'headstatz'
now the mod will add zero queries.

Installation Instructions:
  1. Install Product
  2. Make your own template edits
If you like then []

Download

This modification is archived, downloads are still allowed.

File Type: %1$s headstatz.zip (3.1 KB, 69 downloads)


vblts.ru supports vBulletin®, 2022-2025