vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Mobile Phone / iPhone / PDA Detection and Style Assignment (https://vborg.vbsupport.ru/showthread.php?t=226946)

aspen1018 12-09-2009 02:45 PM

will this work on vb4?

aspen1018 12-09-2009 02:48 PM

just tested it works great on 4.0

thanks

dutchbb 12-10-2009 11:10 AM

Problem/bug: iphone users can't change the style with automatic style assignment set to 'no' for them alone. How do I make the style chooser show for them?

dartho 12-10-2009 08:18 PM

That's by design. It's meant to detect most devices, and then has the option of assigning alternative styles to a couple familys of phone (PDA/iPhone)

To get around this for iPhones, edit the Detect Mobile Device and Assign Style plugin and find

Code:

        "Mazingo",
        "iPhone",
        "iPod",
        "Mobile",

and replace with

Code:

        "Mazingo",
        "Mobile",


dutchbb 12-10-2009 08:53 PM

Well the mod allows me to disable the automatic style assignment for iphone, so wouldn't it be logical then to allow the user to select the style he wants on the iphone? That's why I thought it is a bug :)

But thanks I'll try that.

PS: also, when changing the style on the PC to your mobile skin, there is no quick style chooser to change it back to normal...

hurricane_sh 12-11-2009 11:25 AM

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!

dartho 12-11-2009 08:12 PM

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.

hurricane_sh 12-12-2009 07:08 AM

Weird, my forum can't detect any mobile device, no matter how I setup the options. Tested your own forum, it does work well.

dartho 12-12-2009 10:00 AM

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

hurricane_sh 12-12-2009 10:40 AM

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!


All times are GMT. The time now is 11:45 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.02307 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete