![]() |
how do you get this to redirect for iPhones?
My buddies iPhones go to the regular site and not the mobile version. I've removed the word iPhone from Useragent Exceptions and it still pulls up the full version of the site. |
You should be able configure which skin you wish to display to iPhone devices in teh options...
|
When I turn on the exceptions list, i get this error:
Warning: preg_match() [function.preg-match]: Unknown modifier '5' in /global.php(237) : eval()'d code on line 13 |
do you have any forward slashes in the exception string? If so, escape it with a back slash. ie: "mozilla/4.0" becomes "mozilla\/4.0" Let me know if that was the issue and I'll look at updating the add-on....
thanks |
yes, there were three of them:
"Mozilla/5.0 (Linux; U; Android 0.5; en-us) AppleWebKit/522+ (KHTML, like Gecko) Safari/419.3" it now looks like: "Mozilla\/5.0 (Linux; U; Android 0.5; en-us) AppleWebKit\/522+ (KHTML, like Gecko) Safari\/419.3" and the error is gone.. (this is the Android G1 useragent i believe... just waiting on a user to test it for me to verify) |
FYI, i wonder if the comma in the useragent will make it not work since they are comma-separated?
|
Quote:
|
You don't have to have a complete useragent - you could simple have the word "Android" and that would catch it. Should probably change it to use carriage returns or '|' symbols ...
|
We've just installed this Add-On at our board, but some users prefer to choose the original style. Using a simple cookie this could be a usefull extension.
Just change the beginning of the Plugin at style_fetch Hook like this to check for an cookie: PHP Code:
PHP Code:
Perhaps it is possible to include this feature and integrate the switch.php code as plugin into vBulletin. Unfortunately I'm not very skilled in vB Plugin development. |
This is probably a veruy simple answer but I cant find it !!
I am running VBA and I did the mods you requested to removed VBA sections. Now when I look at the forum the first page is all crammed to the left. The rest of the forum looks fine. Please can you help me sort this. Thanks in advance. www.photography-forum.org |
All times are GMT. The time now is 10:31 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|