![]() |
How can I give the option to choose the PC version of the site? Some users do not like the mobile version.
|
Quote:
https://vborg.vbsupport.ru/showpost....&postcount=283 --JOsh |
Quote:
|
Does this work on vb4? i've installed it but doesn't work for users on phones :(
|
Yo! Dartho! Down here!
Any plans on porting this jewel over to 4.0x? My users (namely the rich ones who have iPhones and Androids) are clamoring for the mobile style. Yet, vB sees the OS as a Desktop OS and gives 'em the default style for the site. This little jewel allows me to force those fancy mobile devices to the mobile style, which my mobile users prefer. |
Quote:
|
Hi dartho, thanks for such a godsend suite of mobile goodness!
I am blind and the rest of this post was redundant - sorry about posting for help - the options were further up - my congratulations on great mods, support and attitude stand! Will |
Quote:
Quote:
|
Quote:
|
Perfect! I'll give it a shot and report back if I run into any issues. :D
|
Quote:
--JOsh |
I added "Pre" to the custom definitions list. You asked us to report it here, so you here go :)
|
Problem is, putting "Pre" in the custom definitions causes all "Presto" browsers to be detected as mobile.
Is there any other way? This is the Palm Pre's useragent: Mozilla/5.0 (webOS/1.4.0; U; en-CA) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.0 |
Hmm I'll try "WebOS"
|
For those interested in fixing this so iPads don't see the mobile version of your site, find this bit of code and simply add "iPad" too it.
This of course assumes you are making an exception for iPhones already. It would be nice to have this as a separate setting. Code:
$ipodbrowsers = array( |
given the iPad's screen resolution, you'd be best off adding it to the user agent exceptions section ...
|
Quote:
Quote:
By the way Skyfire is probably the only way to watch flash videos and flash streaming on Windows Mobile and Symbian |
This addon disables the manually Style choice in vb 3.8.5. Anybode else has the same problem?
|
Quote:
|
@Wings69 - add the word ipad to the user agent exceptions section.
|
Quote:
tried that, doesnt work do what dartho says above, that works again, this works well on vb4 |
Quote:
Secondly can you explain a bit more how to use this addition? Do I need to enable custom Style Selection for the user? I'm using your mod in conjunction with custom PHP code.. basically I'm serving a different PHP header and footer if they come from a mobile device, using your code: PHP Code:
Everything works great, I'm just not quite sure how to modify the detector to allow people to choose the desktop style when they are on a mobile device |
Styles have to be user selectable, but you don;t have to "Allow users to change styles"
|
Quote:
|
I'm not sure I understand where you are having a problem - if you want them to change styles, then allow them to change styles?
|
Quote:
|
OK , now I see - you're having trouble with your plugins.
What you've got only checks their device - you probably need to set some flag or cookie when they change styles so you know if they are using your desktop or mobile headers/footer. |
vb 4.1.3 have built in mobile detection, any problem to run your mod together with it?
|
this one would probably override the built in one?
|
We're on 3.8 and adding 'ipad' to the exclusion list doesn't seem to be working for us - it's still forcing Ipad users to the mobile skin. Any ideas? I'm assuming capitalization doesn't matter (ie..'IPad' vs ''ipad' vs 'Ipad')?
|
can;t remember if it is case sensative, but did you try 'iPad' and also ensured excpetions are enabled - also if you have more than ob exception, try iPad only; check no spaces between commas etc.
|
it's not case-sensitive, I'm just embarrassed to admit that I didn't have the exclusion option turned on. Details - they're a *****! :) Worked fine once I did that.
|
Dartho...I've got a user with a Nokia N900 who wants to be excluded... any idea what 'user string agent' I need to insert to exclude that model?
|
the UA is "Mozilla/5.0 (X11; U; Linux armv7l; en-GB; rv:1.9.2a1pre) Gecko/20090928 Firefox/3.5 Maemo Browser 1.4.1.21 RX-51 N900", so i think N900 should do it or 1.9.2a1pre
It uses a Firefox browser, so you could also make all firefox browsers excluded by adding Firefox to teh exclusions? |
N900 worked like a charm. Thanks!
|
|
Disable "Enable user defined device detection" and/or remove the word "Firefox" from the "Custom/User Defined Useragent String"
|
Quote:
is this mod still work if i choose Disable "Enable user defined device detection"? Thank you Best Regard |
Yes - the mod will still work
|
Any one experiencing issues with the iphone 4 for this mod?
Works a treat on android but on iphone it just shows the normal full view style and not the mobile specific style. Suggestions appreciated. |
All times are GMT. The time now is 05:48 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:
|