Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-25-2010, 03:46 PM
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 01-06-2011, 06:38 PM
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.



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?
Reply With Quote
  #3  
Old 01-06-2011, 07:43 PM
Xtrato's Avatar
Xtrato Xtrato is offline
 
Join Date: Feb 2005
Location: New Jersey
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 01-06-2011, 08:54 PM
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 01-07-2011, 02:17 AM
Xtrato's Avatar
Xtrato Xtrato is offline
 
Join Date: Feb 2005
Location: New Jersey
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 01-07-2011, 07:58 AM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The what's going on stylevars are now secondarycontent. make your changes to those stylevars
Reply With Quote
  #7  
Old 01-07-2011, 09:52 AM
TosaInu's Avatar
TosaInu TosaInu is offline
 
Join Date: Jul 2004
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 01-07-2011, 04:39 PM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:40 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.02123 seconds
  • Memory Usage 2,222KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete