Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-07-2008, 02:42 AM
ScottiG ScottiG is offline
 
Join Date: Jan 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Different header pics for different forum categories

Probably a completely newbie question, but is it possible to have the header image(s) change in relation to a forum's category/subcategory?

In other words, I am building an automotive forum that is NOT make/model specific, and would like the header image(s) to change with each category/subcategory - Is this possible? If so, how?

The problem is, someone with a Mustang probably wants to see something either Mustang, or at least Ford related, in the header - Not a Mitsubishi.

Thanks in advance!
Reply With Quote
  #2  
Old 03-07-2008, 02:48 AM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup it is, just make a child theme from your parent theme and customize the header (of the child theme), then go to the forum configuration and set it to the respective child themes you made.
Reply With Quote
  #3  
Old 03-07-2008, 03:08 AM
ScottiG ScottiG is offline
 
Join Date: Jan 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the unexpectedly quick reply!

I just looked in the admincp and could not find the "themes" feature you mention. Is this a 3.7 feature (I am running 3.6.8)

Thanks again!
Reply With Quote
  #4  
Old 03-07-2008, 03:36 AM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Step 1 - Make Child Theme
go to Admin CP > Styles & Templates > Style Manager and you will see the themes you have installed listed.

Say the theme name was Custom, just click the drop down menu for the Custom theme and choose Add Child Style. Name it to whatever you want and save.

Step 2 - Configure Header
You will see your child style template listed under the main one. Choose Common Templates from the child drop down menu box. You will now get the HTML code for the header, footer, etc. In the header template, edit the HTML to display your new header, whether it be changing the image itself or re-writing the entire header to suit your needs.

Save that.

Step 3 - Applying Style to Subforums
Now go to Forums & Moderators > Forum Manager

Go which ever forum you want the theme applied and click the edit button.

Go to the Style Options and choose your child style from the drop down in the Custom Style for this Forum field. I recommend overriding user choice if you don't want members to choose the theme while browsing (if you want a set theme per forum). Save the changes...Do the same for each forum respectively.


You can make any number of child themes to suit your needs. You can even make totally new custom templates and have different designs for each forum. The possibilities are endless. Also, the templates and themes are not limited to versions. Most themes can be used for many different version of vb3.x.x but there might be minor differences but the steps are the same nonetheless.


Innovative URL name btw.
Reply With Quote
  #5  
Old 03-07-2008, 03:56 AM
ScottiG ScottiG is offline
 
Join Date: Jan 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOW, that's a detailed response! Thank you VERY much!

Honestly, I did see that in the styles selections, but I was unsure what affect that feature had, but now that you have outlined it, it makes perfect sense! - Again, thank you very much!

Your site looks great! How long has it been up?
Reply With Quote
  #6  
Old 03-07-2008, 04:23 AM
Bradley_Wint Bradley_Wint is offline
 
Join Date: Jul 2007
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

4 days lol. I've been doing other things, that I didn't really have use for my copy of vb but I decided to pull it out of the dusty archives and start a little community.
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 03:34 PM.


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.04193 seconds
  • Memory Usage 2,205KB
  • Queries Executed 11 (?)
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
  • (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_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