vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=230)
-   -   Mobile, Cell, Phone, PDA, iPhone Style (https://vborg.vbsupport.ru/showthread.php?t=174375)

LeDuy 12-08-2009 08:04 PM

Hi, i want to disable Cyb - Advanced Forum Statistics and add Thanked for Mobile Style, so how i can do?

LeDuy 12-09-2009 10:19 AM

PHP Code:

//Disable "Cyb Advanced Forum Statistics"
$vbulletin->options['cybtopstats']=0

where Is this code wrong?

dartho 12-09-2009 09:15 PM

I assume you have thnis installed: https://vborg.vbsupport.ru/showthread.php?t=182692

I think the code you are looking for is:

PHP Code:

// disable Cyb Advanced Forum Stats 
$vbulletin->options['cybtopstats_enable_global'] = 0


LeDuy 12-13-2009 09:07 AM

Quote:

Originally Posted by dartho (Post 1928026)
I assume you have thnis installed: https://vborg.vbsupport.ru/showthread.php?t=182692

I think the code you are looking for is:

PHP Code:

// disable Cyb Advanced Forum Stats 
$vbulletin->options['cybtopstats_enable_global'] = 0


Thanks very much! It's working fine. So i want to add thanks mod to this style, how i can do?

Uberguilds 01-08-2010 11:09 PM

Thanks!

SVTCobraLTD 01-14-2010 05:51 PM

Installed on 3.6.10. Anyway to make global announcements show up?

SVTCobraLTD 01-15-2010 04:11 PM

Quote:

Originally Posted by wilson.dvb2 (Post 1657306)
thanks

i installed it , when i gives a link to my default style it shows the style link but when i click it on mobile device browser it shows mobile style again and dont change style to pc mode !!

Is there anyway around this issue with the Mobile Phone Detection add-on installed?

dartho 01-15-2010 08:50 PM

You could try this unsupported version of the mobile detect addon https://vborg.vbsupport.ru/showthrea...71#post1779571

rushabh 02-16-2010 05:58 AM

Quote:

Originally Posted by dartho (Post 1982825)
but the mobile autodetect hack overrides all others as far as changing styles go

Thanks Dartho.

So, just to confirm : If I have the mobile autodetect hack, there is no point in offering the style chooser on the mobile skin. The style chooser will get over-ruled anyways? That is, the mobile autodetect hack will continue to show the forum in the mobile skin ONLY.

And why is this option available in the "Mobile Style Options" Hack?

Quote:

What is your Mobile style?
Which style do you display to mobile device users?
If its not going to offer a style automatically to mobile users (like the auto detector does), what is the purpose of this option in the adminCP?

dartho 02-16-2010 06:37 AM

Correct - the auto-detect hack overrides any user style choice and enforces styles as configured with in the addon.

The thing to bear in mind here is that the mobile autodetect hack is a stand alone product. It has no dependencies on styles and has nothing to do with this style or it's add-on.

Now to your questipon regarding this style and the the 'Mobile Style Options' (lets call it MSO for short) add-on which goes with it.

MSO is tied to this style, it was written so that some minor changes could be made to the style which did not rely on people having to make manual template changes. The thead for MSO is here: https://vborg.vbsupport.ru/showthread.php?t=182692 and details what it does. It is not a requirement for this style, it just makes customising a few options easier to do.

Specifically, MSO asks What is your Mobile style? so it knows which style it is meant to work with and how to apply options such as hiding mobile style from style chooser and adding 'Posted by Mobile' text.


All times are GMT. The time now is 03:15 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.02108 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (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