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.

rushabh 02-16-2010 07:57 AM

Thanks Dartho. Your support is as stellar as your skins / hacks themselves. A+ and appreciated.

Thunderbird8 03-12-2010 08:27 PM

Some issues when (re)installing this on 3.8.5:

Quick Chooser does not display as it should (looks like the style uses option buttons when all of the default with 3.8.5 uses a dropdown...I edited this)
Edit Options is completely borked. I had to disable this section on the board I put this on because so many things screw up upon hitting Save here.
No login box for users who reach the site and aren't logged in.

dartho 03-12-2010 08:50 PM

I know "Edit Optoins" was doing weird stuff - that's why I removed the link to it from usercp. It's shouldn't be there?!

Thunderbird8 03-16-2010 11:32 PM

I checked the USERCP template, and did notice it was commenting out Edit Options. However, even though debug mode claims USERCP is called...it's as if it's ignoring it, as the entries are out of order compared to what USERCP has. Commenting out the stuff on the modifyoptions template worked to prevent it from working though.

gopherhockey 04-02-2010 01:04 AM

edit...

dartho 04-02-2010 02:13 AM

This is just a style - it doesn't discriminate between browsers mobile or otherwise ...

However, if you are talking about the detect mobile device add-on, why not just add "iPad" to the 'Useragent Exceptions' section?

sinomama 04-24-2010 03:16 PM

Thanks for the style. It's great.

How can I take away the chatbox and the forum statistics in this style, please?

dartho 04-24-2010 09:19 PM

what chatbox/statistics?

steven s 04-30-2010 04:06 PM

Can this be used with Tapatalk giving my members a choice?
Or is it one or the other?

dartho 04-30-2010 09:56 PM

yes, you should be able to use both

steven s 04-30-2010 10:37 PM

Quote:

Originally Posted by dartho (Post 2029776)
yes, you should be able to use both

Thanks. :up:

tnedator 05-03-2010 01:29 AM

Hi, I just installed this and it's great. One question though. Whenever someone posts using the mobile style, it seems to uncheck "show your signature" and people's sigs aren't showing on the posts made with this.

I find this strange, especially since the User CP has an Edit Signature option. am I missing something?

dartho 05-03-2010 04:28 AM

I don;t have a 3.7 install any more, but iof you edit the newreply and newthread templates and add
HTML Code:

<if condition="$bbuserinfo['signature'] != ''"><input type="hidden" name="signature" value="1" /></if>
in with the <input type="hidden" .... lines, it should default to showing signature, maybe, I think, possibly ....

tnedator 05-06-2010 12:30 AM

Quote:

Originally Posted by dartho (Post 2030944)
I don;t have a 3.7 install any more, but iof you edit the newreply and newthread templates and add
HTML Code:

<if condition="$bbuserinfo['signature'] != ''"><input type="hidden" name="signature" value="1" /></if>
in with the <input type="hidden" .... lines, it should default to showing signature, maybe, I think, possibly ....

Dartho, thanks for the help. That worked for the posts via reply, but not when posting via the quick reply. I've been looking and haven't figure out which template to modify to add the signature when posted via quick reply. Any ideas? Thx.

tnedator 05-06-2010 12:36 AM

Quote:

Originally Posted by tnedator (Post 2032381)
Dartho, thanks for the help. That worked for the posts via reply, but not when posting via the quick reply. I've been looking and haven't figure out which template to modify to add the signature when posted via quick reply. Any ideas? Thx.

I just found it. I was going to delete this post, but decided to leave it here in case anyone else had the same problem.

That line of code also needs to be added to SHOWTHREAD.

Thanks again for the help and nice mobile style.

afritz 06-05-2010 05:23 PM

how to delete Private Messages in this mobile style?

Extrateknik 08-22-2010 11:24 PM

Quote:

Originally Posted by dartho (Post 1602607)
You have an image resizer add-on which is interfering with the replacement variables.

If you add a new replacement variable in your Mobile style as follows:
search for: border="0" alt="" onload="NcodeImageResizer.createOn(this);" />
replace with: target="_blank">Image</a>
this might fix it for you

:up: Thanks.

ComputerVitals 09-23-2010 06:12 PM

I've installed the mobile detection and This theme.
But when I go to my site, it's super tiny.

I have to zoom in on my phone. Any ideas on what to check?
vb 3.8

dartho 09-24-2010 12:28 AM

Quote:

Originally Posted by ComputerVitals (Post 2102382)
I've installed the mobile detection and This theme.
But when I go to my site, it's super tiny.

I have to zoom in on my phone. Any ideas on what to check?
vb 3.8

Try editing the headinclude template and adding the following to the top:
Code:

<meta name="viewport" content="width=device-width,initial-scale=1.0" />

ComputerVitals 09-24-2010 12:58 AM

No Change.

Let see if I can explain it better. The wording is real tiny, There is a lot of space on the right side. Like it's stretching.

IF you go to
http://www.computervitals.com/forum/

Then select the Mobile theme. If you have a widescreen monitor, you'll see how it streches across the screen, Thats basically how it looks on my phone, but the words are super tiny.

dartho 09-24-2010 01:18 AM

Looks OK from my HTC Mini.

However, try editing the CSS and removing all occurrences of "size:1;" (make a backup of file first, you could also try increasing the size to 2)

You could also try editing the headinclude template and also adding in:

<meta name="HandheldFriendly" content="true" />
<meta name="MobileOptimized" content="width" />

SamirDarji 01-24-2011 01:00 AM

Looks interesting. Making a mental note to look at this later.

angeldevil 01-26-2011 07:43 AM

Hi dartho,
I just use your mod and I need some help from you
- How to insert Top X to this style ? I used Cyb Advanced Forum Stastics
- I also use Mobile detection, can I add "Use PC mode" in mobile style ? Switch PC mode and Mobile Mode by a Link or a button ?
eg: I can Use PC mode when I connect website via wifi.
Thanks

slobra 03-01-2011 12:38 AM

Awesome mod, thanks dartho. Question: When viewing this style and I click a username (to view their profile) the link points to http://domain.com/forums/members/username.html but when you click it, it takes you to http://domain.com/forums/members/a.html. I'm using 3.8.2 with vBSEO if that matters. I found this thread but the OP didn't post a solution.

I searched this thread but didn't find the answer. Hope someone can clue me in. :D

macgyvers 08-14-2012 11:20 AM

<i>This file was created using a different version of vBulletin from the one you are running.

Your version: 3.7.0
File version: 3.7.2</i>

what now ?

dartho 08-16-2012 12:39 PM

You need to choose to ignore the style version. But I think you may be better of with this one https://vborg.vbsupport.ru/showthread.php?t=263822 I know it's for 3.8, but I did test it on 3.7.7 successfully ... can't promise anything though!


All times are GMT. The time now is 12: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.01950 seconds
  • Memory Usage 1,825KB
  • 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
  • (2)bbcode_html_printable
  • (3)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)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