![]() |
Help adding variables to header
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? |
Try this format instead:
PHP Code:
|
Closer?!? Maybe?
Using this: $vbulletin->userinfo['username']; It prints out Object now. That's better than being blank! |
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']; |
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! |
All times are GMT. The time now is 05:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|