vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=103477

Banner Rotator (Definitive Mod)
by andrefedalto
21 Dec 2005 21:59

5 Attachment(s)
Hi you there. I was looking for a really nice Banner Rotator Mod, but i couldn't find one that had what i need. So i decided to code one. Finished it right now and i'll share with you.

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.
- You can set a description for individual banners.
- 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.

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 and CHMOD 77 the folder "/image/banners"
- Install product-brotator.
- Go to your AdminCP > Style Manager > YOUR SKIN > Edit HEADER template and find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


You can change banner width and height editing the plugin called "Banner Rotator Generator" and changing the values:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

for your own values.

I really hope you enjoy this hack and, please, if you find any kind of bug, report it to me as soon as possible.
And if you have any suggestions, post here.

Thanks you all!

GoTTi 21 Dec 2005 22:07

thats a good hack.

try www.phpadsnew.com for probably the best banner management system out. and its free.

Daniel 21 Dec 2005 22:36

I had a template modification like it, http://www.vbulletin.org/forum/showt...threadid=99402

Great job though!

rb290 21 Dec 2005 23:04

Database error in vBulletin 3.5.2:

Invalid SQL:
SELECT * FROM brotator WHERE active = '1' ORDER BY Rand() LIMIT 1;

MySQL Error : Table 'thug_thug.brotator' doesn't exist
Error Number : 1146
Date : Wednesday, December 21st 2005 @ 06:03:38 PM

rb290 21 Dec 2005 23:07

cant get on the board, gives me database error, can someone tell me whats wrong, when i uploaded a pic from the admincp it gave me a database error

jrofosho 21 Dec 2005 23:13

my database tables weren't created either.

andrefedalto 21 Dec 2005 23:18

apparently the tables weren't created. take a look at you db sctructure and look for any "brotator" table you find. if you want, give me your msn and i can fix that for you

jrofosho: same to you.. tables were not created. look for table brotator or ive me a way to contact you, like msn

thanks

rb290 21 Dec 2005 23:19

msn: da_shiznit29@hotmail.com

jrofosho 21 Dec 2005 23:26

msn: jrofosho@gmail.com

rb290 21 Dec 2005 23:40

??????????

jrofosho 22 Dec 2005 00:14

Issue resolved.

Nice hack.

Synth 22 Dec 2005 01:54

Will this still allow affiliates to track activity on a banner?

Itworx4me 22 Dec 2005 06:39

Would be a nice addition if it had banner clicks and a way to show stats to your advertisers.

DS MrSinister 22 Dec 2005 06:40

this hack is for your banner at the top of your page. its like what vb.org has done with ther banners. how it changes when u click on to a another link etc.

andrefedalto 22 Dec 2005 11:44

Quote:

Originally Posted by Itworx4me
Would be a nice addition if it had banner clicks and a way to show stats to your advertisers.

its not an advertisement mod... just main forum banner ;)

you can find plenty of ad mods :)


All times are GMT. The time now is 16:08.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.