The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
db query @ postbit_display_start
I'm trying to run db queries at the hook postbit_display_start, but for some reason it doesn't seem to work...
When I try this line: Code:
$foobar = $db->query_read("SELECT username FROM " . TABLE_PREFIX . "user WHERE userid = 1"); Ideas? EDIT: Nevermind, it seems it works when I use the "showthread_postbit_create" hook instead. Now I need to figure out why I get "Resource id #x" instead of the data I'm looking for... *sigh* |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|