The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
Header/Footer For Each Forum and Threads in that Forum
![]() Developer Last Online: Jun 2013 ![]() ![]()
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
|
Comments |
#32
|
|||
|
|||
![]()
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 |
#33
|
||||
|
||||
![]()
ChurchMedia - working well for forum homepages but not forum threads in that forum...
|
#34
|
|||
|
|||
![]() 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 |
#35
|
||||
|
||||
![]()
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, |
#36
|
||||
|
||||
![]() Quote:
|
#37
|
|||
|
|||
![]()
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 |
#38
|
||||
|
||||
![]()
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? |
#39
|
|||
|
|||
![]() 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 |
#40
|
||||
|
||||
![]()
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:
|
#41
|
|||
|
|||
![]() Quote:
I want to help but I am not the greatest php expert here, so please don't swear at me. Rgds |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|