![]() |
Getting stupid php error
Ok, for some reason I am having the hardest time adding some simple php to header include php.
I just wanna add the following, been playing with it for like 2 hours and still getting error after error. PHP Code:
|
Why not just use this https://vborg.vbsupport.ru/showthread.php?t=226946
|
You probably want to check out the mod that Simon Lloyd posted above, but I'll add that I tried the code you (hellbomb) posted (just in it's own php file, not in vB) and didn't see any errors.
|
In that case it probably needs to be used as a plug in.
|
Quote:
ETA: oh...maybe you mean that if I put hellbomb's code in a plugin I'd see errors? OK, maybe so. I guess I figured there wasn't any reason to do that unless I knew exactly where hellbomb was putting it. |
Im assuming he's trying to show a different style or and abridged version of his forum if the user is using a mobile device (which the mod i posted does perfectly), as i've never seen php used directly in the header like that it would probably be best to put the code in a plugin and use it like that.
|
Quote:
|
Quote:
|
nope
|
All times are GMT. The time now is 03:49 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:
|