![]() |
Banner Rotator
New version of https://vborg.vbsupport.ru/showthread.php?t=133954, compliant with vB 3.7 and with new features!!! So, what does this hack do? - This mod allows you to add lots of forum banners. - The banners will be randomly showed 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. - You can upload flash (SWF) banners! - You can set a description for individual banners. - 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 enable/disable you banners. - Disabled banners remains in the ftp, but will not be shown on forum home. - NEW: You can set different URLs for each banner! - NEW: You can select the forums you want the banner to appear!!! (with inherit option) - NEW: Mass delete banners is now possible. - NEW: You can set default values for new banners on vBulletion Options How can i install? (Time to install: 1 minute if you are fast enough ) - Unzip the package and upload the content of the "upload" folder to your forum directory. - Install product-brotator.xml - Go to your AdminCP > Style Manager > YOUR SKIN > Edit HEADER template and find: Code:
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a> Code:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center> The improvements over the last version werent tested a lot, so please report any bugs you find! Thanks! SUPPORT GIVEN ONLY FOR WHO CLICKED "INSTALL" UPGRADE IS NOT AVAILABLE, SO YOU NEED TO UNINSTALL THE OLD VERSION AND INSTALL THIS ONE |
installed & nominated will give it a shot soon
Thanks |
Thanks gonna give it a go now
Can you add different banners to each seperate forum with this. |
Installed and will give it a shot soon. Thanks
|
Ok I tried to upgrade from the previous version and got SQL DB errors, crashed the whole site. So next I unistalled and reinstalled brotator. OK so far,
I went to upload the first banner, and I got "There was an error while moving your file. Please retry." I then ftp to check if maybe the old banners are still in the banners folder. They are so I delete them and try again. I still get "There was an error while moving your file. Please retry." Um? where do I go from here? |
Duh!!!!! I figured out why the images weren't uploading. (image directory)
yours is images/brotator min is images/banner Now I got to figure out why the banners aren't linking. |
Quote:
|
Alright I got mine fixed. I had to remove some old code from the header and add the new code listed above.
Great Mod!!!!! Thanks for the ad links!!!! |
Wow! great! Thanks!
|
can some one confirm that this one works with 3.6.8 pl2
and no conflicts with other mods |
Quote:
|
first need to uninstal old version if not have data base error,in rest work ok
|
I like this mod very much. Many Thanks!!
I have one suggestion. It would be nice to be able instead of uploading each banner that we could link to an external banner. Cheers |
A new one? I've been using ur old one and that still rocks. If you need to see a demo, check out http://myffnet.com and hit refresh. I have 3 that work great :p
|
I have installed and the banner shows up, and the link works.
But I would like to keep my forum's name in the header as well as the new banner. So I put the code in after the code to put my forum name(banner) in. Problem is that the new banner shows up below my name banner and centered. How would I get them to show up next to each other? http://www.iemas.us Right now I am just using the same image twice, for testing. Thanks Keith PS I tried to just make my name banner simply include the as banner, but then I can't have my name banner link to my forums, and the ad link to the vendor. Help Please. |
Quote:
Hope it works! |
Hi, I am getting he selected file type is not allowed. image/gif when uploading err gifs, help!
Site url http://anotherfordforum.com/forums/index.php |
Quote:
There will be a field for allowed file types, just add "image/gif" there (dont forget the comma). |
Well, the centered is most likely to the banner being between a centered tag. Check your html code, i.e. HEADER - if t hat's where it's at. I use dreamweaver to easily see my vb layouts and will spot all these simple errors.
|
Quote:
|
Works Perfectly!! thanks
|
What if you dont have the code in your header?
- Go to your AdminCP > Style Manager > YOUR SKIN > Edit HEADER template and find: Code: <a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a> replace it to: Code: <center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center> My Header does not contain the code to look for, so not sure what to replace. |
Quote:
|
i try to add image and get this error :
Warning: move_uploaded_file(./images/banners/jobs.gif) [function.move-uploaded-file]: failed to open stream: No such file or directory in /admincp/brotator.php on line 62 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpDGSgso' to './images/banners/jobs.gif' in /admincp/brotator.php on line 62 |
Code:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner $banner</a></center> And is it possible to locate more than one banner ... 2 or more lines and 2 - 4 - 6 banners and we are going to have more banners on our forums ... and maybe we can add google addsense ... :D is it possible ? |
Quote:
Quote:
You can put the banner anywhere you want, but it'll show the same banner in all places, to change u gotta refresh the page. Maybe with a little tweak you can add the option to get more then one banner from the database. No, google adsense is not supported :( |
yeh it is but it dont work still :(
|
This is how I added banners to my forum. Works great!! I ended up with my original header with an ad banner right next to it. Both are centered, and both are links to separate sites. My original header links to my forum home page and the ad banner links to page that I told it to when I added the banner. Hope that makes sense.
Code:
<td align="$stylevar[left]"><center><a href="http://www.iemas.us/index.php"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center> Good job on this mod. Thanks Keith |
Quote:
|
I'm getting the error 65 error
Warning: move_uploaded_file(./images/brotator/templogo1.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /admincp/brotator.php on line 65 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phppPu2IT' to './images/brotator/templogo1.jpg' in /admincp/brotator.php on line 65 I needed to change permissions on the folder. |
Quote:
|
Please consider adding support for raw html so we can put google adsense or cpx ..
also, banner id? so we can add more than 1 unique banner to the forums? start with banner1 banner2 and banner3 ? thanks! |
When trying to add banners... I keep getting this message.
I am uploading a file named "banner.jpg" The selected file type is not allowed. image/pjpeg Please help... |
Is this safe to use in VB 3.6.8 ? ... Is it still causing problems in that version..
Just wondering since it's still in Beta. |
I keep getting this MySQL error:
Code:
Database error in vBulletin 3.7.0 Beta 4: |
Can anybody help me?
|
Quote:
Me too! |
thanks
|
i hv install , every one is okay, but i didnot see where are the banner. do someone explain it. Thanks
|
Quote:
There will be a field for allowed file types, just add "image/pjpeg" there (dont forget the comma). |
All times are GMT. The time now is 06: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:
|