View Single Post
  #884  
Old 04-29-2012, 08:34 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djbaxter View Post
I have the vB Mobile Style as default in 4.1.12 PL1.

However, at least one member is expressing an option to use this mobile style instead.

Two questions:

1. If I add this as a mobile style it shows a number of uncached templates. How can I fix this? (If I add it as a new full style, the templates are cached but that seems like it would be confusing to users.)

2. There seems to be no way to make this the default mobile style now that the vB Mobile Style is installed, and in either this mobile style or the vB Default Mobile Style, there seems to be no way to choose an alternate mobile style - just mobile or full forum default style. How can I add this as an option?
1. Uncached templates are from vBulletin removing templates that are in teh non-mobile default (or more correctly MASTER) style. It would seem they then proc3eed to hide these templates form the style manager I think the way to reolve this would be to deleted those templates from the XML file before installing it.

2. On my test site I can happily select both this style and vBulletins Mobile style as default style for both old and/or modern mobile browsers?

In order to have links to other mobile styles, you will need to make edits to templates (probably footer) and add in links there. It would appear that vBulletin have removed the style chooser code from the mobile styles? A plugin would have to be written to create this or you may be able to manually add the code to your style.

A plugin could also be conceivably written to detect visitors viewing your CMS from this style and flick them over to vBulletins style?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01120 seconds
  • Memory Usage 1,765KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete