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 2020 I like it Show Printable Version Email this Page

vB Version: 3.8.4 Rating: (10 votes - 5.00 average) Installs: 301
Released: 28 Oct 2009 Last Update: Never Downloads: 2040
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

  #16  
Old 11 Dec 2009, 12:25
hurricane_sh hurricane_sh is offline
 
Join Date: Oct 2004
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!
Reply With Quote
  #17  
Old 11 Dec 2009, 21:12
dartho dartho is offline
 
Join Date: Sep 2005
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.
Reply With Quote
  #18  
Old 12 Dec 2009, 08:08
hurricane_sh hurricane_sh is offline
 
Join Date: Oct 2004
Weird, my forum can't detect any mobile device, no matter how I setup the options. Tested your own forum, it does work well.
Reply With Quote
  #19  
Old 12 Dec 2009, 11:00
dartho dartho is offline
 
Join Date: Sep 2005
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...
Reply With Quote
  #20  
Old 12 Dec 2009, 11:40
hurricane_sh hurricane_sh is offline
 
Join Date: Oct 2004
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!
Reply With Quote
  #21  
Old 12 Dec 2009, 17:56
hurricane_sh hurricane_sh is offline
 
Join Date: Oct 2004
Fixed the problem, may be because I set the mobile style as 'not allow use selection'. Now I use your another mod to hide the mobile styple from the style chooser.

Thanks for your great work!
Reply With Quote
  #22  
Old 28 Dec 2009, 02:35
EWGF EWGF is offline
 
Join Date: May 2007
Thank you, this works great!
Reply With Quote
  #23  
Old 01 Jan 2010, 12:11
ma3ali.net ma3ali.net is offline
 
Join Date: Aug 2006
Thank you.
It worked great on iPhone and Java based mobile phones..

However, it didn't work on HTC HD2 which is a windows based mobile. It has 2 browsers (IE and Opera). Both didn't work.
Reply With Quote
  #24  
Old 01 Jan 2010, 13:08
ma3ali.net ma3ali.net is offline
 
Join Date: Aug 2006
Originally Posted by ma3ali.net View Post
Thank you.
It worked great on iPhone and Java based mobile phones..

However, it didn't work on HTC HD2 which is a windows based mobile. It has 2 browsers (IE and Opera). Both didn't work.
solved by adding HTC_Touch_HD_T8282 to the custom user agents.
Reply With Quote
  #25  
Old 22 Jan 2010, 20:29
egclive egclive is offline
 
Join Date: Dec 2009
will this be available for vb 4x
Reply With Quote
  #26  
Old 27 Jan 2010, 12:03
doopz doopz is offline
 
Join Date: Feb 2003
Hmm, when I login using my phone I go to the normal default style again.. any fix for this?
Reply With Quote
  #27  
Old 02 Feb 2010, 06:41
Kingdombuilder's Avatar
Kingdombuilder Kingdombuilder is offline
 
Join Date: Oct 2009
This works great on 4.0.1 for me... I do however need alittle help. It does not show the home screen well bet shows the forum awesome. Is there a way in the detection to get it to go straight to the forum with out fist going to the home page.

In the settings I set the home page as the forum so it works great as far as once the home link is hit. I just need theat little extra whatever to get me to the forum page when it first load up. Any help would be greatly appreciated. Once this is solved it can be set to 4.0.1 mod as well...

By the way this is a great mod...
Reply With Quote
  #28  
Old 02 Feb 2010, 08:23
dartho dartho is offline
 
Join Date: Sep 2005
what is your current default page - vBulletin CMS, vBAdvanced, Custom?
Reply With Quote
  #29  
Old 02 Feb 2010, 16:37
Kingdombuilder's Avatar
Kingdombuilder Kingdombuilder is offline
 
Join Date: Oct 2009
Originally Posted by dartho View Post
what is your current default page - vBulletin CMS, vBAdvanced, Custom?
Well it was the CMS page, but i redirected it to the forum page from my site control panel. The only thing is that all visitors are bypassing the front CMS page. I just want the mobile surfers to by pass. If there is an adjust that I can make then i can lift the redirectand allow things to take their course. I'm truly grateful for your help bruh, thank you...
Reply With Quote
  #30  
Old 02 Feb 2010, 21:18
dartho dartho is offline
 
Join Date: Sep 2005
Try this:

Edit the vbcms_page template in the mobile style and replace


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with something like


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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 01:24.

Layout Options | Width: Wide Color: