![]() |
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! :) |
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 |
Y O U A R E T H E M A N ! ! !
I have been craving this hack forever. Thanks a lot! |
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! |
Tested out. Everything is working out great!
|
Great one.
|
Quote:
|
Thank you so much, great hack, just what I needed.
INSTALLED |
I take it you can have different headers for each forum?
|
Quote:
|
What do I have to do to get the banner on the forum home page?
|
Quote:
|
Quote:
$foruminfo[forumfooter] in the forumhome template? Im trying to put a banner add there as well. |
Quote:
Hope that helps :) |
Quote:
|
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 |
Quote:
Code:
<img src="http://www.yourdomain.com/path/to/image/image.gif"> Take care, |
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. |
I would use the HTML. It will give you more flexibility and is really the same thing, just applied a different way. :)
Cheers, |
Quote:
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. |
Hi CM
Any luck with that header.gif addition to your script please? Thank you again Stu |
Quote:
|
Hi CM
Sorry m8 I don't know much about html, would really appricate if you can help me with a mod for me to use, if you could knock something on the weekend that would be wonderful. Thank you very much. |
I just installed this... It works great, and it was easy. :)
THANKS! |
Quote:
I sincerely appreciate your work, it's so fantastically simple to do and so convenient. In a word THANKS! Rgds |
Quote:
|
[high]* Frzzy licks install :D
[/high] Worked with vB 3.0.3 |
Is there a way to set up a default header/footer? So for those forums that don't have an exclusive header/footer, it will just bring up a specified default?
|
Great Mod - Question - Would I be able to modify the header to look something similar to the Broadbandreports.com forums? Example: BBR.com New York Forum - I would like to add links and such right at the header with just some HTML coding, It should work...right?
Thanks! :ninja: |
Quote:
Thanx Hani |
Hi ChurchMedia
Any update on the header image change for us? I really need this asap and would like to pay you for your extra work, can you please contact me? Thank you Stu |
ChurchMedia - working well for forum homepages but not forum threads in that forum...
|
Quote:
Then scroll down until you find a forum called "Knives Store", and click on it. (Note to moderators: My sites are not commercial, so I am not advertising here) In there, when the page loads, you will see a banner below the words "This forum brought to you by". This is the banner that gets posted by this hack, in this particular forum. Of course, you can use the hack to alter your header, but I would assume you want the top part of your forum to be the same and fixed, so that your site is easily identifiable. Of course, this is your choice. Kind regards |
Sorry for not getting back to everyone on mod requests. I wasn't getting all of the replies by email for some reason. I'm having surgery next week and will be out of it for probably close to 2 months (hip replacement on a 34 year old - what a drag!). If anyone else wants to make mods to this hack and post them here, feel free. Otherwise, I'll get to it when I've recovered.
floridaideal: Sorry, I've been slammed with work. The easiest thing to do is to install the hack as-is and put this code in the header/footer fields to insert an image: Code:
<img src="http://www.yourdomain.com/path/to/image/image.gif"> See ya soon, |
Quote:
|
sorry to hear about you have to under go this operation, i wish you the best, and to recover quickly and to see you soon again on the forum
Hani In arabic (may be a very local arabic) we have a saying that I cant translate it, but at times you you have to do something you dont like, but it prevents a much greater harm, a similar but not quite the same saying in english is "every cloud has a silver lining" or whatever. :) All the best |
This is a great hack. Problem for me is that I want to include an external HTML file into the forum header.
E.g. Quote:
How would I do some php scripting, please? |
Quote:
What exactly are you trying to do? Is it possible to create a template with the contents of your external html file? If yes, then create it and then you go in global.php, and find PHP Code:
PHP Code:
PHP Code:
Another method is to do the evaluation of the templates in global.php, instead of phpinclude_start. Several ways exist. In either case, all you have to do, is to make sure that the template sponsors_panel contains the HTML code you want. Sorry if this is not the case of what you are trying to do. The above helped me. Rgds |
sv1cec thanks for the reply. No it's a little different to what you ask.
I have people writing DVD reviews at a sister site (using a database on a different server), and each time they do, a html file is created with the latest reviews listed and linking to them. This file is php included into the sister site's home page. I want to include this list at the top of our 'DVD Talk' forum. I tried it manually and it looked good (image attached), but I really need to be able to include the external file and ideally do some other PHP stuff later on aswell. This is the exact code I want to use: Quote:
|
Quote:
I want to help but I am not the greatest php expert here, so please don't swear at me. Rgds |
All times are GMT. The time now is 10:39 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|