The Arcive of vBulletin Modifications Site. |
|
|
[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 for showing me how to do this
|
|
#2
|
||||
|
||||
|
nice
..... 10 characters
|
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
Code:
is_browser('webtv')
is_browser('mac')
|
|
#5
|
|||
|
|||
|
Quote:
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 |
|
#6
|
||||
|
||||
|
templates, this is the vBulletin tempalte site ;D
|
|
#7
|
||||
|
||||
|
sweeeeet!!!
|
|
#8
|
||||
|
||||
|
Very nifty. Nice job.
|
|
#9
|
||||
|
||||
|
ill be adding this to my tutorial on conditionals
|
![]() |
|
|