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)
-   -   Different forum catagory colors (https://vborg.vbsupport.ru/showthread.php?t=236539)

davio33 02-22-2010 12:14 AM

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

Xtrato 02-22-2010 05:57 PM

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.

davio33 02-23-2010 04:08 AM

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

Budget101 02-23-2010 03:39 PM

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.

:-)

PJSkiboy 03-01-2011 07:51 AM

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?

Attitude5ire 03-02-2011 03:30 AM

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


All times are GMT. The time now is 03:55 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.01438 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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