PDA

View Full Version : list of user globals/vars


Teenfrontcouk
03-11-2006, 05:08 PM
hi, is there a list of all vb user globals/vars?

for example : $vbulletin->userinfo['username']

i have been making a script and if i want to display a certain bit of info for the user i have had to trawl through the templates and files to find the correct var, its taking me ages lol.

so, is there a compiled list? or does someone have there own list they can share?

this would be greate and massivley time saving for me..

Thanks in advance!

Darwinist
03-15-2006, 02:08 AM
In one of your vBulletin scripts that you're working on, insert the line:
print_r($vbulletin->userinfo);

Make sure it's not a public script. Then run it. If you view the source, it makes it more readable.