The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
Looking at the list of allowed functions in the vBulletin manual, I don't think there's a "string contains" function you can call from a template conditional, so you'd have to do that in a plugin somewhere. There is a function called "is_browser" you can call to check the browser, but it only recongnizes a certain set of browsers and iPhone isn't one of them. (The list seems to be "opera, ie, mozilla, firebird, firefox, camino, konqueror, safari, webkit, webtv, netscape, mac").
So, you could probably just use the "global_start" and set an "is_mobile" variable or something. I'll bet if you searched the web (or maybe the mods here) you can find code for checking the browser string so that you don't have to figure all that out. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|