PDA

View Full Version : Username PHP call variable ?


Mickie D
04-18-2010, 04:05 PM
Hi there I am looking for the php version of this :)

$bbuserinfo[username]

That is the template conditional that will get a username but I need to know the variable to call in the actual php file I am creating.

Thank you

borbole
04-18-2010, 07:13 PM
Hi there I am looking for the php version of this :)

$bbuserinfo[username]

That is the template conditional that will get a username but I need to know the variable to call in the actual php file I am creating.

Thank you


Try this:

$vbulletin->userinfo['username']