The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Counting Bans Problem - Won't Show
Well I created my own page, /ban.php and I created a template for it.
The problem is, in the php file I have this Code:
// Count the total bans $totalbans = $db->query_first_slave(" SELECT COUNT(userid) FROM userban "); I've run the query in phpmyadmin and it works fine and returns 45. The problem comes when I'm using my template, I use this Code:
Total Bans: $totalbans Thanks in advance. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|