![]() |
Help The Mentally Challenged
Hey guys I am feeling pretty darn challenged :( I need to add a browser check to my forum main page so I can serve a watered down version of our header to viewers using NS 4.xx, so I have this function
PHP Code:
ps; if this isn't where this post should be, someone please move it where it should go As always thanks for your time |
Not entirely sure what your intent is, since I briefly skimmed to the problem, but you are correct that PHP code cannot be added directly into the template.
If it is affecting the forum_home template, try placing the code in the index.php file of your forum root directory. |
you can try puttin that code in the phpinclude template. I think that is the only template that allows PHP.
|
drews is correct. Also, the forum global.php file can be used too.
|
Wow...i was right..strike up another tally for the amount of time i have been right....Hey, I am up to.... one ....now... lol.
|
I still haven't been able to figure this out :( I tried putting my function in each of the places suggested thus far and can't get it to work. So let me try & tell you what I am trying to do maybe someone can suggest a better way.
We have a header that fails (really goes to pieces) in NS 4.xx so somehow we need to determine if the viewer is useing NS 4.xx and if so serve them an alternate header (actualy an alternate set of buttons) is there some other way to do it? |
All times are GMT. The time now is 02:26 AM. |
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:
|