The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I just upgraded to 3.6.4 from 3.0.
In the old version I could use the php include function to process some variables and then call them in the header. For example I use this: PHP Code:
PHP Code:
But on the forums, the variables don't work. What am I doing wrong? |
#2
|
||||
|
||||
![]()
Try this format instead:
PHP Code:
|
#3
|
||||
|
||||
![]()
Closer?!? Maybe?
Using this: $vbulletin->userinfo['username']; It prints out Object now. That's better than being blank! |
#4
|
||||
|
||||
![]()
First of all, its kinda hard to help when we don't know what your trying to accomplish.
Whats the purpose in this code: ? PHP Code:
and don't put double quotes around this $vbulletin->userinfo['username']; |
#5
|
||||
|
||||
![]() Quote:
The include file is just to pull in a file I use in the design. I need the user info to include in the javascript for the Hubz program. If you aren't familiar with it Hubz is an instant messaging program. My users love it! |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|