vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Header/Footer For Each Forum and Threads in that Forum (https://vborg.vbsupport.ru/showthread.php?t=65890)

ChurchMedia 06-05-2004 10:00 PM

Header/Footer For Each Forum and Threads in that Forum
 
This hack will allow you to add an extra, unique header and footer for each forum. The header and footer will show up on the forum home page and on each thread within that forum. You can use HTML, so you can put in rotating banner code or anything you like.

2 Queries
2 Modifications to admincp/forum.php
2 Template modifications

Enjoy!

Be sure to click INSTALL! :)

zahco 06-06-2004 07:53 AM

thanks a lot Dir ChurchMedia
I will try this hack it will give a nice look for the fourm if the hack works with out any proplems

best regards
zahco
http://www.arabswell.com/vb

Imprezer 06-07-2004 06:00 AM

Y O U A R E T H E M A N ! ! !

I have been craving this hack forever.

Thanks a lot!

Imprezer 06-07-2004 06:32 AM

Installed! Haven't tried it yet, but I think it will work just fine.

Just one thing, in the instructions, you might wanna change the name of the admin directory to admincp, since it is for the vb3.0. That way it will be clear to everyone.

This hack is great. Combined with phpadsnew, this is the ultimate solution for targeted banner advertising.

Thanks again!

Imprezer 06-07-2004 07:34 AM

Tested out. Everything is working out great!

gmarik 06-08-2004 06:16 AM

Great one.

jluerken 06-10-2004 10:40 AM

Quote:

Originally Posted by gmarik
Great one.

Its working for me in Forumdisplay but not in Showthreads. I checked the install instructions twice but I cannot see what I've done wrong.

floridaideal 06-10-2004 01:56 PM

Thank you so much, great hack, just what I needed.

INSTALLED

freedom2support 06-10-2004 04:37 PM

I take it you can have different headers for each forum?

ChurchMedia 06-10-2004 04:47 PM

Quote:

Originally Posted by jluerken
Its working for me in Forumdisplay but not in Showthreads. I checked the install instructions twice but I cannot see what I've done wrong.

Make sure the $foruminfo[forumheader] is in the correct template (see screenshot).


All times are GMT. The time now is 08: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.01312 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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