Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mobile Phone / iPhone / PDA Detection and Style Assignment Details »»
Mobile Phone / iPhone / PDA Detection and Style Assignment
Version: 1.0.0, by dartho dartho is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.x Rating:
Released: 03-16-2008 Last Update: 03-16-2008 Installs: 957
Supported Uses Plugins
Translations  

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.

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 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.

3.6 Version can be found here

Marked as Beta until I get some feedback, and 3.7 goes Gold

Release Information
1.0.0 Initial release for 3.7 ported over from 3.6.8 version

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Don Z.

Comments
  #312  
Old 09-08-2009, 12:19 PM
CR_TurboGuy CR_TurboGuy is offline
 
Join Date: Feb 2003
Location: Iowa
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ShackMaster View Post
Josh...

I just found a bug with the UserCP Mobile Style Detection. If the "Use Standard Style" is selected, which it is by default, the only the default style of the forum can be used for members.

For example: I have several styles that users can select from. The default is a fluid 100% style. An option is the fixed 1024px wide style. If I have "Use Standard Style" selected in the UserCP for the Mobile Style Detection, then changing the style from 100% fluid to any of the other fixed styles does not work. However, if I change the Mobile Style Detection to "Use Mobile Style", the other styles will work.

Reckon how we can fix this? Or maybe have it default to "Use Mobile Style" for all members, unless specifically selected.

Thanks!
Ok, I think if I'm understanding the correctly, you are saying that it defaults to using the standard style, and you want it to default to using the mobile style, correct? If so, then change the order of the options for the profile field, so that 'Use Mobile Version' is the first option.

As to being able to choose other styles when the 'Use Standard Style' is set, I think that is because my mod uses the styleid set in the 'Mobile Device Detection' settings for the 'custom' device type. You might try changing the
Code:
if($vbulletin->userinfo['field8'] == 'Use Standard Version')
    {
          $custom1=1;
    }
to
Code:
if($vbulletin->userinfo['field8'] == 'Use Standard Version')
    {
          $except_browser=1;
    }
then I would think that it would use whatever style is the default for the board.

Let me know if I'm way off base on my assumptions & I'll try to figure out how to get things working. Just FYI thought, if you couldn't tell by my forum, I run a haunted house & this time of year I'm pretty busy, so it may take a little to get back to you.


--JOsh

Edit - I'm attaching the XML file with the changes that I mentioned above.
Reply With Quote
  #313  
Old 09-17-2009, 07:56 PM
Joey Link Joey Link is offline
 
Join Date: Aug 2008
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance in a future version you could give the user the option of viewing the mobile style or the full version? That would be ideal for me, as many iphone users view the full version but some prefer the mobile. It'd be nice to alert all mobile users that there is a mobile option.
Reply With Quote
  #314  
Old 09-17-2009, 09:12 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Joey - have a look at the 3 posts preceding yours which have 3 ways of doing this.
Reply With Quote
  #315  
Old 09-18-2009, 01:29 AM
Kottonmouth801's Avatar
Kottonmouth801 Kottonmouth801 is offline
 
Join Date: Apr 2009
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Dartho,

I was "chatting" with you in the mobile skin forum.

I am still having an issue with 3.8.2 conflicting with this mod when you try to register from a mobile device.

Although I.... Am not complaining because I can read that this was designed for 3.7.

But......

I love this mod and have been using it on 3.8.2 for quite sometime and have been extremly pleased.

I recently added a Registration button to the the mobile skin and this is when I found the bugg.

The bugg is definitly with this modification not the skin.

Will not let you register from a mobile device.

I also tried to turn captcha off but this did not help either...?

Any Ideas???

Thanks...
Reply With Quote
  #316  
Old 09-18-2009, 08:08 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry - your problem lies elsewhere. My test site is currently 3.8.2 and this mod coupled with the mobile style have no (no visual) issues with registering a new user.
Reply With Quote
  #317  
Old 09-18-2009, 04:10 PM
Kottonmouth801's Avatar
Kottonmouth801 Kottonmouth801 is offline
 
Join Date: Apr 2009
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello dartho,

May I ask which skin you are using?

Because I just tested it on a test board (3.8.2) and it doesn't work there either.

But... When I turn this modification off it works just fine to register from a mobile device..

Also.....

I noticed that your mobile skins do not have a registration option on them.

Do you have any suggestions?
Reply With Quote
  #318  
Old 09-18-2009, 09:32 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using my mobile style (https://vborg.vbsupport.ru/showthread.php?t=174375)

I didn't add a register button/link as I never intended for people to register via it. However on my 3.8.2 test site which has ONLY my mods installed, it has no issues (also only uses Q&A human verification)

Sorry - no other suggestions other than those already made.
Reply With Quote
  #319  
Old 09-21-2009, 07:22 AM
Kottonmouth801's Avatar
Kottonmouth801 Kottonmouth801 is offline
 
Join Date: Apr 2009
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have tracked conflict down.

I beleive it is conflicting with this mod.

https://vborg.vbsupport.ru/showthread.php?t=183917

Really wanted to continue using this mod instead of creating .m site

Thanks for your time.

:up:
Reply With Quote
  #320  
Old 09-21-2009, 07:47 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Goodo - do you have the mobile add-on installed? (https://vborg.vbsupport.ru/showthread.php?t=182692)

if so, adding the following code to the disable addons section should disable the 'stop registration bots' addon in when in the mobile style
Code:
//disable "Stop the Registration Bots"
$vbulletin->options[StopBotReg_enable]=0;
Reply With Quote
  #321  
Old 09-21-2009, 04:27 PM
Kottonmouth801's Avatar
Kottonmouth801 Kottonmouth801 is offline
 
Join Date: Apr 2009
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:up:

Awesome....!!!!!!!

I turned my data program off this month on my phone to try to save a few dollars.

So.. when my wife gets home I will test code with her phone.

I will keep you posted on the results.

Also.... do you think many robots will get around on the mobile skin?

I am stll "scratching my head" about robots on the mobile side.

hmnnnn......

I will let you know.

Thanks....!!!!!!!
:up:

"Also"

I dont beleive I have this mod installed https://vborg.vbsupport.ru/showthread.php?t=182692 and..... I am confused on why I would need it?
Reply With Quote
Reply


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


All times are GMT. The time now is 06:50 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05314 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete