The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Using is_browser with version - in a plugin
Can anyone help me with the correct syntax for using is_browser and checking the version in a plug in?
Basically I need to have a different value for IE7 (or ideally IE7 and below!). I have tried this: Code:
if (is_browser('ie,7')) |
#2
|
|||
|
|||
I was just trying to do the same in a template and found your post trying to figure it out. Just change the vb template if's to php if's
Came up with this. <vb:if condition="is_browser('ie')"> <vb:if condition="is_browser('ie',8)"> <vb:else /> IE7 and below </vb:if> </vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|