![]() |
Display one or multiple forum banners per seperate forum
Hi everyone! This is my first hack so bare with me here. I didnt have anyone else try this out yet cause all my vb friends have 3.0 :rolleyes:
Description: What this hack does is it will allow you to add a banner or a small image or whatever to your forum display. You may add only one image per forum display, however you can display a seperate image to another forum at the same time. The instructions are attatched. Please let me know if this hack works or not. I will try to figure out what is missing if the image does not display. Example of the image being displayed in forumdisplay: |
Sorry I thought it was a short enough hack to just plop it in my post :rolleyes:
|
Oh, it's not that. I think it's against the rules to post instructions in a post because members without licenses will be able to see the code... or something like that.
|
Sorry, I did not know :ermm:
|
Nice hack, similar ones have been made though.
|
Quote:
Edit: I put a txt file for instructions in my first post. |
Nice work! This will come in handy for my hosted forums.
|
Quote:
|
kaotic - code and php boxes are only viewable by licensed members - has been like that for some time now :)
|
Wow I had no idea :rolleyes:
|
Great!
|
Quote:
|
How does it differs from the Article 0.4 hack, any idea?
It's rather the same, maybe something more like yaxay has? |
I am unfamiliar with the Article hack..... I never knew about it. I dont have time to go thru all the hacks to check to see if they are similar or exactly like mine.
|
Quote:
|
Installed now, cheers.
|
Quote:
|
I'll give this a whirl for ya and let you know if it works ;)
|
Roger that!
|
Cant see why it wouldnt work ;) It's pretty straight forward :)
|
Make, make, make it vbthree and you'll be free!
|
Quote:
|
How can I make it so the banner can link somewhere?
|
do you want all of the banners to link somewhere? Cuz if you put <a href="http://gotohere.com">$forumimg</a> then all of the banners would be affected... thats the only way I can think of.
|
I want all of them to link to different destinations. I have 6 different banners in total, all linking to a different site.
Where do I add the URL code within this: Code:
if($foruminfo[forumid] == XX) |
Quote:
i too would like to know. i like the hack cause it is simple. i just need a to link my banners. |
well i supppose you can put a URL link in there when editing it. I'm not sure because I dont have vb 2 anymore.
|
Could you show me what it would look like in the example above?
Thanks. :) |
Try
PHP Code:
|
Thanks but that doesn't work. I get an error in the forums. Is it really impossible to do this?
|
Figured it out.
The code is: Code:
$forumimg = "<a href=\"http://www.site.com\"><img src=\"http://www.site.com/images/picture.jpg\" /></a>"; |
Kewl :)
|
Ah yeah i forgot to quote out the " marks etc, ah well simple mistake ;)
|
is there a way to link one image in "X" forum to one www.site1.com
then in forum Y have that image linked to www.site2.com |
PHP Code:
|
Mindtrix. That worked perfectly!
I have a banner rotation hack, but this works great for also having a static banner /image placement Thank you very much! bass |
Glad it helped mate.
|
Sorry I havent been around latley guys..... busy with real life stuff :p
|
Great Hack Mad Cat! *Clicks Install* Up and running at my website (below)! :D
|
This hack also works in 3.0.3 .. Thanks again for the hack!
|
All times are GMT. The time now is 04:18 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:
|