Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Header/Footer For Each Forum and Threads in that Forum Details »»
Header/Footer For Each Forum and Threads in that Forum
Version: 1.00, by ChurchMedia ChurchMedia is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 06-05-2004 Last Update: Never Installs: 188
 
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-10-2004, 09:31 PM
Ryan McBain's Avatar
Ryan McBain Ryan McBain is offline
 
Join Date: Feb 2002
Location: Earth
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do I have to do to get the banner on the forum home page?
Reply With Quote
  #13  
Old 06-10-2004, 09:48 PM
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Location: Las Cruces, NM
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ryan McBain
What do I have to do to get the banner on the forum home page?
It doesn't show on the home page since the headers/footers are forum specific. You can just edit your templates (FORUMHOME) to put a banner on the home page.
Reply With Quote
  #14  
Old 06-10-2004, 09:53 PM
Ryan McBain's Avatar
Ryan McBain Ryan McBain is offline
 
Join Date: Feb 2002
Location: Earth
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChurchMedia
It doesn't show on the home page since the headers/footers are forum specific. You can just edit your templates (FORUMHOME) to put a banner on the home page.
So do I just add a
$foruminfo[forumfooter] in the forumhome template? Im trying to put a banner add there as well.
Reply With Quote
  #15  
Old 06-10-2004, 09:59 PM
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Location: Las Cruces, NM
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ryan McBain
So do I just add a
$foruminfo[forumfooter] in the forumhome template? Im trying to put a banner add there as well.
No, because the home page isn't a forum. It won't do anything. Just add the HTML directly to your FORUMHOME template right under the $header variable and right above the $footer variable.

Hope that helps
Reply With Quote
  #16  
Old 06-10-2004, 10:02 PM
Ryan McBain's Avatar
Ryan McBain Ryan McBain is offline
 
Join Date: Feb 2002
Location: Earth
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChurchMedia
No, because the home page isn't a forum. It won't do anything. Just add the HTML directly to your FORUMHOME template right under the $header variable and right above the $footer variable.

Hope that helps
Cool thanks
Reply With Quote
  #17  
Old 06-18-2004, 12:02 PM
floridaideal floridaideal is offline
 
Join Date: Aug 2002
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello ChurchMedia

Is there anyway you can modify this hack so that the header.gif image could be customise for each forum too? If this is an extra that would take some time I would more than happy to pay you for your time to customise this for me?

For example a field that you could type the location of the new image, ie header2.gif or something and that would replace it. Can this be done at all?

Thank you

Stuart
Reply With Quote
  #18  
Old 06-18-2004, 04:31 PM
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Location: Las Cruces, NM
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by floridaideal
Hello ChurchMedia

Is there anyway you can modify this hack so that the header.gif image could be customise for each forum too? If this is an extra that would take some time I would more than happy to pay you for your time to customise this for me?

For example a field that you could type the location of the new image, ie header2.gif or something and that would replace it. Can this be done at all?

Thank you

Stuart
Yes, it can be done, but you could also just use HTML to bring up the image.

Code:
<img src="http://www.yourdomain.com/path/to/image/image.gif">
Let me know if you want a field-based hack with a variable you can place somewhere. It wouldn't be difficult to alter this hack to do that (you would just be limited to a single image as opposed to full HTML).

Take care,
Reply With Quote
  #19  
Old 06-18-2004, 04:45 PM
floridaideal floridaideal is offline
 
Join Date: Aug 2002
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello CM

Either way is fine with me whatever is easyist for you, html sounds good to me.

You have done a great job with this hack, well done.
Reply With Quote
  #20  
Old 06-18-2004, 05:26 PM
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Location: Las Cruces, NM
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would use the HTML. It will give you more flexibility and is really the same thing, just applied a different way.

Cheers,
Reply With Quote
  #21  
Old 06-20-2004, 02:38 PM
YabbaDabba YabbaDabba is offline
 
Join Date: May 2004
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChurchMedia
This hack will allow you to add an extra, unique header and footer for each forum.
Neat hack. Have you thought about extending it?

If combined with something like "AdColumns"
https://vborg.vbsupport.ru/showthread.php?t=62348
then vB3 would have unique sidebars for each forum.

And if you have unique sidebars for each forum, it would
be cool if they could be populated with standard content
modules such as those for vBadvanced or vBindex.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:22 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.04529 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete