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

  #121  
Old 27 Feb 2012, 21:33
Fluke667 Fluke667 is offline
 
Join Date: Feb 2007
if ($styleid==XXX) {
$vbulletin->GPC['message'] = $vbulletin->GPC['message'] . "\n". "\n". "\n". "\n". "\n". "\n". "\n". "Posted via Mobile Device" . "\n";
}


This works
Reply With Quote
  #122  
Old 25 Mar 2012, 06:51
sportscolumn sportscolumn is offline
 
Join Date: Dec 2008
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
Reply With Quote
  #123  
Old 25 Mar 2012, 13:49
dartho dartho is offline
 
Join Date: Sep 2005
From the description:
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).
This one for V4 *migyt* work ... http://www.vbulletin.org/forum/showt...48#post2179248
Reply With Quote
  #124  
Old 25 Mar 2012, 15:38
sportscolumn sportscolumn is offline
 
Join Date: Dec 2008
Originally Posted by dartho View Post
From the description:


This one for V4 *migyt* work ... http://www.vbulletin.org/forum/showt...48#post2179248
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

Last edited by sportscolumn; 25 Mar 2012 at 16:59.
Reply With Quote
  #125  
Old 25 Mar 2012, 22:48
dartho dartho is offline
 
Join Date: Sep 2005
Originally Posted by sportscolumn View Post
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?
yep - give it a try
Also, where do plugins and products live on the server?

thanks
You managed to install this one? Same place - AdminCP, manage products and plug-ins
Reply With Quote
  #126  
Old 26 Mar 2012, 03:26
sportscolumn sportscolumn is offline
 
Join Date: Dec 2008
Originally Posted by dartho View Post
yep - give it a try


You managed to install this one? Same place - AdminCP, manage products and plug-ins
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?
Reply With Quote
  #127  
Old 26 Mar 2012, 04:25
dartho dartho is offline
 
Join Date: Sep 2005
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
Reply With Quote
  #128  
Old 26 Mar 2012, 18:28
sportscolumn sportscolumn is offline
 
Join Date: Dec 2008
Originally Posted by dartho View Post
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
thanks for your help.
Reply With Quote
  #129  
Old 03 Aug 2012, 11:57
Deafmute Deafmute is offline
 
Join Date: Feb 2011
works vb 3.8x?
__________________
www.herseyforum.com

Sizi Saran Herşeyin Adresi
Reply With Quote
  #130  
Old 03 Aug 2012, 14:48
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by Deafmute View Post
works vb 3.8x?
Yep... Works on mine just fine.
Reply With Quote
  #131  
Old 06 Oct 2013, 23:11
Afrika Afrika is offline
 
Join Date: Aug 2004
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??
Reply With Quote
  #132  
Old 07 Oct 2013, 06:00
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
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!
Reply With Quote
  #133  
Old 07 Oct 2013, 17:06
Afrika Afrika is offline
 
Join Date: Aug 2004
Jap, but it didnīt go for this mod. The style cannot be changed by user with a mobile device
Reply With Quote
  #134  
Old 07 Oct 2013, 17:30
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
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!
Reply With Quote
  #135  
Old 07 Oct 2013, 22:58
Afrika Afrika is offline
 
Join Date: Aug 2004
This works for 3.8
http://www.vbulletin.org/forum/showthread.php?t=249967
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:18.

Layout Options | Width: Wide Color: