The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
|||
|
|||
![]()
Okay I have this code:
Code:
$result = mysql_query("SELECT COUNT(userid) FROM userban WHERE adminid = '1'") or die(mysql_error()); while($r=mysql_fetch_array($result)) { vB_Template::preRegister('header', array('bancount' => $r['userid'])); } Code:
{vb:raw bancount} Product: vbulletin Hook Location: global_start It's not displaying a number or any error on the page at all. I was trying global_start as per your suggestion but is there some sort of method I need to be using to try and find the correct hook location or is this a problem with how the code is written? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|