vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Different header image for each forum? (https://vborg.vbsupport.ru/showthread.php?t=112549)

GrendelKhan{TSU 04-09-2006 01:20 PM

Different header image for each forum?
 
Branding individual forums.......

How I make it so each forum has its own logo?(ie: a Different header image for each forum)

is that even possible?

so...
1. forumhome has main logo.
2. and say, top level/sub forum called "Games" (for example) has a complete differnt logo?


along the same lines... is there a way to give each forum its own, more distinctive, url? (masking, forwarding? no idea) ie. something more clean and marketable than the

www.mysite.com/forums/forumdisplay.php?f=65

that gets put out.

The goal is give each forums its own sort of "second branding" (all under the same roof, so to speak)

Princeton 04-09-2006 03:11 PM

  1. create the image(s)
  2. save image(s) will similar name; for example, header_f2.gif, header_f16.gif, header_f26.gif
  3. edit template
    HTML Code:

    <img alt="your web site name" src="$stylevar[imgdir_misc]/header_f$foruminfo[forumid].gif" width="190" height="32" border="0" />
now, when you go to forum 2 you will get 'header_f2.gif'
now, when you go to forum 6 you will get 'header_f6.gif'
now, when you go to forum 16 you will get 'header_f16.gif'

megnin 04-09-2006 11:35 PM

I put this in the "Title Image" and couldn't get it to work. Is that the wrong place to put it?

akanevsky 04-10-2006 12:16 AM

It will not work in title image. It will only works in a template.
The template you should modify is the header template.

GrendelKhan{TSU 04-10-2006 07:44 AM

Quote:

Originally Posted by Princeton
  1. create the image(s)
  2. save image(s) will similar name; for example, header_f2.gif, header_f16.gif, header_f26.gif
  3. edit template
    HTML Code:

    <img alt="your web site name" src="$stylevar[imgdir_misc]/header_f$foruminfo[forumid].gif" width="190" height="32" border="0" />
now, when you go to forum 2 you will get 'header_f2.gif'
now, when you go to forum 6 you will get 'header_f6.gif'
now, when you go to forum 16 you will get 'header_f16.gif'

AWESOME thanks for the info!
I'll go try that out and let you how it goes. :)

megnin 04-12-2006 10:06 AM

Quote:

Originally Posted by Psionic Vision
It will not work in title image. It will only works in a template.
The template you should modify is the header template.

Thank you. It works much better now. :banana:

freevisio 12-12-2006 01:16 PM

hello, how conditional needs so that a X doesn't mark when there is not an image?

firefox this well but in msexplorer show a X of image error.

ArchangelX 04-29-2007 08:48 PM

I agree with the last poster...how do you determine what the forum ID of the OVERALL forum is? I get nothing but red x's when I'm in the Main forum display.

Guest210212002 04-29-2007 10:35 PM

Quote:

Originally Posted by Princeton (Post 945319)
  1. create the image(s)
  2. save image(s) will similar name; for example, header_f2.gif, header_f16.gif, header_f26.gif
  3. edit template
    HTML Code:

    <img alt="your web site name" src="$stylevar[imgdir_misc]/header_f$foruminfo[forumid].gif" width="190" height="32" border="0" />
now, when you go to forum 2 you will get 'header_f2.gif'
now, when you go to forum 6 you will get 'header_f6.gif'
now, when you go to forum 16 you will get 'header_f16.gif'

Tagging this, thanks man.

ArchangelX 04-30-2007 02:15 AM

It works...but there's a problem with it...every other place that doesn't have a forum ID returns an image not found...which sucks. You also have to create an image for every single forum ID this way with the way the code is written.

That sucks.


All times are GMT. The time now is 11:39 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.01162 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete