Version: 0.90, by andrefedalto
Developer Last Online: Feb 2016
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:
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.
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
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
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
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