The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Mobile Phone / iPhone / PDA Detection and Style Assignment Details »» | ||||||||||||||||||||||||
Mobile Phone / iPhone / PDA Detection and Style Assignment
Developer Last Online: Oct 2023
This add-on will detect most mobile phones, iPhones, PDAs and other mobile browsing devices and automatically for the user to a specific vBulletin style.
Release Information 1.0.1 Initial release for 3.8 ported over from 3.7 version THIS IS IDENTICAL CODE TO THE 3.7 RELEASE! I only re-released as soooo many people ask the question "is this OK for 3.8" You do not need to upgrade if you already have installed! However - should there be any changes in the future, it will likely happen here. What can it do? Detects most mobile phones and force the user to a specific style (users will not be able to select other styles from a mobile device with this add-on installed). If you have multiple styles installed which are optimized for small screen mobile devices, iPhones, WIndows Mobile devices you can assign a specific style to each of these groups. Whilst designed with mobile device users in mind, you could also assign styles to self defined browsers. For example you can assign an alternative style to Internet Explorer users whilst Firefox users get the default style. You could also assign an alternative style to Google or Yahoo spiders. Instructions: 0. Install styles which you wish to assign to Mobile/PDA/iPhone users - some links will appear at the bottom of this post 1. Download the product file 2. Install via Product Manager 3. Configure options via vBulletin Options, Mobile Device Detection (should appear at end) 4. Start browsing from your mobile device! 5. Click "Mark as Installed" If upgrading from a previous 3.5 or 3.6 version, you will need to uninstall that and the install this one. To uninstall simply uninstall the product - there are no database changes or additional files. Styles released on vBulletin which you can use: Dartho's Mobile, Cell, Phone, PDA, iPhone Style for vBulletin 3.7 (<-- yep, that's mine) ElForro's iPhone / iPod Touch Optimized Style Zachery's vB Lite Style vBMechanics Mobile Alabama Style Due to the stripped down nature of these mobile styles, you will find that most for 3.5 and 3.6 will work quite happily on 3.5, 3.6, 3.7 & 3.8 although additional features introduced in vBulletin in recent years such as Social Groups, Blogs and Photo Galleries will not show well on a small screen. All should display your actual forums well. Download Now
Show Your Support
|
Comments |
#12
|
|||
|
|||
will this work on vb4?
|
#13
|
|||
|
|||
just tested it works great on 4.0
thanks |
#14
|
|||
|
|||
Problem/bug: iphone users can't change the style with automatic style assignment set to 'no' for them alone. How do I make the style chooser show for them?
|
#15
|
|||
|
|||
That's by design. It's meant to detect most devices, and then has the option of assigning alternative styles to a couple familys of phone (PDA/iPhone)
To get around this for iPhones, edit the Detect Mobile Device and Assign Style plugin and find Code:
"Mazingo", "iPhone", "iPod", "Mobile", Code:
"Mazingo", "Mobile", |
#16
|
|||
|
|||
Well the mod allows me to disable the automatic style assignment for iphone, so wouldn't it be logical then to allow the user to select the style he wants on the iphone? That's why I thought it is a bug
But thanks I'll try that. PS: also, when changing the style on the PC to your mobile skin, there is no quick style chooser to change it back to normal... |
#17
|
|||
|
|||
For option Enable user defined device detection?
If I set Yes, forum will use mobile style for any clients including PC. If I set No, no mobile style at all. How should I setup this option? I leave it blank for "Custom/User Defined Useragent String", do I have to input something? Thanks! |
#18
|
|||
|
|||
unless you have any extra user agents to add, you should leave this blank and disabled. Enable the product, and enable mobile device detection - you can leave all other options disabled.
|
#19
|
|||
|
|||
Weird, my forum can't detect any mobile device, no matter how I setup the options. Tested your own forum, it does work well.
|
#20
|
|||
|
|||
A conflict with anotehr add-on could yield unexpexcted results. Try editing the Detect Mobile Device and Assign Style plugin and changing the execution order to 10. If that doesnt work, try changing to 1, if t hat doesnlt work..... we'll play it buy ear...
|
#21
|
|||
|
|||
Doesn't work, there are only two plugins (including this one) in the same hook, no difference to put it before or after the other plugin.
I will try to add some debug code. Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|