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 04-09-2006, 01:20 PM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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)
Reply With Quote
  #2  
Old 04-09-2006, 03:11 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

  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'
Reply With Quote
  #3  
Old 04-09-2006, 11:35 PM
megnin megnin is offline
 
Join Date: Mar 2006
Location: Fort Lauderdale
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I put this in the "Title Image" and couldn't get it to work. Is that the wrong place to put it?
Reply With Quote
  #4  
Old 04-10-2006, 12:16 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It will not work in title image. It will only works in a template.
The template you should modify is the header template.
Reply With Quote
  #5  
Old 04-10-2006, 07:44 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 04-12-2006, 10:06 AM
megnin megnin is offline
 
Join Date: Mar 2006
Location: Fort Lauderdale
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #7  
Old 12-12-2006, 01:16 PM
freevisio freevisio is offline
 
Join Date: Sep 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 04-29-2007, 08:48 PM
ArchangelX ArchangelX is offline
 
Join Date: Feb 2006
Location: Oahu, HI
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 04-29-2007, 10:35 PM
Guest210212002
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Princeton View Post
  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.
Reply With Quote
  #10  
Old 04-30-2007, 02:15 AM
ArchangelX ArchangelX is offline
 
Join Date: Feb 2006
Location: Oahu, HI
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 12:38 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.04795 seconds
  • Memory Usage 2,254KB
  • Queries Executed 13 (?)
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
  • (3)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete