![]() |
Unique Forum Header Including Parent Forums
FireFly told me to post it and its semi based on his code.
it tries to use its own forumid if it doesn't use it then it tries the parent one and so forth and if it doesn't find one then it uses the default one. open global.php look for PHP Code:
PHP Code:
|
Excellent hack oh master of hacking ;)
Do you by any chance have a demo or screenshot available? :D |
em there is no demo :P
it would just change the header at the top.... |
I can't imagine how this would look, but I do not wish to alter any files prior to the hack, could anybody who applied this please post a screenshot?
This hack sounds like one I am looking for, just wanna be sure :) |
well my guess is it would look like Vb, header
notice how it switches between banners;) Thanks so much Pnn, this is simpile but grand!! |
PPN!!!!!!!!!!!!!!!!!!!!! :D
**hits Psychdrone** |
I accomplished this same thing by creating (more than one) new templates and naming them whatever. The parsed them and then edited the appropriate templates replacing $header with the new template names.
A bit more time consuming but effective great job folks |
I think it is good to have the flexibility to customize forums individually. You could theme an entire forum. Great hack. that was the only functionality that I was missing from UBB.
|
Quote:
In my book you will always be Pnn :) |
can this hack be extended to include showthread.php for that particular forum? The idea is to sell the new header to a sponsor, but with all the different news hacks or the different ways to access a thread directly without having to enter forum, some people will never see the new header.
|
Sponsor ad rotation in header with text - already in use (post #1)
Sponsor ad rotation in header with text - already in use. how did they do it? can any experts help out and let me know how to do this. clcik here for example hit reload a couple of times and the sponsor in the header changes each time. the extra text in the header would be great for getting and keeping sponsors any help? does this exist already and i just can't find it? does this hack/addon fill this request? thanks for the help. |
PPN have a small request/edit on this hack. i am sure it probably won't take much but i am not that great iwth computers.
could you edit this hack so it would rotate between 4-5 different headers. instead of taking the # from the forumid could it be setup to just totate over 4-5 different #'s (headers) i would like to set this up as a sponsor ads setp. thanks |
Quote:
|
How can I make showtread.php display the same header of the forum?
|
PPN,
could this be setup so that there are 4-5 headers that are rotated thru. i would like to use this so i can put a banner ad along with some text in the headers. like on webhosting.com has done. i really dont know how to do this or i would do it myself. i really need something to add some text and image ads in order to keep my site alive. right now with just banners it isn't cutting it. i have been asked by a couple sponsors for something like that. it would be perfect. thanks for your time |
oh come on PPN i know you are probably laughing at how easy this would be to do :)
|
can anyone help?
|
Was this at all influenced by my hack?
|
Nope it wasn't, I never noticed it before, anyway its alot different it changes it for each forum and inherits its parent forum header if none is set.
Trainer to set this for threads as well involves a little bit of modification, at the moment i'm away out to work. I'll post the code when i get back. It involves checking if its showthread.php and changing what id is used to get the info. |
I would love to get this hack working, but I'm a bit confused as to what the template is supposed to look like.
I just type in something like this? forumid=1<img src=http://whateverTHEurlIStoTHEimage.jpg> |
Ok, well that didn't work... I'll keep trying, but it'd much more fun for me if one of you geniouses would just let me in on the secret, lol. ;)
|
Ok, I'm actually starting to wonder if this is what I'm even looking for. Does this give you the option to give each forum a banner? Or do you have to install this hack on top of itself for each forum you want a new banner for?
|
*wonders if people realize I have the mentality of a 3 year old and will keep posting until somebody helps me, lol :)*
|
You thought I was kidding, didn't you? ;)
|
create a template called
forumdisplay_header1 put in some stuff then in forumdisplay with id one you get that header |
Oooook... "put in some stuff" isn't exacly what I was looking for, but the way this sounds I would have to make a template for each forum I wanted to have a different banner in, right? Not really the hack I'm looking for I guess.
Anyone know of a hack like this? https://vborg.vbsupport.ru/showthrea...threadid=36482 |
bump
|
Ok, I figured out what you were talking about and installed the hack. Works good, but it doesn't show the forum banner when viewing a thread in that forum.. it defaults back to the origional banner.. how do I change that?
|
Ok, I would assume I have to add showthread.php in global.php somewhere like forumdisplay.php is.. but where do I add it?
|
I'd have to make changes to the code in global.php which I will get around to doing sometime today, I have support tickets still to answer and to clean my room :O
|
Quote:
sounds like a nice hack, im not gonna use it though because i dont like torturing my members with evel banners:) |
Quote:
|
Quote:
|
bump
|
bump
|
THWACK!
|
THWACK!!!
|
PHP Code:
|
PPN, i am gonna have to spank your butt for lying to me!!!!
This isn't quite what i was talking about..... What i want is this: 1. to be able to create "bannerzones". 2. to be have all forums default to zone1 unless edited. 3. to be able to edit the zone a forum will be in in the "edit forum properties" screen. 4. to be able to create a template for that bannerzone (such as banners_zone1, banners_zone2 etc.) It really shouldn't be that big of a deal....just have the system look up the bannerzone for the forum when showing a forumview or threadview in that area....kind of like doing a template lookup, only not quite. This way, the bannerzones could be edited...as well as stacked (So if i have advertisers who run national ads, some running Texas, and some running Houston only, then the banners could be set up so that Houston's bannerzone would look like: National banners HTML Texas bannerzone HTML Houston bannerzone HTML everytime our ads change, i spend tons of time redoing the headers for each city....and god help me if i actually put in a new hack, because then i have to edit the templates in every city as well.....which is a major pain in the hiney!!!!! |
Quote:
THANK YOU! THANK YOU! THANK YOU! GREAT HACK! :D Been looking for this from day one. |
All times are GMT. The time now is 04:48 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|