The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how to echo thing rorm the vbulletin var
Hi,
I trying to use the $vbulletin var. But i dont understand how i can use this array. When i echo something like $vbulletin->userinfo["username"] there is no problem. But when i try to echo $vbulletin->appname["lastvisit"] this most echo a mysql query i get nothing. A other: When i try $vbulletin->session["location"] i get the follow message: Cannot use object of type vB_Session as array in Is there someone who can tell me how i can use this array ? Best reagrds |
#2
|
|||
|
|||
You can "echo" as mysql query...
I recommend you learn the basics of PHP (OOP & MySQL interaction will also be helpful) before you attempt to manipulate vBulletin. $vbulletin is an object not an array. |
#3
|
|||
|
|||
Yes maybe your right i need to know a lot more about OOP....
|
#4
|
||||
|
||||
Also note that OOP functionality has changed significantly from PHP 4 to 5.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|