The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with Ban List
I've created a page in my vBulletin that will show a list of banned users. This is created when a user is banned by inserting the information into a table in the db called tsh.
Anyhow, I am trying to display this information on the page through $bannedbit, but I just can't get it to display. I am sure it's a problem with my code, but I can't figure out what it is. PHP Code:
|
#2
|
||||
|
||||
Quote:
Code:
// get banned information $getbanned = $DB_site->query_first("SELECT " . TABLE_PREFIX . "userid, username, dateline, bannedpost, reason, sentbywhom, howlong FROM tsh ORDER BY banid DESC LIMIT 30"); Code:
// get banned information $getbanned = $DB_site->query("SELECT " . TABLE_PREFIX . "userid, username, dateline, bannedpost, reason, sentbywhom, howlong FROM tsh ORDER BY banid DESC LIMIT 30"); |
#3
|
|||
|
|||
Thank you very much, that worked.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|