Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Banner Rotator (Definitive Mod) Details »»
Banner Rotator (Definitive Mod)
Version: 0.90, by andrefedalto andrefedalto is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 12-20-2005 Last Update: 12-22-2005 Installs: 85
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

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:
Code:
<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />
Replace with:
Code:
<center>$banner</center>

You can change banner width and height editing the plugin called "Banner Rotator Generator" and changing the values:
Code:
width=879 height=160
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!

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 12-27-2005, 03:55 AM
Aerovive1 Aerovive1 is offline
 
Join Date: Dec 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome mate. Thanks a lot!
Reply With Quote
  #43  
Old 12-28-2005, 09:32 PM
JsnakeJ JsnakeJ is offline
 
Join Date: Mar 2005
Location: Pennsylvania
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update to this hack where it has the latest replied version just language modified a small bit and set for 468x60 images.
Reply With Quote
  #44  
Old 12-29-2005, 12:46 AM
kpr's Avatar
kpr kpr is offline
 
Join Date: Jun 2005
Location: Scotland
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So now can this be used as an advertising banner hack for rottating different banners
Reply With Quote
  #45  
Old 12-29-2005, 01:26 PM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would be nice if this could somehow work with Google Adwords (rotating banners with google)
Reply With Quote
  #46  
Old 12-30-2005, 02:34 PM
Sinistra's Avatar
Sinistra Sinistra is offline
 
Join Date: Jun 2005
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can you change the forum root directory from forum to your root site directory.
Reply With Quote
  #47  
Old 12-31-2005, 08:01 AM
nexus851 nexus851 is offline
 
Join Date: Oct 2005
Location: LA
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JsnakeJ
Update to this hack where it has the latest replied version just language modified a small bit and set for 468x60 images.

This module with the link version doesnt work... i get this DB error:

PHP Code:
Database error in vBulletin 3.5.0:

Invalid SQL:
INSERT INTO vb_brotator (idnamealtlinkactiveVALUES ('''testbanner.gif''test''http://www.test.com''1');

MySQL Error  Unknown column 'link' in 'field list'
Error Number 1054
Date         
SaturdayDecember 31st 2005 04:00:17 AM
Script       
: /forum/admincp/banner_rotator.php
Referrer     
: /forum/admincp/banner_rotator.php?do=add
IP Address   
71.129.111.12
Username     
admin
Classname    
vb_database 
Reply With Quote
  #48  
Old 01-02-2006, 10:57 AM
Turbosport Turbosport is offline
 
Join Date: May 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exactly what i wanted saved me a lot of time thankyou !
Reply With Quote
  #49  
Old 01-02-2006, 01:52 PM
andrefedalto andrefedalto is offline
 
Join Date: Dec 2005
Location: Brazil
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexus851
This module with the link version doesnt work... i get this DB error:

PHP Code:
Database error in vBulletin 3.5.0:

Invalid SQL:
INSERT INTO vb_brotator (idnamealtlinkactiveVALUES ('''testbanner.gif''test''http://www.test.com''1');

MySQL Error  Unknown column 'link' in 'field list'
Error Number 1054
Date         
SaturdayDecember 31st 2005 04:00:17 AM
Script       
: /forum/admincp/banner_rotator.php
Referrer     
: /forum/admincp/banner_rotator.php?do=add
IP Address   
71.129.111.12
Username     
admin
Classname    
vb_database 

try to install on a fresh vB forum
Reply With Quote
  #50  
Old 01-02-2006, 10:02 PM
nhacso nhacso is offline
 
Join Date: Jul 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JsnakeJ
Update to this hack where it has the latest replied version just language modified a small bit and set for 468x60 images.
Anyone can improve mod "Banner Rotator" to support flash banner (.swf) !
Reply With Quote
  #51  
Old 01-09-2006, 07:48 AM
JsnakeJ JsnakeJ is offline
 
Join Date: Mar 2005
Location: Pennsylvania
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexus851
This module with the link version doesnt work... i get this DB error:

PHP Code:
Database error in vBulletin 3.5.0:

Invalid SQL:
INSERT INTO vb_brotator (idnamealtlinkactiveVALUES ('''testbanner.gif''test''http://www.test.com''1');

MySQL Error  Unknown column 'link' in 'field list'
Error Number 1054
Date         
SaturdayDecember 31st 2005 04:00:17 AM
Script       
: /forum/admincp/banner_rotator.php
Referrer     
: /forum/admincp/banner_rotator.php?do=add
IP Address   
71.129.111.12
Username     
admin
Classname    
vb_database 
I believe that you need to supply a full address to the banner rather than testbanner.gif.

Might aswell make me a co-supporter for this hack.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06948 seconds
  • Memory Usage 2,333KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (3)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete