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)

Yogesh Sarkar 08-26-2010 02:15 PM

Anyone knows useragent for Android based devices, which can be added to exceptions list?

moonclamp 09-02-2010 01:26 PM

Quote:

Originally Posted by AndrewRich (Post 2065009)
I would like to add a UserCP option that allows users to override mobile detection and always use the full desktop style. I'm having difficulty figuring out where to add code for this or how to determine the UserCP variable.

I have added a User Profile field, checkbox style, defined as 'field16'. How can I determine whether the user has this checkbox checked or not when the plugin loads?

I've had a similar idea about creating a custom profile field to "turn off mobile detection" ... but like you I can't quite work out where and how to add the conditional ... I'm thinking I should add it to the user agent list plugin?

Does anyone know how?

Kingdombuilder 09-02-2010 08:54 PM

Quote:

Originally Posted by Yogesh Sarkar (Post 2089864)
Anyone knows useragent for Android based devices, which can be added to exceptions list?

This is what i did to get it to work for me:

Enable user defined device detection?
Select - yes


Custom/User Defined Useragent String:
Linux; U; Android

Then save. It worked for me i hope it works for you as well:D

CvP 09-04-2010 11:52 PM

dartho, some users like to browse full version even on mobile devices.
when this mod is enabled, even if they click the "full version" (mobile/lightweight), it doesn't work.

any solution?

Ansaar Media 09-05-2010 02:11 AM

Howe can set that users surfing with there mobile to see avatar's of other members?

Great mod

dartho 09-05-2010 02:32 AM

Quote:

Originally Posted by CvP (Post 2093896)
dartho, some users like to browse full version even on mobile devices.
when this mod is enabled, even if they click the "full version" (mobile/lightweight), it doesn't work.

any solution?

check this one and see how you go: https://vborg.vbsupport.ru/showpost....&postcount=222

moonclamp 09-05-2010 09:15 AM

Quote:

Originally Posted by dartho (Post 2093941)

Will that still work if you have an 'override' style configured for certain forums?

dartho 09-05-2010 10:41 AM

I dunno - I guess it depends at which point vBulletin overrides the style?

CvP 09-05-2010 12:16 PM

thanks!!

please add it to main post. I'm sure a lot of users will want this.

dartho 09-05-2010 12:34 PM

I just release a new version of this for VB4 here: https://vborg.vbsupport.ru/showthread.php?t=249967


All times are GMT. The time now is 08:18 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.01166 seconds
  • Memory Usage 1,734KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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