vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Styles (https://vborg.vbsupport.ru/showthread.php?t=255889)

TosaInu 12-25-2010 03:46 PM

Styles
 
Hello,

Our board has different styles for years and that went fine. Now we are using vbulletin 4 and we've yet to upgrade once without messing all our styles up. The blue style gets some colors from the red one, the black from the green and so on. Adding a new style also creates trouble: not only is there a new style, but many already existing styles also copy something. Fixing the styles in vb 4.0 is a lot of work every time again.What's going wrong?

TosaInu 01-06-2011 06:38 PM

The last upgrade seemed to be better. But not in the first attempt. However, managing styles remain difficult and now it seems it even doesn't update manual edits in all parts.

https://vborg.vbsupport.ru/external/2011/01/44.jpg

I try for example to get the colors of the WGO box changed in VB 4.1. I go to ACP/Style Manager/Style Vars and I go to the section Forum. I scroll down and get the WGO settings.
I set What's Going On Background to a color, remove the Background image and save. Nothing happens. None of the other WGO settings appear to do anything. There's no cache and it is a vanilla install.

Any help please?

Xtrato 01-06-2011 07:43 PM

well the real style var is :

wgoheader_background

, this is the color it will be displaying , the image is located in the stylevar:

wgo_background

that is a PNG if im not mistaken , just adds that bevel illusion ..

in your stylevar box just put in : wgo , and all the CSS variables for that box will show up.

Regards

TosaInu 01-06-2011 08:54 PM

Thanks Xtrato,

The odd thing is that the changes are saved, but not visible at all?

I also had that odd behavior of styles losing their settings because of an upgrade. That happened to various versions of 4.x and on both the production and several clean testboards.

I never had any of these issues during the whole of the 3 series.

Xtrato 01-07-2011 02:17 AM

you can overwrite them on a separate style sheet , just call them from a sepearte and put the !important variable, if you need help on this let me know.

KevinL 01-07-2011 07:58 AM

The what's going on stylevars are now secondarycontent. make your changes to those stylevars :)

TosaInu 01-07-2011 09:52 AM

Hello KevinL,

Is there a recent and accurate guide for this?

I'll try those vars.

I've no idea how to do that Xtrato. It was pretty easy to have different styles, but now it got confusing and changes.

Edit: found the new stylevars and it's having effect there. Thank you KevinL.

KevinL 01-07-2011 04:39 PM

You are welcome :)

The only good guide that I know of is https://vborg.vbsupport.ru/showthread.php?t=256370 But it doesn't include the stylevars. But it does explain a lot where you may find things. I don't think any guide has really been updated to 4.1 :(


All times are GMT. The time now is 03:48 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.01602 seconds
  • Memory Usage 1,722KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete