vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Display Enhancements - Mobile Phone / iPhone / PDA Detection and Style Assignment (https://vborg.vbsupport.ru/showthread.php?t=173239)

MissKalunji 07-04-2009 04:23 AM

question

The : Custom/User Defined Useragent String

how would i write it down?

example

Android
Opera Mini

Or do i have to put commas between them?

Thanks

MissKalunji 07-04-2009 04:36 AM

Something else i notice

once i enable this : Custom/User Defined Useragent String

it switches styles for EVERYTHING....Not just the lists that i put .....

Edit : it seems like it's because i wasn't precise enough with the String like i only put : Android...i twasn't working when i put HTC_Dream Mozilla...it worked fine...

Biker_GA 07-04-2009 04:47 AM

What have you selected for mobile phones in general? Remember, this FORCES mobile devices to use the particular style defined for your mobile style.

Now, if your PC users are also getting the mobile style, you need to check the mobile style settings and ensure you have the proper styles selected for your users.

MissKalunji 07-04-2009 04:51 AM

Yeah :) my mistake was i put a comma where i shouldn't have...and it messed up the entire settings

Thanks!

ShackMaster 08-04-2009 05:56 AM

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!

dartho 08-04-2009 06:27 AM

SHack Master - look at this post: https://vborg.vbsupport.ru/showpost....&postcount=222 that may be the functionality you are after?

ShackMaster 08-04-2009 07:12 AM

So would I need the other mod by Josh if I use this?

ShackMaster 08-12-2009 02:26 AM

That does not fix my issue... actually has nothing to do with it.

I need to be able to make "Use Mobile Style" the default selection instead of "Use Standard Style".

dartho 08-12-2009 02:53 AM

You may want to contact Josh directly via PM as your issues are not to do with this modification.

The post I pointed you to has an altered product file which allows users of detected mobile devices to change to other styles if they wish and thus over-ride the detection/style enforcement.

This seems to be the functionality you were after?
eg:
  • Mobile phone user logs on, gets mobile style.
  • They can then choose to use any other style they want and will then be presented with that style from then on.
  • They can also choose to switch back to the mobile style if they wish.
  • This is device based, not user based so the same won't happen if they log on from a PC.

Quantnet 08-12-2009 03:05 AM

Yes, I'm after this modified auto detect/asign mod too ;)


All times are GMT. The time now is 04:56 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.01290 seconds
  • Memory Usage 1,735KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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