vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Add a Header / Footer option to each forum (https://vborg.vbsupport.ru/showthread.php?t=96398)

Zachariah 09-15-2005 10:00 PM

Add a Header / Footer option to each forum
 
/* -----------------9/16/2005 8:25AM-----------------
Add a Header / Footer option to each forum V.1.0
Tested on vBulletin: 3.5.0 RC2,RC3

This is a Port from a previous hack by ChurchMedia.

*** Header/Footer For Each Forum and Threads in that Forum (VB 3.0x) - BY: ChurchMedia
https://vborg.vbsupport.ru/showthread.php?t=65890


*** Info:
This modification will allow you to add an extra, unique header and footer for each forum.
You can use HTML, javascript, but no PHP.

--------------------------------------------------*/

Upload the "Product" and edit 2 templates, It's a snap.
:rambo:

There is also an Upgrade XML file for all the users that upgrated from VB3.x vs. new install.

Zachariah 09-16-2005 02:44 PM

I looked and played with the location of the 2 Variables:

Quote:

$foruminfo[forumheader] // header
$foruminfo[forumfooter] // footer
The ver. that ChurchMedia did makes 2 edits to 2 template(below).

(ForumDisplay, Showthread - after $navbar and before $footer)

Quote:

$navbar
<------------------------------------------->
BELOW ADD:
<------------------------------------------->
$foruminfo[forumheader]
<------------------------------------------->


$footer
<------------------------------------------->
ABOVE ADD:
<------------------------------------------->
$foruminfo[forumfooter]

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--
2b.) Revised Ideas

Note: I make 1 edit to 2 templates

$foruminfo[forumheader] to the "navbar" template (after everything to show up under)
OR
$foruminfo[forumheader] to the "header" template (many places) to show up on both ForumDisplay, Showthread.

AND
$foruminfo[forumfooter] to the "footer" template to show up on both ForumDisplay, Showthread.

****
On every page except forumdisplay.php and showthread.php the Variables will not show up.


-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--
*** Useage:

For extra header/footer go to Forums & Moderators => Forum Manager => Edit forum => scroll do to the bottom enter your details.

fridayweb 09-16-2005 03:03 PM

Thanks for posting this! I came to specifically look for a forum header plug-in, and I can't believe that you just posted it today. Awesome. :)

Zachariah 09-16-2005 03:05 PM

Quote:

Originally Posted by fridayweb
Thanks for posting this! I came to specifically look for a forum header plug-in, and I can't believe that you just posted it today. Awesome. :)

"Ah oh it's magic" .... heheeh

NP, ChurchMedia needed some help. They are worken him to the death these days.

delds 09-16-2005 07:32 PM

This is great, good plugin. Anychance of having a similiar plugin made, to add html / javascript to the top or bottom of every page including forums home page ? The plugin of this type would be an easy way to add menu's etc., without having to go and mingle it with other stuff on an existing header.

Zachariah 09-16-2005 08:00 PM

Quote:

Originally Posted by delds
every page including forums home page

place your code in the header template ??

delds 09-16-2005 08:45 PM

Yes that is what I have already done, you just have to find the exact spot to put each time you update it, it is not a big deal by no means, just thought a separate place to enter the extra code without being concerned or finding the spot might make it easilier if you update/change it often.

Zachariah 09-16-2005 09:02 PM

Quote:

Originally Posted by delds
Yes that is what I have already done, you just have to find the exact spot to put each time you update it, it is not a big deal by no means, just thought a separate place to enter the extra code without being concerned or finding the spot might make it easilier if you update/change it often.

That can be done. :D - Ill post it in a few.

trainer 09-17-2005 01:03 PM

does the forum specific header also appear when viewing threads/posts within that forum or strictly on the forum view

Zachariah 09-17-2005 01:35 PM

Quote:

Originally Posted by trainer
does the forum specific header also appear when viewing threads/posts within that forum or strictly on the forum view

Yes it does :D


All times are GMT. The time now is 07:19 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.01217 seconds
  • Memory Usage 1,736KB
  • 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
  • (6)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