![]() |
Okay, can you all give me a hand possibly?
I am using vb 2.0.3 what I am trying to do is this, I want the $pminfo variable to be in the Header template...and therefore display on all the pages in the site...I have found the code that is used in index.php and I tried to copy it over to global.php, but it doesn't work that way, what am I missing, please help! James |
You just have to insert $pminfo into the header template. Nothing else is needed.
|
Quote:
jamesdasher, I don't understand why you can't put the code from index.php in global.php. Maybe you're doing something wrong? |
I added this to global.php:
Code:
$permissions=getpermissions(); Code:
if (!$header) { |
Thanks! It worked... :D
|
nothings happend m8
|
I added the code posted above to Global.php on my (under development) board but could not get it to work. I would like the PM info to display on all pages on the board in the "My Toolbox" area. You can see the board here:
http://64.78.63.86/forums/index.php Any help would be appreciated. Best, Lee |
I'm also wondering how this could work in 2.2.6.
Anyone? |
I think its already implimented
|
All times are GMT. The time now is 07: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:
|