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

  #106  
Old 26 Feb 2011, 14:23
doubleclick doubleclick is offline
 
Join Date: Jul 2004
This is great. Thanks, dartho
Reply With Quote
  #107  
Old 20 Mar 2011, 06:45
navjotjsingh navjotjsingh is offline
 
Join Date: Feb 2006
Real name: Navjot Singh
Your plugin doesn't detect Opera Mobile properly. Adding "Opera Mobi" to custom list fixes it.
Reply With Quote
  #108  
Old 13 May 2011, 17:09
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
how would I add the playbook? I have a specific style for it
__________________
____________
BossLady
Reply With Quote
  #109  
Old 13 May 2011, 21:56
dartho dartho is offline
 
Join Date: Sep 2005
Adding "PlayBook" to the custom user agents should do it
Reply With Quote
  #110  
Old 16 Jun 2011, 17:07
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Installed on a 3.8

Sweet.
Reply With Quote
  #111  
Old 05 Sep 2011, 01:48
TacticalNuke TacticalNuke is offline
 
Join Date: Mar 2007
dartho,

Thanks for the mod. I've downloaded and am using the lightweight style. I also downloaded and installed the options and mobile detection and style assignment.

I'm having some issues with the options and style assignment. The options installs alright but none of the changes actually implement. By that I mean I can access the options under vbulletin options, but nothing happens when I change the options. When I install detection, it doesn't even show up under vbulletin options.

I tried both disabling all my other plugins and disabling them before reinstalling but neither appears to work. Do you have any ideas?
Reply With Quote
  #112  
Old 05 Sep 2011, 04:41
dartho dartho is offline
 
Join Date: Sep 2005
You're in the mobile device detection addon thread for vb3.8, there is a vb3.8 lightweoight style, but there is no "options" add-on for the "vb3.8 lightweight style", which is why they probably don't work
Reply With Quote
  #113  
Old 06 Oct 2011, 13:21
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Real name: Tim
Originally Posted by dartho View Post
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.
What coding do I need to get this to work on 3.8.4 vbacmps?
__________________
LONG LIVE 3.8 SERIES
National Arcade Competition Club- NACC All arcade edits will work on vb4.
Check out my heavily modified ibproarcade with over 50,000 games for you, free of charge!
Exclusive arcade addons, edits and skins were made by stangger5 owner of Next Level Arcade
Reply With Quote
  #114  
Old 06 Oct 2011, 16:31
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Real name: Paul
Is there a way to allow people to go back to the full style?
__________________
PowWows.com
Reply With Quote
  #115  
Old 06 Oct 2011, 17:42
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Real name: Tim
Originally Posted by pgowder View Post
Is there a way to allow people to go back to the full style?
Its an addon for this mod.
http://www.vbulletin.org/forum/showt...ghlight=Mobile
__________________
LONG LIVE 3.8 SERIES
National Arcade Competition Club- NACC All arcade edits will work on vb4.
Check out my heavily modified ibproarcade with over 50,000 games for you, free of charge!
Exclusive arcade addons, edits and skins were made by stangger5 owner of Next Level Arcade
Reply With Quote
  #116  
Old 07 Oct 2011, 00:59
dartho dartho is offline
 
Join Date: Sep 2005
Originally Posted by blind-eddie View Post
What coding do I need to get this to work on 3.8.4 vbacmps?

Edit the adv_portal template in the style and replace it's contents with the following or something similar:


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

Alternatively the adv_portal template can be edited to only show the centre column.

You can do this by removing the left and right column block conditionals in the template in your mobile style. Find and delete the following 2 blocks of code:


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


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

I've tweaked my vbadvanced templates a bit more to make them viewable in this style
Reply With Quote
  #117  
Old 13 Jan 2012, 01:01
djjeffa's Avatar
djjeffa djjeffa is offline
 
Join Date: Aug 2004
Real name: jeff
is there any way to add Posted via Mobile Device to all the posts?
__________________
www.djjeffa.com
Reply With Quote
  #118  
Old 13 Jan 2012, 05:24
dartho dartho is offline
 
Join Date: Sep 2005
This will modify the post text and append a message to it, this means that the user could then edit the post again and remove the text if they wished, but it works for the most part. Disabling the pplugins will not remove the text from posts already made.

Create 2 plugins and change the XXX to the styleid number of your mobile style:
1.
Product:vBulletin
Hook Location:newreply_post_start
Title: Posted via Mobile Device NewPost
Execution Order:5
Plugin PHP Code:

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

2.
Product:vBulletin
Hook Location:newthread_post_start
Title: Posted via Mobile Device NewThread
Execution Order:5
Plugin PHP Code:

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

Reply With Quote
  #119  
Old 20 Jan 2012, 02:03
Mythotical's Avatar
Mythotical Mythotical is offline
 
Join Date: Jun 2004
Real name: Steve
Just wanted to let you know I have tested this on vB 4.1.10 and it works perfect. Thanks.
Reply With Quote
  #120  
Old 27 Feb 2012, 21:04
Fluke667 Fluke667 is offline
 
Join Date: Feb 2007
Originally Posted by dartho View Post
This will modify the post text and append a message to it, this means that the user could then edit the post again and remove the text if they wished, but it works for the most part. Disabling the pplugins will not remove the text from posts already made.

Create 2 plugins and change the XXX to the styleid number of your mobile style:
1.
Product:vBulletin
Hook Location:newreply_post_start
Title: Posted via Mobile Device NewPost
Execution Order:5
Plugin PHP Code:

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

2.
Product:vBulletin
Hook Location:newthread_post_start
Title: Posted via Mobile Device NewThread
Execution Order:5
Plugin PHP Code:

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



i want make 5 empty lines and than "Posted via Mobile Device", but howto?


This isnt working:


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 20:33.

Layout Options | Width: Wide Color: