vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Certain headers on certain boards (https://vborg.vbsupport.ru/showthread.php?t=111123)

umpljazz 03-22-2006 08:28 PM

Certain headers on certain boards
 
Hi guys,

I've had a root around this site but to no joy as of yet...

I'm looking to place a certain banner advert on certain boards of my forum.

Looking through the code it looks as though its related to 'forumid' in the forumdisplay.php file?

Wondering if anyone can shed any light on it, I'd imagine its a pretty common thing to want to do?

Cheers, James

Rich 03-23-2006 01:42 AM

Hello,

There is a modification on the site to do this. I don't know what it is off hand, but I know for a fact that it exists because i installed it when it was first released.

JPnyc 03-23-2006 04:51 PM

You can do this right in the adminCP by creating different styles for the various forums. Or you can code it right into the template using

<if condition="$forumid==someNumber">
//header info goes here.
</if>

Rich 03-23-2006 09:48 PM

Hello,

The modification is tied directly into the forums themselves. You can add headers OR html to every forum by just installing the modification. Of course you can do it the way listed above, but that will get really cluttered pending how many forums you are changing and it requires manual entries via the templates.


All times are GMT. The time now is 11:18 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.00961 seconds
  • Memory Usage 1,706KB
  • 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
  • (4)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