![]() |
|
Mod Options |
![]() |
|||||||||||
Mobile Phone / iPhone / PDA Detection and Style Assignment
![]() Developer Last Online: Aug 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 Only licensed members can download files, Click Here for more information. Show Your Support
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Forum Display Enhancements Mobile Phone / iPhone / PDA Detection and Style Assignment | dartho | vBulletin 3.7 Add-ons | 407 | 19 Mar 2015 14:53 |
Add-On Releases Mobile Device Style Assignment | dartho | vBulletin 3.6 Add-ons | 406 | 20 Apr 2013 23:14 |
Mobile, Cell, Phone, PDA, iPhone Style | dartho | vBulletin 3.7 Styles | 795 | 16 Aug 2012 13:39 |
Mobile Device Style Assignment | dartho | vBulletin 3.5 Add-ons | 3 | 04 Dec 2006 21:49 |
#121
|
|||
|
|||
if ($styleid==XXX) {
$vbulletin->GPC['message'] = $vbulletin->GPC['message'] . "\n". "\n". "\n". "\n". "\n". "\n". "\n". "Posted via Mobile Device" . "\n"; } This works ![]() The following members like this post: dartho
|
#122
|
|||
|
|||
I'm having a little trouble with this plugin. It works fine when I view it in Firefox and Safari but when I set my user agent to Iphone via Safari, the "switch to full style" link doesn't work.
For example, i have the fullstyle id as 3. But while this works http://forum.domain.com/index.php?styleid=3 works in firefox and safari, it doesn't work in iphone. Any suggestions? Thanks No members have liked this post.
|
#123
|
|||
|
|||
From the description:
No members have liked this post.
|
#124
|
|||
|
|||
Originally Posted by dartho
noob question. I'm running 3.8.x, are you saying I should replace the code in your product-mobdetect product with the code you linked to?![]()
Also, where do plugins and products live on the server? thanks No members have liked this post.
Last edited by sportscolumn; 25 Mar 2012 at 16:59. |
#125
|
|||
|
|||
Originally Posted by sportscolumn
yep - give it a try![]()
No members have liked this post.
|
#126
|
|||
|
|||
Originally Posted by dartho
I meant where it lives on the server. I'm used to dealing with wordpress where the themes, plugins and css files are all in a certain folder on the server.![]()
I suspect the styles are uploaded to the database in vbulletin? No members have liked this post.
|
#127
|
|||
|
|||
OK - plugins etc all live in the database also, except where you explicitly upload additional files to your server, in which case they often live in your forum root depending on where the developer wanted them (a plugins code can include external files as it's just a PHP eval)
Yep - styles are also in the database No members have liked this post.
|
#128
|
|||
|
|||
Originally Posted by dartho
thanks for your help.
![]()
No members have liked this post.
|
#129
|
|||
|
|||
works vb 3.8x?
No members have liked this post.
|
#130
|
||||
|
||||
No members have liked this post.
|
#131
|
|||
|
|||
I donīt understand why it is not possible to allow smartphone users to change to the original style.
Someone not like the mobile style and with this mod he have no chance to change, why?? No members have liked this post.
|
#132
|
||||
|
||||
If you haven't kept the style chooser you can always add a link on the forumhome page of the mobile style like www.yourdomain.com/forum/index.php?styleid=3 (where 3 would be your styleid you want them to have choice to see).
__________________
Kind regards, Simon Microsoft Office Help My Mods: Find my modifications here Please do not pm me for support unless i have invited you to! No members have liked this post.
|
#133
|
|||
|
|||
Jap, but it didnīt go for this mod. The style cannot be changed by user with a mobile device
No members have liked this post.
|
#134
|
||||
|
||||
Just add a checkbox to the mobile style and a conditional in the plugin so that when a user checks the checkbox they get excluded from the mobile style and can see the standard style.
__________________
Kind regards, Simon Microsoft Office Help My Mods: Find my modifications here Please do not pm me for support unless i have invited you to! No members have liked this post.
|
#135
|
|||
|
|||
This works for 3.8
http://www.vbulletin.org/forum/showthread.php?t=249967 No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 20:18.