Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
  #1  
Old 02-22-2010, 12:14 AM
davio33 davio33 is offline
 
Join Date: May 2007
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Different forum catagory colors

How do i get different forumhead_background colors for seperate catagories? I am talking about the bar that lists the catagory name. In style Var it is called forumhead_background.

For example:
Forum catagory #1 = red
Forum Catagory #2 = blue

I have set up different sytles, assigned catagory to that style, but still get the defualt style throughout the site
Reply With Quote
  #2  
Old 02-22-2010, 05:57 PM
Xtrato's Avatar
Xtrato Xtrato is offline
 
Join Date: Feb 2005
Location: New Jersey
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i guess it would have to go trough the , < if > functions , such as If forum = # , then Class="forumorange" ... or something in that nature, i havent done much studying on the new style system.
Reply With Quote
  #3  
Old 02-23-2010, 04:08 AM
davio33 davio33 is offline
 
Join Date: May 2007
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

aw, that would be a pian I'm just confused, as the admin forum settings allow you ( I think ) to set syles per individual forum. But when i do as such nothing happens.

--------------- Added [DATE]1266911701[/DATE] at [TIME]1266911701[/TIME] ---------------

I went to vbulletin features listing.
http://www.vbulletin.com/index.php?do=features

It clearly states this ability, but i can not figure out how to apply it

Quote:
Ability to create multiple styles which can be applied to different forums and users
Reply With Quote
  #4  
Old 02-23-2010, 03:39 PM
Budget101 Budget101 is offline
 
Join Date: Jul 2008
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
as the admin forum settings allow you ( I think ) to set syles per individual forum.
Here's how to set different styles per individual forum:

Have you already created different styles? If So:

Admin CP > Forums & Moderators> Forum Manager > Choose forum you wish to edit > click on go > Style Options > Choose custom style > override users style choice - YES > SAVE


If you don't already have 2 different styles >

Go to Admin CP > Styles & Templates > Style Manager > ADD NEW STYLE (Located as text Link) Create a new style separate from your default style, then follow the steps above to set it to work in your forums.

:-)
Reply With Quote
  #5  
Old 03-01-2011, 07:51 AM
PJSkiboy PJSkiboy is offline
 
Join Date: Nov 2002
Location: Bowling Green, KY
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't mean to hijack a thread, but I have a very similar question and stumbled upon this thread looking for the answer myself.

Where davio33 is simply looking to change the category strip background color specific to the category (i think that's what he's been trying to say), I am looking to insert an image into the category strip specific to each category.

As seen here.

I had a mod installed on my VB3 forums that accomplished this, but I do not know of a mod yet for VB4 that accomplishes this.

Any insight?
Reply With Quote
  #6  
Old 03-02-2011, 03:30 AM
Attitude5ire's Avatar
Attitude5ire Attitude5ire is offline
 
Join Date: Feb 2006
Posts: 791
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to use conditionals and then assign seprate css class for each forumid using them.
https://vborg.vbsupport.ru/showthread.php?t=231525
Reply With Quote
Reply

Thread Tools
Display Modes

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:07 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03901 seconds
  • Memory Usage 2,204KB
  • 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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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