Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

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

Category: Miscellaneous Hacks - Version: 3.6.4 Rating:
Released: 12-13-2006 Last Update: 12-14-2006 Installs: 411
DB Changes Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

New version of https://vborg.vbsupport.ru/showthread.php?t=103477 with minor bugs fixed and added some additions people requested.

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.
- NEW: You can upload flash (SWF) banners!
- You can set a description for individual banners.
- NEW: 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 activate/deactivate you banners.
- Deactivated banners remains in the ftp, but will not be shown on forum home.

Future additions: Add URL for each banner individually, so when users click on it they will be redirected.
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.
- 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 to:
Code:
$banner
- Refresh your admincp index and Banner Rotator menu should appear!

Please, I updated and added new features of this mod in this afternoon, so probably it still have some bugs. So, if you find one please report here.

Thanks!

NOTE: Maybe some of you will have to create folder called "banners" inside folder "images" manually, and then chmod it 0777.

SUPPORT GIVEN ONLY FOR WHO CLICKED "INSTALL"

Show Your Support

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

Comments
  #22  
Old 12-15-2006, 07:47 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everything is working now; thanks. One other thing. How can I get my banner the same width as the forum width. For the default theme, that would be from the white area from the left to the right - I guess this is the "Main Table Width". When I change the table width to the same width of the banner, the banner is not centered, so it has the appearance of it being off-centered. Any hints?
Reply With Quote
  #23  
Old 12-15-2006, 09:40 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this MOD at work on my work computer and everything was okay. I come home and nothing is working on my computer. The banner I created does not show on the forum home page and the banner does not show in the admincp when going to edit the banner. Is this a browser issuer? I have IE7.
Reply With Quote
  #24  
Old 12-16-2006, 01:34 AM
Rick Rick is offline
 
Join Date: Nov 2001
Location: Wittmann, AZ
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, but I need one more feature before I can use it. I need to be able to determine the "weight" of each banner so that some can be shown once per rotation, others once every other rotation etc...

Any chance of adding that in a future version?
Reply With Quote
  #25  
Old 12-16-2006, 02:26 AM
Aeolian Aeolian is offline
 
Join Date: Apr 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello there
Very handy addon but i wanna keep my forum image along with banner, kinda like.. http://forum.vbulletinsetup.com/
how do i achieve that with this mod?

thanks
Reply With Quote
  #26  
Old 12-19-2006, 11:46 PM
andrefedalto andrefedalto is offline
 
Join Date: Dec 2005
Location: Brazil
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Junkie View Post
Everything is working now; thanks. One other thing. How can I get my banner the same width as the forum width. For the default theme, that would be from the white area from the left to the right - I guess this is the "Main Table Width". When I change the table width to the same width of the banner, the banner is not centered, so it has the appearance of it being off-centered. Any hints?
Try adding $banner between <center></center> tags. Or if its in a table, add "align=center" to the line/column.

Quote:
Originally Posted by Junkie View Post
I installed this MOD at work on my work computer and everything was okay. I come home and nothing is working on my computer. The banner I created does not show on the forum home page and the banner does not show in the admincp when going to edit the banner. Is this a browser issuer? I have IE7.
Did you check if "banner" folder was created inside images folder? Do the script has permission to read/write from the folder?

Quote:
Originally Posted by Rick View Post
Nice hack, but I need one more feature before I can use it. I need to be able to determine the "weight" of each banner so that some can be shown once per rotation, others once every other rotation etc...

Any chance of adding that in a future version?
I dont see that feature being added in the future. Sorry, if you can do that, feel free to edit my modification and then release it here

Quote:
Originally Posted by Aeolian View Post
Hello there
Very handy addon but i wanna keep my forum image along with banner, kinda like.. http://forum.vbulletinsetup.com/
how do i achieve that with this mod?

thanks
Instead of replacing your forum banner to the code "$banner", you just need to place "$banner" wherever you want and dont remove your main banner code.
Reply With Quote
  #27  
Old 12-20-2006, 12:36 AM
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
Location: USA/West Coast
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rick View Post
Nice hack, but I need one more feature before I can use it. I need to be able to determine the "weight" of each banner so that some can be shown once per rotation, others once every other rotation etc...
As a temporary solution until someone here comes up with the code for that, this would do it if an approximate weight that's still random would work for you. This is a very cumbersome and somewhat annoying way to do this, but it'll swap them out closer to what you want .. while you're waiting:

Just upload multiple copies of the same image you want shown more frequently and just a single copy of the headings.

1. Banner 1a
2. Banner 1b
3. Banner 1c
4. Banner 2
5. Banner 3
6. Banner 4
7. Banner 5a
8. Banner 5b
9. Banner 5c
10. Banner 6

Banner 1 will appear (approximately) 30% of the time. Banner 5 will be there 20% of the time. And the remaining 4 banners just 10%.

Thank you so much for the hack, andrefedalto! :bunny:
Reply With Quote
  #28  
Old 12-20-2006, 12:36 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Junkie
I installed this MOD at work on my work computer and everything was okay. I come home and nothing is working on my computer. The banner I created does not show on the forum home page and the banner does not show in the admincp when going to edit the banner. Is this a browser issuer? I have IE7.

Did you check if "banner" folder was created inside images folder? Do the script has permission to read/write from the folder?
The banner folder is in the images folder correctly with 777 mod. The banner shows up at work on IE6, but not on home cpu with IE7.
Reply With Quote
  #29  
Old 12-22-2006, 11:14 AM
djawir djawir is offline
 
Join Date: Mar 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The selected file type is not allowed. image/gif
Reply With Quote
  #30  
Old 12-25-2006, 09:07 AM
aerogear2002 aerogear2002 is offline
 
Join Date: Dec 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the root folder is that the www folder
Reply With Quote
  #31  
Old 01-02-2007, 10:30 PM
Frimon86 Frimon86 is offline
 
Join Date: Dec 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool mod!
Reply With Quote
Reply


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:44 AM.


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.05057 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (6)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
  • (1)pagenav_pagelinkrel
  • (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