Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Mobile Phone / iPhone / PDA Detection and Style Assignment Details »
Mobile Phone / iPhone / PDA Detection and Style Assignment
Mod Version: 1.0.1, by dartho (Coder/Designer) dartho is offline
Developer Last Online: Aug 2023 I like it Show Printable Version Email this Page

vB Version: 3.8.4 Rating: (10 votes - 5.00 average) Installs: 304
Released: 28 Oct 2009 Last Update: Never Downloads: 2081
Supported Uses Plugins  

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

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
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

  #91  
Old 26 Aug 2010, 15:15
Yogesh Sarkar's Avatar
Yogesh Sarkar Yogesh Sarkar is offline
 
Join Date: Jan 2007
Anyone knows useragent for Android based devices, which can be added to exceptions list?
__________________
India Travel Forum | My Blog
Reply With Quote
  #92  
Old 02 Sep 2010, 14:26
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Real name: Paul
Originally Posted by AndrewRich View Post
I would like to add a UserCP option that allows users to override mobile detection and always use the full desktop style. I'm having difficulty figuring out where to add code for this or how to determine the UserCP variable.

I have added a User Profile field, checkbox style, defined as 'field16'. How can I determine whether the user has this checkbox checked or not when the plugin loads?
I've had a similar idea about creating a custom profile field to "turn off mobile detection" ... but like you I can't quite work out where and how to add the conditional ... I'm thinking I should add it to the user agent list plugin?

Does anyone know how?

Last edited by moonclamp; 02 Sep 2010 at 14:47.
Reply With Quote
  #93  
Old 02 Sep 2010, 21:54
Kingdombuilder's Avatar
Kingdombuilder Kingdombuilder is offline
 
Join Date: Oct 2009
Talking

Originally Posted by Yogesh Sarkar View Post
Anyone knows useragent for Android based devices, which can be added to exceptions list?
This is what i did to get it to work for me:

Enable user defined device detection?
Select - yes


Custom/User Defined Useragent String:
Linux; U; Android

Then save. It worked for me i hope it works for you as well
Reply With Quote
  #94  
Old 05 Sep 2010, 00:52
CvP's Avatar
CvP CvP is offline
 
Join Date: Aug 2006
dartho, some users like to browse full version even on mobile devices.
when this mod is enabled, even if they click the "full version" (mobile/lightweight), it doesn't work.

any solution?
Reply With Quote
  #95  
Old 05 Sep 2010, 03:11
Ansaar Media Ansaar Media is offline
 
Join Date: May 2010
Howe can set that users surfing with there mobile to see avatar's of other members?

Great mod
Reply With Quote
  #96  
Old 05 Sep 2010, 03:32
dartho dartho is offline
 
Join Date: Sep 2005
Originally Posted by CvP View Post
dartho, some users like to browse full version even on mobile devices.
when this mod is enabled, even if they click the "full version" (mobile/lightweight), it doesn't work.

any solution?
check this one and see how you go: http://www.vbulletin.org/forum/showp...&postcount=222
Reply With Quote
  #97  
Old 05 Sep 2010, 10:15
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Real name: Paul
Originally Posted by dartho View Post
Will that still work if you have an 'override' style configured for certain forums?
Reply With Quote
  #98  
Old 05 Sep 2010, 11:41
dartho dartho is offline
 
Join Date: Sep 2005
I dunno - I guess it depends at which point vBulletin overrides the style?
Reply With Quote
  #99  
Old 05 Sep 2010, 13:16
CvP's Avatar
CvP CvP is offline
 
Join Date: Aug 2006
thanks!!

please add it to main post. I'm sure a lot of users will want this.
Reply With Quote
  #100  
Old 05 Sep 2010, 13:34
dartho dartho is offline
 
Join Date: Sep 2005
I just release a new version of this for VB4 here: http://www.vbulletin.org/forum/showthread.php?t=249967
Reply With Quote
  #101  
Old 05 Sep 2010, 14:30
CvP's Avatar
CvP CvP is offline
 
Join Date: Aug 2006
Arrow

Originally Posted by dartho View Post
I just release a new version of this for VB4 here: http://www.vbulletin.org/forum/showthread.php?t=249967
cool. so I should uninstall this one:
Originally Posted by dartho View Post
and install the new vb4 one?
Reply With Quote
  #102  
Old 06 Sep 2010, 12:01
dartho dartho is offline
 
Join Date: Sep 2005
Correct!
Reply With Quote
  #103  
Old 18 Sep 2010, 20:24
analog-x analog-x is offline
 
Join Date: Nov 2005
This is awesome man!!!!
Reply With Quote
  #104  
Old 21 Dec 2010, 18:01
SorentoUltimate's Avatar
SorentoUltimate SorentoUltimate is offline
 
Join Date: Jul 2009
Real name: Giorgos
Question

Hi dartho,

thanks for the perfect addon.

I have a problem, i using HTC Touch HD, i enable user defined device detection, in User Defined Useragent String i put HTC_Touch_HD_T8282 Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11)

After that i take the error Warning: preg_match() [function.preg-match]: Unknown modifier '4' in [path]/global.php(238) : eval()'d code on line 78.

Can u Help me on that?
Reply With Quote
  #105  
Old 21 Dec 2010, 22:30
dartho dartho is offline
 
Join Date: Sep 2005
Just put in HTC_Touch_HD_T8282, although that looks llike it should be detected anyway
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:53.

Layout Options | Width: Wide Color: