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

Reply
 
Thread Tools
Banner Rotator Details »»
Banner Rotator
Version: 2.0 Beta, by andrefedalto andrefedalto is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.0 Beta 4 Rating:
Released: 01-30-2008 Last Update: 02-01-2008 Installs: 369
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.


New version of https://vborg.vbsupport.ru/showthread.php?t=133954, compliant with vB 3.7 and with new features!!!

So, what does this hack do?
- This mod allows you to add lots of forum banners.
- The banners will be randomly showed 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 upload flash (SWF) banners!
- You can set a description for individual banners.
- 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 enable/disable you banners.
- Disabled banners remains in the ftp, but will not be shown on forum home.
- NEW: You can set different URLs for each banner!
- NEW: You can select the forums you want the banner to appear!!! (with inherit option)
- NEW: Mass delete banners is now possible.
- NEW: You can set default values for new banners on vBulletion Options

How can i install? (Time to install: 1 minute if you are fast enough )
- Unzip the package and upload the content of the "upload" folder to your forum directory.
- Install product-brotator.xml
- Go to your AdminCP > Style Manager > YOUR SKIN > Edit HEADER template and find:
Code:
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
replace it to:
Code:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>
- Refresh your admincp index and Banner Rotator menu should appear!

The improvements over the last version werent tested a lot, so please report any bugs you find!

Thanks!

SUPPORT GIVEN ONLY FOR WHO CLICKED "INSTALL"

UPGRADE IS NOT AVAILABLE, SO YOU NEED TO UNINSTALL THE OLD VERSION AND INSTALL THIS ONE

Show Your Support

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

Comments
  #42  
Old 03-20-2008, 06:58 AM
cagbaazee cagbaazee is offline
 
Join Date: Jul 2007
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hv install and everything is working fine but one problem is time, how to make it appear after 30 sec or so. do any one know about it.
Reply With Quote
  #43  
Old 03-22-2008, 12:11 AM
Satoshikai Satoshikai is offline
 
Join Date: Feb 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok ok. I just installed it on my vB 3.6.8 works great, no problems. But I do want to know something real quick.

I want the banner (when clicked on) to take you to the forum index BUT NOT open a new tab or window. I want it in the same page. What should I do for that and is it possible?
Reply With Quote
  #44  
Old 04-01-2008, 04:55 PM
uReside.com uReside.com is offline
 
Join Date: Oct 2003
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cagbaazee View Post
Go to your AdminCP > vBulletin Options > Banner Rotator

There will be a field for allowed file types, just add "image/pjpeg" there (dont forget the comma).

The selected file type is not allowed. image/x-png

I know |png| and |images/png| is in there am i missing something trying to upload a .png file.
Reply With Quote
  #45  
Old 04-02-2008, 03:13 PM
ginnser ginnser is offline
 
Join Date: Nov 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great mod

Just like another user I want my forum logo on the left and then the banners on the same line but centered

here is my code

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"> <a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]"> <a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a>
</td>
</tr>
</table>
<!-- /logo -->

can anyone suggest where i need to alter the code?

have a look at it at the moment, you can see the logo and banner are both on the left !

www.dbplaza.hk

Thanks
Reply With Quote
  #46  
Old 04-04-2008, 07:59 PM
Britmovie Britmovie is offline
 
Join Date: Mar 2008
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
The selected file type is not allowed. image/x-png
get the above rel error message when i try to up png, jpg, gif banners? using betaPowered by vBulletin? Version 3.7.0 Beta 5?
Reply With Quote
  #47  
Old 04-07-2008, 08:40 PM
Chevy II Chevy II is offline
 
Join Date: Nov 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and works great, for me... However, I have one user that says that none of the banners are being displayed... Only a blank area, has anyone else heard a user with this issue?

Thanks!
Reply With Quote
  #48  
Old 04-16-2008, 10:07 AM
veb veb is offline
 
Join Date: Apr 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that's probably because they have something that disables banners and stuff... thinks they are adware.

I'm atm trying to get this to work on 3.6.7

EDIT: Works great! Thanks man, keep up the good work *hits install*
EDIT: I have a suggestion, a counter to keep track of how many times a banner has been clicked, and is displayed in the EDIT screen in the Admin control panel?
Reply With Quote
  #49  
Old 04-18-2008, 08:54 AM
atlambros83's Avatar
atlambros83 atlambros83 is offline
 
Join Date: Nov 2007
Location: Atlanta, Georgia
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

marked as installed and nominated. works great for me on 3.6.8 pl2. thanks!

.....is there any way to change it so that when the banner is clicked it doesn't open a new window and just refreshes to the forum index? (im using it to display different styles of forum banners on my page rather than for advertisements)
Reply With Quote
  #50  
Old 04-19-2008, 02:55 AM
veb veb is offline
 
Join Date: Apr 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by atlambros83 View Post
marked as installed and nominated. works great for me on 3.6.8 pl2. thanks!


.....is there any way to change it so that when the banner is clicked it doesn't open a new window and just refreshes to the forum index? (im using it to display different styles of forum banners on my page rather than for advertisements)
Edit the style.

From:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>

To:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>">$banner</a></center>

(Notice I took away the "Target" part?)
Reply With Quote
  #51  
Old 04-19-2008, 07:19 AM
tmiland tmiland is offline
 
Join Date: Mar 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all, i need some help, i wanted to show the banners below the navbar, with a border around it like this:

PHP Code:
<!-- banner -->
<if 
condition="$ban">
<
table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<
tr>
<
td class="alt1" width="100%">
<
div align="left"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></div>
</
td>
</
tr>
</
table>
<
br />
</if>
<!-- / 
banner --> 
So, what i need to know is what to add to the if condition
to make the border not show when the banner isnt showing: if condition="whatdoiputhere"

Hope you know what i mean

*edit*
i figured it out!
if condition="$ban"
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 09:58 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.05234 seconds
  • Memory Usage 2,326KB
  • 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
  • (1)bbcode_php
  • (3)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