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.
I'm not sure what you mean - maybe I messed up what I meant to say. Anyway, I tried the code Hellbomb posted and didn't get any errors. I didn't try the mod you posted.
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.
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.
I do put it into a plugin and it ain't working >.> that has been my error.