vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Forum Specific Logos (https://vborg.vbsupport.ru/showthread.php?t=62026)

Michael Morris 02-29-2004 04:39 AM

Forum Specific Logos
 
Hello. I'm trying to figure out a way to change the logo used in the header depending on the forum the user is viewing. I want the same logo to appear regardless of the current style (I'm well aware that individual forums can have their own styles).

I think the best way to do this is to include the forum number in the filename of the .gif image that contains the logo. Hence

<img src="./images/logos/enworld[$vboptions(forum)].gif"> or something along those lines. Hence enworld1.gif would be for forum #1, enworld87.gif would be forum #87 and so on.

But what variable do I need to query in the header template to do this?

Zachariah 03-01-2004 01:19 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=61555" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=61555</a>

You can take the <if></if> statement added to the ForumsDisplay template and place it in the header / footer template and it will show up also.

Michael Morris 03-03-2004 07:37 PM

Thanks. Don't have time to look at it *right now* but I will (I drive a truck for a living and my internet time is highly limited).


All times are GMT. The time now is 10:02 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.02459 seconds
  • Memory Usage 1,705KB
  • 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
  • (3)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