vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Subforum Header Images (https://vborg.vbsupport.ru/showthread.php?t=284755)

megoscott 06-21-2012 04:44 PM

Subforum Header Images
 
Hi all,

We just upgraded from 3.something to 4.2. We had different header images for each of our subforums using a conditional in the header template:

<img src="$stylevar[imgdir_misc]/logo$forumid.gif" border="0" alt="$vboptions[bbtitle]" />

This doesn't work now and I have searched high and low for a way to do this now. The webmaster who originally implemented this is no longer with us.

Thanks for any help you can give, you all are amazing.

megoscott 06-25-2012 10:47 PM

....oh well, thanks anyway.

What I ended up doing is creating different images for each subforum and inserting them into a global header ad in the ad manager, then restricting that ad to only show in whichever forum I set. Probably not the "right" way to do it, but it works great and was easy as pie.

We like pie.

http://megomuseum.com/community/

CAG CheechDogg 06-28-2012 09:57 AM

You can also use the following html in your forums description :

Code:

<p style="text-align: center;"><img src="http://www.yourdomain.com/image-path/xxx.png" border="0" width="xxx" height="xxx"alt="xxx" title="xxx" /></p>
<br />

Replace the xxx with your information , use png's to have a transparent background and you are set.


All times are GMT. The time now is 10:20 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.01209 seconds
  • Memory Usage 1,711KB
  • 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)bbcode_code_printable
  • (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