PDA

View Full Version : vB variables in AdminCP data entry boxes


Billspaintball
11-08-2006, 10:52 AM
Im having a little trouble here
I have a product with a data entry box in the AdminCP.
In that box I enter

Thanks $vbulletin->userinfo[username]
Test text blah, blah blah...

When the template is called the output from that is

Thanks $vbulletin->userinfo[username]
Test text blah, blah blah...

But I need it to be

Thanks Username
Test text blah, blah blah...

so, what do I enter into the adminCP data entry box in place of $vbulletin->userinfo[username] that will result in the template outputting the correct username?

Billspaintball
11-11-2006, 03:32 AM
No one?

aymelek
12-19-2010, 01:34 AM
Super old post, but did you ever get this figured out? I'm wanting to do the same thing.

BirdOPrey5
12-20-2010, 02:44 PM
It depends on the template... some places $bbuserinfo[username] will work... Though I've never heard of entering the variable name into an options box before.