vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=247)
-   -   Forum Style - Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) (https://vborg.vbsupport.ru/showthread.php?t=249277)

Mark Hewitt 01-17-2011 06:15 AM

Quote:

Originally Posted by dartho (Post 2149978)
give it a go with no parent (which would make teh Master style the parent which is the default style unmodified)

I've got it working now. The only difference to the above was that I uploaded the style from my PC rather then specifying a file on the server. Shouldn't make any difference but it seemed to do so in this case!

dartho 01-17-2011 08:29 AM

Good to hear it's now going as it should ...

dartho 01-17-2011 11:08 AM

@BadgerDog -

First - if you have the Lightweight STyule Options add-on installed, try adding this:
$vbulletin->options['dt_separate_sticky_normal_active']=0;
$vbulletin->options['dt_separate_sticky_normal_remove']=0;

to the code to disable add-ons section.

If that doesn't work, try editing the Separate Sticky and Normal Threads plugin for for seperate sticky/normal threads and wrap it in

if (STYLEID!=n){

existing pluginin code

}

where n is the lightweight style ID

As for teh Ads stuff, try deleting teh entire contents of the forumhome_ads_code template in the lightweight style

dartho 01-17-2011 11:25 AM

Quote:

Originally Posted by Mark Hewitt (Post 2150339)
I've got it working now. The only difference to the above was that I uploaded the style from my PC rather then specifying a file on the server. Shouldn't make any difference but it seemed to do so in this case!

Mark - I don't think it's you. Same just happened on my test site :erm: Uploading from PC = fine. Installing from file on server = messed_up :mad:

using tools.php didn;t help either!!

dhemitz 01-17-2011 01:21 PM

I'm install in vbulletin 4.1.1

It's work...!
Code:

http://m.lareosing.org
Big thanks @dartho......

BadgerDog 01-17-2011 02:02 PM

1 Attachment(s)
Quote:

Originally Posted by dartho (Post 2150407)
@BadgerDog -

First - if you have the Lightweight STyule Options add-on installed, try adding this:
$vbulletin->options['dt_separate_sticky_normal_active']=0;
$vbulletin->options['dt_separate_sticky_normal_remove']=0;

to the code to disable add-ons section.

If that doesn't work, try editing the Separate Sticky and Normal Threads plugin for for seperate sticky/normal threads and wrap it in

if (STYLEID!=n){

existing pluginin code

}

where n is the lightweight style ID

As for teh Ads stuff, try deleting teh entire contents of the forumhome_ads_code template in the lightweight style

Thanks very much Dartho ? :)

For the Separate Sticky and Normal Threads mod that some people here may be using, I didn't bother trying your fix below as I didn't quite understand where to put it, so I don't know whether it would work or not ?

$vbulletin->options['dt_separate_sticky_normal_active']=0;
$vbulletin->options['dt_separate_sticky_normal_remove']=0;

========================================

I DID DO this:

Quote:

if (STYLEID!=n){

existing pluginin code

}
? adding it to these plugins, wrapping both plugins it your code:

Quote:

Product : Separate Sticky and Normal Threads

Separate Sticky and Normal Threads parse_templates
Separate Sticky and Normal Threads threadbit_display
It worked PERFECT !!! :up:


For the ads, I did locate the forumhome_ads_code template in your lightweight style and emptied it so it was blank.

It worked PERFECT as well !! :up:

See attached pic as to how a forum with ads and stickies now appears. NO graphic ads in lightweight style now and the stickies seem fine now, yet the ads and stickies are also fine in the main default site graphics style.

Thank you very much !!!

I have sent a second PayPal donation for you help in solving these integration issues with your lightweight style ? :up:

Regards,
Doug

dartho 01-17-2011 10:18 PM

Quote:

Originally Posted by Mark Hewitt (Post 2150339)
I've got it working now. The only difference to the above was that I uploaded the style from my PC rather then specifying a file on the server. Shouldn't make any difference but it seemed to do so in this case!

It wasn't you Mark - it is a confirmed bug in vbuilletin (which they consider "trivial") that has been there since 4.0 http://tracker.vbulletin.com/browse/VBIV-3801


@Badgerdog - much appreciated :up:

PSC001 01-19-2011 03:51 AM

I just installed this style and it completely broke my forum. All my forums are completely messed up now. I tried deleting the mobile style I imported in Style Manager, but that didn't help. I don't know what I did wrong, but can someone please help?

PSC001 01-19-2011 04:37 AM

I added the mobile style via Style Manager in vBulletin, but it destroyed everything. Everything is messed up horribly. All my styling was gone, everything was stripped down and all out of wack.

I tried to re-import my old style but that reverted everything to the standard vbulletin styling.

Worse, when I go to certain subforums now, I get a blank screen, sometimes even when I try my home page.

I deleted the mobile style and deleted the css file from my root forum directory but neither changed anything.

Looking at my old main style in Style Manager, everything is in red meaning it's been overwritten.

I have no idea what do here.

PSC001 01-19-2011 05:08 AM

Figured out that the blank screen was being caused by one of the child styles I had was royally messed up. I switched that forum to a different style that seemed to be working and it's coming up now. It's just that all the styling I had done previously is gone. I've started fixing a couple things manually to create some semblance of normalcy, but it's still a giant mess.


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