PDA

View Full Version : Get Variables


subharb
07-08-2010, 09:46 AM
Hello guys,

I would like a list of all the functions to get the info within vbulletin, like name of the actual forum, the thread, the link to the thread/forum etc etc.
I also would like the be able to print this values, how can I do that? I know how to make conditions with $forumid but not how to print that value.

thanks!

BirdOPrey5
07-09-2010, 12:56 AM
If you're in a template to 'print' a value (display it on the screen) you just type out the variable name, in your example just $forumid, put it inside any html codes you want like <div> </div> or <span> </span>.

In a php file you'd use:
echo $forumid;
but you should probably never be 'printing' from a pho file in vbulletin.