View Full Version : [How to] Restrict code in templates to certain browsers
Using the <if> tags in vBulletin you can code your templates so they will display correctly in all browsers, hopefull this will help you solve code problems when a browser dose not render certain code correctly.
Thanks to Wayne Luke (http://www.vbulletin.com/forum/member.php?userid=868) for showing me how to do this :)
Zachery
01-09-2004, 01:04 AM
nice :)..... 10 characters
clearchannel
01-10-2004, 02:44 PM
Would someone be so kind as to explaine how I enter the code?
I am having probems with webtv and mac user's in vBulletin 3.0 RC 2
Thank you in advance.
is_browser('webtv')
is_browser('mac')
clearchannel
01-10-2004, 08:45 PM
is_browser('webtv')
is_browser('mac')
I'm sorry, I should have been more specfic.
Where would I place the <if> tag?
Do I place it in a template or do I have to add the code to one of the files I uploaded to the server.
Sorry folks, I am trying to learn...LOL
Zachery
01-10-2004, 08:46 PM
templates, this is the vBulletin tempalte site ;D
Bad Bunny
01-12-2004, 01:11 AM
sweeeeet!!!
Tony G
01-12-2004, 07:15 AM
Very nifty. Nice job. :)
Zachery
01-12-2004, 08:27 AM
ill be adding this to my tutorial on conditionals :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.