vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Mobile Device Style Assignment (https://vborg.vbsupport.ru/showthread.php?t=130983)

dartho 01-30-2009 08:52 PM

I couldn't see anything wrong with your forum? No mobile style was disaplyed either - I assume you removed it?

slehmann 05-12-2009 05:32 PM

Quote:

Originally Posted by edytwinky (Post 1678062)
how do you get this to redirect for iPhones?

My buddies iPhones go to the regular site and not the mobile version.

I've removed the word iPhone from Useragent Exceptions and it still pulls up the full version of the site.

having the same problem, how do you fix that?

dartho 05-13-2009 12:35 AM

It should be reasonably straight forward - in vBulletin Options, check that ipod device detection is enabled, and ensure that the style ID is correct.

I no longer have a 3.6 board. The 3.7 version of this should also work with 3.6 (as it does with 3.8) - give that a try, it has a better interface for vbulletin options settings

BlueChipEarth 06-01-2009 01:09 PM

I have a client who needs to moderate his forum from his Blackberry, so I needed to hide this style from him specifically.

I went into the plugin manager and opened up "Detect Mobile Device and Assign Style"

I changed the bottom if statements accordingly:

Code:

  if ($mobile==1 && $vbulletin->userinfo['userid'] != 27462)
  {
    //      echo "<!-- Mobile Device -->";
    $styleid=$vbulletin->options['mobile_skin'];
  }
  else if($mobile==1 && $vbulletin->userinfo['userid'] == 27462)
  {
    $styleid=1;
    $vbulletin->options['styleid'] = $styleid;
  }

  else if ($pda==1  && $vbulletin->userinfo['userid'] != 27462)
  {
    //      echo "<!-- PDA Device -->";
    $styleid=$vbulletin->options['pda_skin'];
  }
  else if ($pda==1  && $vbulletin->userinfo['userid'] == 27462)
  {
    $styleid=1;
    $vbulletin->options['styleid'] = $styleid;
  }
  else if ($ipod==1  && $vbulletin->userinfo['userid'] != 27462)
  {
    //      echo "<!-- IPOD Device -->";
    $styleid=$vbulletin->options['ipod_skin'];
  }
  else if ($custom1==1  && $vbulletin->userinfo['userid'] != 27462)
  {
    //      echo "<!-- CUSTOM1 Device -->";
    $styleid=$vbulletin->options['custom1_skin'];
  }

And it works great! Thanks, and I hope this helps someone else.

chuanjer 05-07-2010 05:52 AM

The mobile version of my forum was running smoothly till yesterday.

Lost connection to MySQL server during query

I seem to be getting a database timeout for the mobile site. Is this plugin known to have any database connection issues?

I'm running vB 3.6.8. I've tried viewing it from different phones but I get the same error.

dartho 05-07-2010 08:03 AM

this plugin has no database activity of its own

todomaquinas 04-20-2013 10:14 PM

Version 4.2.0 Tested on level 3 and it works perfectly.

Congratulations on this simple and useful Mod

A greeting.


All times are GMT. The time now is 05:56 PM.

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.01903 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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