The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
What does that have to do with anything?
|
#22
|
||||
|
||||
That code only works in a template. This is raw php code.
$vbulletin->userinfo['userid'] is the correct variable to use... why it's not working is the issue... probably a cookie thing, the user is being logged out/has no session on the custom page. Did you declare $vulletin to be global? |
#23
|
||||
|
||||
Quote:
HTML Code:
{vb:raw userinfo.fieldx} |
#24
|
|||
|
|||
In case anyone cares, the OP solved the problem 10 posts ago, it was the cookie path (and there was nothing wrong with the original code)
|
#25
|
||||
|
||||
|
#26
|
||||
|
||||
Quote:
Code:
{vb:raw userinfo.userid} |
#27
|
||||
|
||||
Ah, that makes a little more sense, but still for a template
|
#28
|
||||
|
||||
yeah, i didn't read the thread properly though.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|