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
  #22  
Old 12-23-2005, 07:51 PM
slvr ralliart slvr ralliart is offline
 
Join Date: Oct 2005
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed your banner rotator...

I go to upload a banner and I get this error screen..

Reply With Quote
  #23  
Old 12-23-2005, 07:59 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uninstall it first

you need to edit the installer file and banner_rotator file thats in admincp folder..

look for forum and change it too forums

thats should take care of your problem.

after making these changs make sure you reinstall it..
Reply With Quote
  #24  
Old 12-23-2005, 10:27 PM
andrefedalto andrefedalto is offline
 
Join Date: Dec 2005
Location: Brazil
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by slvr ralliart
I installed your banner rotator...

I go to upload a banner and I get this error screen..

just like sinister said..
uninstall it, open banner_rotator.php and product-brotator.xml.. you can do it with notepad..

press CTRL+H (to replace texts)
and replace "/forum" with "/forums"
save the files, reupload the .php file and reinstall the product

chmod "banners" folder to 777 and it will work perfectly
Reply With Quote
  #25  
Old 12-25-2005, 04:46 PM
Aerovive1 Aerovive1 is offline
 
Join Date: Dec 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this mod work? I'm a lil concerned installing it with all the errors everyone has been getting...
Reply With Quote
  #26  
Old 12-25-2005, 08:27 PM
andrefedalto andrefedalto is offline
 
Join Date: Dec 2005
Location: Brazil
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aerovive1
Does this mod work? I'm a lil concerned installing it with all the errors everyone has been getting...
'course it works.. i'm using it
try it out, if you get any kind of errors, contact me
Reply With Quote
  #27  
Old 12-26-2005, 01:07 AM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

getting this error:

Invalid SQL:
INSERT INTO brotator (id, name, alt, active) VALUES ('', 'toonsalbumdecor3.gif', 'Toon's Album Decor', '1');

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Album Decor', '1')' at line 1
Error Number : 1064
Date : Sunday, December 25th 2005 @ 07:03:36 PM
Script : http://www.xxxxxxxxx/admincp/banner_rotator.php
Referrer : http://xxxxxxxx/admincp/banner_rotator.php?do=add
IP Address : xxxxxxxxxxxx
Username : xxxxxxxxx
Classname : vb_database
Reply With Quote
  #28  
Old 12-26-2005, 09:10 PM
Aerovive1 Aerovive1 is offline
 
Join Date: Dec 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting this error when I try isntalling a banner, and why is there no field to enter a url?

Warning: move_uploaded_file(/home/toyotaug/public_html/forum/images/banners/otugbanner.gif): failed to open stream: No such file or directory in /admincp/banner_rotator.php on line 56

Warning: move_uploaded_file(): Unable to move '/tmp/php3GF8oT' to '/home/toyotaug/public_html/forum/images/banners/otugbanner.gif' in /admincp/banner_rotator.php on line 56
Reply With Quote
  #29  
Old 12-26-2005, 10:38 PM
andrefedalto andrefedalto is offline
 
Join Date: Dec 2005
Location: Brazil
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nievesidenshop
getting this error:

Invalid SQL:
INSERT INTO brotator (id, name, alt, active) VALUES ('', 'toonsalbumdecor3.gif', 'Toon's Album Decor', '1');

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Album Decor', '1')' at line 1
Error Number : 1064
Date : Sunday, December 25th 2005 @ 07:03:36 PM
Script : http://www.xxxxxxxxx/admincp/banner_rotator.php
Referrer : http://xxxxxxxx/admincp/banner_rotator.php?do=add
IP Address : xxxxxxxxxxxx
Username : xxxxxxxxx
Classname : vb_database
dont use ' in the names
Reply With Quote
  #30  
Old 12-26-2005, 10:39 PM
andrefedalto andrefedalto is offline
 
Join Date: Dec 2005
Location: Brazil
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aerovive1
I'm getting this error when I try isntalling a banner, and why is there no field to enter a url?


Warning: move_uploaded_file(/home/toyotaug/public_html/forum/images/banners/otugbanner.gif): failed to open stream: No such file or directory in /admincp/banner_rotator.php on line 56

Warning: move_uploaded_file(): Unable to move '/tmp/php3GF8oT' to '/home/toyotaug/public_html/forum/images/banners/otugbanner.gif' in /admincp/banner_rotator.php on line 56
uninstall it, open banner_rotator.php and product-brotator.xml.. you can do it with notepad..

press CTRL+H (to replace texts)
and replace "/forum" with "/PATH"
(where PATH is the path name where your forum is located into)
save the files, reupload the .php file and reinstall the product

chmod "banners" folder to 777 and it will work perfectly
Reply With Quote
  #31  
Old 12-26-2005, 10:58 PM
Aerovive1 Aerovive1 is offline
 
Join Date: Dec 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it. Now isn't there an option to insert a URL to the individual banners?
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 04:15 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.04393 seconds
  • Memory Usage 2,312KB
  • 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
  • (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