vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Change header for different forums? (https://vborg.vbsupport.ru/showthread.php?t=234768)

jl255 02-02-2010 12:58 AM

Change header for different forums?
 
I would like to change my header depending on which forum a user is in. This is to create a more unique identity for each forum. i know that i can create a new skin for each forum and assign it, but i figure that will really increase the loads as it has to load a new skin for every forum. Rather i wld just like to change the header portion. Is there a way to do that?

Tks!

Marco van Herwaarden 02-02-2010 09:33 AM

Make a new style with only the headers different. This will not influence performance.

BRotondi 03-30-2010 11:13 AM

But this would not change the header automatically, if the user changes the forum.

Isn't this possible?

Thanks!
Bruno
Edit: This one helps: Conditional Templates, so asking there for further help (Different Logos for first breadcrumb not every subforum)

Marco van Herwaarden 03-30-2010 12:05 PM

And why would that not work?

BRotondi 03-30-2010 01:30 PM

I did not found any setting "Use Style X in Forum x,y,z and Style Y in a,b,c" ...

Marco van Herwaarden 03-31-2010 08:22 AM

You can set a style in the forum settings in your AdminCP for each forum listed.

BRotondi 03-31-2010 10:07 AM

Ah! There it is :) Thanks!

But since an unnecessary restriction for users (who can select their style colour or fixed width), i prefer the solution via condition in the template header.

Unfortunately the forumid isn't known at that moment... still waiting for an alternative... (vB4: Different Logo for different Forums? (Solution for 3.8 does not work any more)

Marco van Herwaarden 04-01-2010 07:44 AM

Are you asking for vB3 or vB4?

BRotondi 04-01-2010 08:38 AM

vB4


All times are GMT. The time now is 10:27 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.01335 seconds
  • Memory Usage 1,721KB
  • 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
  • (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