Register Members List Search Today's Posts Mark Forums Read

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

vB Version: 4.0.6 Rating: (25 votes - 4.88 average) Installs: 315
Released: 05 Sep 2010 Last Update: 07 Sep 2010 Downloads: 1557
Not Supported Uses Plugins Re-usable Code  

This is a direct port from my 3.x versions which detects most mobile phones, iPhones, PDAs and other mobile browsing devices and automatically presents the user with a specific vBulletin style.

The one significant addition over previous versions is that a user can now over-ride the style assignment - more information in the notes section.

This will probably work with previous versions of vBulletin (but untested)

What can it do?Detects most mobile phones and presents the user with a specific style. 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
0.5 Uninstall previous versions
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, 3.6 or 3.7 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.

See HERE for a lightweight vBulletin 4 style to go along with this addon

Version Control
1.0.0 - Initial Release
1.0.1 - Add option to enable/disable overriding style assignment.

Notes
Previous versions of this mod have forced a mobile device to a specific style, this is no longer the case! If a user now follows a link which changes the style (using a URL parameter of "styleid=xx") they will then be given that style for the rest of their session. If they close their browser and reload your site, they will then be detected again. Cookies must be enabled on the users browser for overriding detection to work

To Do
  • Add an option for users to be able to permanently NOT be detected as a mobile device or explicitly use a specified style.
  • Add more devices to detection
  • Add option to disable override globally

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
Add-On Releases Mobile Phone / iPhone / PDA Detection and Style Assignment dartho vBulletin 3.8 Add-ons 142 08 Nov 2015 00:16
Forum Style Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) dartho vBulletin 4.x Styles 1131 26 May 2015 07:50
Forum Display Enhancements Mobile Phone / iPhone / PDA Detection and Style Assignment dartho vBulletin 3.7 Add-ons 407 19 Mar 2015 14:53
Mobile, Cell, Phone, PDA, iPhone Style dartho vBulletin 3.7 Styles 795 16 Aug 2012 13:39

Comments
  #2  
Old 05 Sep 2010, 13:02
dartho dartho is offline
 
Join Date: Sep 2005
F.a.q.
Reply With Quote
  #3  
Old 05 Sep 2010, 14:13
sulasno sulasno is offline
 
Join Date: Feb 2010
tagged and thanks
Reply With Quote
  #4  
Old 05 Sep 2010, 15:19
sbsforum.us sbsforum.us is offline
 
Join Date: Feb 2009
This is great, I have been waiting for this. Thank you!
__________________
The new Android Forums & News!!
Reply With Quote
  #5  
Old 05 Sep 2010, 20:38
reefland reefland is offline
 
Join Date: Jan 2002
Tagged. Currently using the previous version with no problems.
__________________
Kentucky Wildcats Sports
Reply With Quote
  #6  
Old 05 Sep 2010, 21:01
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Real name: Paul
This version is great 'cos users can switch back to the normal style - so thank you for that

However, I have one user who says his Samsung phone is now going to the default style after the welcome page ... but it worked on the previous version - he's deleted his cache/cookies too (so he says).

Last edited by moonclamp; 05 Sep 2010 at 22:18.
Reply With Quote
  #7  
Old 05 Sep 2010, 22:39
dartho dartho is offline
 
Join Date: Sep 2005
so when he first visits, he gets a specified style, but when he clicks a link het gets the default style?
Reply With Quote
  #8  
Old 05 Sep 2010, 22:44
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Real name: Paul
Yeah pretty much.

It's a Samsung phone, so the useragent is there, he reckons he cleared his cookies and rebooted his phone too ... I wish I knew more about his phone.

Most other users are reporting no problems, except one (A nokia user) who is now stuck on the default style (I'm a Nokia user and I have no problems).
Reply With Quote
  #9  
Old 05 Sep 2010, 22:54
dartho dartho is offline
 
Join Date: Sep 2005
try giving him a link to follow to the style, ie. http://mydomain.com/forum.php?styleid=nn where nn is the style you want to display to him on his phone
Reply With Quote
  #10  
Old 05 Sep 2010, 23:04
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Real name: Paul
Originally Posted by dartho View Post
try giving him a link to follow to the style, ie. http://mydomain.com/forum.php?styleid=nn where nn is the style you want to display to him on his phone
Cheers, I'll report back
Reply With Quote
  #11  
Old 05 Sep 2010, 23:52
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Question: How many additional database queries are required by this add-on?
Reply With Quote
  #12  
Old 06 Sep 2010, 00:29
dartho dartho is offline
 
Join Date: Sep 2005
zero
Reply With Quote
  #13  
Old 06 Sep 2010, 00:37
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by dartho View Post
zero
Great. That's what I thought I was seeing but I wasn't sure how it was possible to determine the device being used without additional queries.
Reply With Quote
  #14  
Old 06 Sep 2010, 02:00
CvP's Avatar
CvP CvP is offline
 
Join Date: Aug 2006
Originally Posted by djbaxter View Post
Great. That's what I thought I was seeing but I wasn't sure how it was possible to determine the device being used without additional queries.
http://en.wikipedia.org/wiki/User_agent
Reply With Quote
  #15  
Old 06 Sep 2010, 02:17
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Oh, of course. Just a simple if... then.
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 11:44.

Layout Options | Width: Wide Color: