The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I found the below code on vbulletin.com for vb2 and was wondering if anyone knew how to make it work for 3.8 so I can display how many users on our the board outside of vb
Code:
<?php require("admin/cnfg.php"); $dbclassname="admin/db_$dbservertype.php"; require($dbclassname); $DB_site=new DB_Sql_vb; $DB_site->appname="VBulletin"; $DB_site->appshortname="VBulletin (forum)"; $DB_site->database=$dbname; $DB_site->server=$servername; $DB_site->user=$dbusername; $DB_site->password=$dbpassword; $DB_site->connect(); $numbersmembers=$DB_site->query_first("SELECT COUNT(userid) AS users FROM user"); $numbermembers=$numbersmembers[users]; echo "$numbermembers"; ?> nevermind got it |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|