The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Banner Rotator (Definitive Mod) **UPDATED** Details »» | |||||||||||||||||||||||||||
Banner Rotator (Definitive Mod) **UPDATED**
Developer Last Online: Feb 2016
New version of https://vborg.vbsupport.ru/showthread.php?t=103477 with minor bugs fixed and added some additions people requested.
So, what does this hack do? - This mod allows you to add lots of forum banners. - The banners will be automatically randomized everytime you reload your forums. How can i work with it? - It's all controlable through AdminCP. - NOT NEEDED ftp access to upload banners. - You CAN upload banners (jpg, gif & png) through AdminCP. - NEW: You can upload flash (SWF) banners! - You can set a description for individual banners. - NEW: You can set size (width & height) for each banner individually - You can edit the description easily and individually. - You can delete the banners through AdminCP (this function delete the banner from the ftp) - You can activate/deactivate you banners. - Deactivated banners remains in the ftp, but will not be shown on forum home. Future additions: Add URL for each banner individually, so when users click on it they will be redirected. How can i install? (Time to install: 1 minute if you are fast enough ) - Upload all the files contained in the "upload" folder inside the zip to your forum root directory. - Install product-brotator. - Go to your AdminCP > Style Manager > YOUR SKIN > Edit HEADER template and find: Code:
<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /> Code:
$banner Please, I updated and added new features of this mod in this afternoon, so probably it still have some bugs. So, if you find one please report here. Thanks! NOTE: Maybe some of you will have to create folder called "banners" inside folder "images" manually, and then chmod it 0777. SUPPORT GIVEN ONLY FOR WHO CLICKED "INSTALL" Show Your Support
|
Comments |
#102
|
|||
|
|||
installed with the link hack and it work wonder. Thanks !
|
#103
|
|||
|
|||
Quote:
Worked perfectly! Thanks MP |
#104
|
|||
|
|||
Hey, I have the STYLE/SKIN Enlighten. Now, the banner is located in the Main CSS. This is how it looks:
HTML Code:
#logo { background: url(enlighten/misc/header_logo.gif); width: 197px; height: 102px; float: left; margin: 0; padding: 0; } |
#105
|
|||
|
|||
Quick note for ppl that want the banner to open in a new window.
In product-rotator.xml: Replace: Code:
} else { $banner = "<center><img src='" . $vbulletin->options[bburl] . $defaultdir . "/" . $ban['name'] . "' alt='" . $ban['alt'] . "' width='".$ban['width']."' height='".$ban['height']."' border='0'></center>"; } Code:
} else { $banner = "<center><a href='".$ban['link']."' target='_blank'><img src='" . $vbulletin->options[bburl] . $defaultdir . "/" . $ban['name'] . "' alt='" . $ban['alt'] . "' width='".$ban['width']."' height='".$ban['height']."' border='0' target='_blank'></a></center>"; } In the plugin "Banner Rotator Generator" after its installed: Replace: Code:
} else { $banner = "<center><img src='" . $vbulletin->options[bburl] . $defaultdir . "/" . $ban['name'] . "' alt='" . $ban['alt'] . "' width='".$ban['width']."' height='".$ban['height']."' border='0'></center>"; } Code:
} else { $banner = "<center><a href='".$ban['link']."' target='_blank'><img src='" . $vbulletin->options[bburl] . $defaultdir . "/" . $ban['name'] . "' alt='" . $ban['alt'] . "' width='".$ban['width']."' height='".$ban['height']."' border='0' target='_blank'></a></center>"; } Also i'd like to thank both andrefedalto (for the addon) & warlion (for the modification) Note: Warlion removed the center tags, i added them back, if you dont want the banner to automagically center, remove the center tags from the code. Anthony |
#106
|
|||
|
|||
Hi there
I dont want to appear thick BUT I installed banner rotator, and it looked to work fine... However - the banners go no where - they are just images. How do you add the URL the banner is suppoed to go to? In edit banner on the mod you can out Alt text, change size etc, but what about the hyperlink? No point having a banner rotator that just shows nice images, or have I just missed something out? Please advise...... thanks. |
#107
|
|||
|
|||
I did the edits WarLion suggested,Here, to be able to add links to the banners but it seems that I missed up in something..
Can somebody please upload the modified version .. Thanks in advanced.. |
#108
|
|||
|
|||
Can This Be Linked To Another Page With All The Uploaded Banners?
|
#109
|
|||
|
|||
Marked as installed thanks. I have to say I would not have installed it but for the other user posting the fix to allow linked banners, Might be worth while putting him in the credits and having the code incorporated to the stock hack.
|
#110
|
|||
|
|||
I have installed it and it works great. But when using IE i cannot highlight any words on it and plus mouse's autoscroll too. I think it cannot handle with js.
In FF, it's ok. Moreover, how this mod rotates my banners? |
#111
|
|||
|
|||
This does not delete the image from the server, So if you have a banner with the name of 'comp.png' then delete it and try to start a new banner campaign with a different banner called 'comp.png' it uses the old banner.
I had to go and delete the banner from the server manually. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|