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)
-   -   Category Styles [Frontpage View] (https://vborg.vbsupport.ru/showthread.php?t=284413)

Karma 06-14-2012 01:55 PM

Category Styles [Frontpage View]
 
Hey everyone, does anyone know by any chance if it's possible to have the different categories each have their own style but being able to view the styles on the front page?

I'll give an example of a gaming forum. As all of you know there are different categories on a forum, each one of those categories would be a different game and each have their own forum. Now after I make a style would I be able to make it to where each category would have its own kind of style but all viewable before they actually enter it?

Let's say I have a style called Empathy. Your looking at the front page and on there you see that the Cod4 category is designed to match cod4, Diablo 3 category is designed to match Diablo, and so on with Battlefield 3 and whatnot. Any Ideas?

I know you can set the forums to have a custom style but I don't want it to have the custom style when they go in it. I want them to be able to actually see a style matching that game on the front page.

Sorry for repeating everything a few times, I'm just trying to explain it in different ways in case someone doesn't understand what im asking.

Lynne 06-14-2012 02:10 PM

Just use some CSS to modify it on the main page. All the categories have unique id tags - cat1, cat5, etc, so you can use that for your custom CSS.

betts02 06-17-2012 06:56 AM

As i use my site for my xbox 360 clan i understand what you want and mean mate BUT
With new games coming out the above would mean you changing that each time to suit the new games and/or remove the old games

What i would do is simply just add an image to the cat via admin

Karma 06-17-2012 07:18 PM

Sorry for being so late with a reply, I've been extremely busy. Thanks for the info Lynne.

@betts02, I understand where your going with that but the only thing is that I won't be needing anything for newer games. It's going to be a little network of servers but only for specific games. A new game would be voted on and I wouldn't mind at all to design a new category for that game. I'll post examples soon of exactly what I'm talking about.

Karma 12-17-2012 04:46 PM

Quote:

Originally Posted by Lynne (Post 2339540)
Just use some CSS to modify it on the main page. All the categories have unique id tags - cat1, cat5, etc, so you can use that for your custom CSS.

I would be able to use that to change the background of that section and such?

Sorry for the months long delay. Life's been pretty crazy. I'm finally stable and capable of resuming this. I just made a quick example of what I'm looking to do.

http://puu.sh/1C0FR

Lynne 12-17-2012 10:15 PM

Yes, just create some custom CSS and put the cat id in front of it (#catx) and you should be able to modify it. We really can't get more specific without a link to the site and more specifics from you about what you want done.

Karma 12-17-2012 11:41 PM

Quote:

Originally Posted by Lynne (Post 2391384)
Yes, just create some custom CSS and put the cat id in front of it (#catx) and you should be able to modify it. We really can't get more specific without a link to the site and more specifics from you about what you want done.

I will give that shot, thanks! Here is the link to the forum. Nothing on it yet. Pretty much a fresh install.

Karma

I want to do something like I made in that picture example. A different design for each category that can be displayed on the front page without having to change styles. I'll try out the css you mentioned and let you know.

Lynne 12-18-2012 05:00 PM

It looks like you are doing OK with your custom CSS.

Karma 12-19-2012 10:13 PM

Thanks, I'm just having a little issue getting the tiny logo for each section at the top. I'm going to try creating it as a PNG and raising the height and see how it goes.


All times are GMT. The time now is 02:39 AM.

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.01120 seconds
  • Memory Usage 1,726KB
  • 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
  • (9)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