The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
SOLVED cant fetch userid with bbuserinfo SOLVED
trying to fetch data from db using
$nowUser=$BBuserinfo[userid]; $data=db$->query_first("SELECT fieldEG1 FROM " . TABLE_PREFIX . "user where userid='".$nowUser."'"); but its comes up with '' empty of blank tags. tryed a test where i just went $nowUser=$BBuserinfo[userid]; and registered it into a templater and rendered it, called it in the template using vb:raw but it came up empty. so i though maybe add ' ' around userid but didnt change anything / same result.. any ideas ? --------------- Added [DATE]1263309183[/DATE] at [TIME]1263309183[/TIME] --------------- solved it $vbulletin->userinfo[userid] without the ' ' around userid works, if i add ' and ' around the result is null |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|