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

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
  #2  
Old 12-13-2006, 11:36 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks very nice
The 3.5 version of this was my fav. back then
Reply With Quote
  #3  
Old 12-13-2006, 11:51 PM
AMG021 AMG021 is offline
 
Join Date: Sep 2006
Location: Not From This Planet
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice
Reply With Quote
  #4  
Old 12-14-2006, 12:01 AM
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Location: Jerusalem
Posts: 571
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so nice ....
Reply With Quote
  #5  
Old 12-14-2006, 12:23 AM
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Location: Jerusalem
Posts: 571
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

emmm while uploading a simple banner in ext. of jpg or png it gives this

The selected file type is not allowed.
Reply With Quote
  #6  
Old 12-14-2006, 08:22 AM
Dante_elitE Dante_elitE is offline
 
Join Date: Dec 2006
Location: Brazil
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Muito obrigado, esse hack ? muito bom, como eu lhe disse no MSN vai ajudar muita gente.

English :
Very obliged, this hack is very good, as I said to it in the MSN I go to help much people.
Reply With Quote
  #7  
Old 12-14-2006, 09:14 AM
radarhunter radarhunter is offline
 
Join Date: Jul 2006
Location: Punjab, India
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

has someone installed this on their website if yes can we please see it`s working ???????

as how it will look on the site is not shown in the screenie that author has given
Reply With Quote
  #8  
Old 12-14-2006, 09:19 AM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome. Thanks!
Reply With Quote
  #9  
Old 12-14-2006, 09:36 AM
andrefedalto andrefedalto is offline
 
Join Date: Dec 2005
Location: Brazil
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Barakat View Post
emmm while uploading a simple banner in ext. of jpg or png it gives this

The selected file type is not allowed.
I changed a thing in the brotator.php. Please redownload the pack and replace your brotator.php that is in admincp folder for the one in the zip file. Now when you get the error that file type is not allowed, it will also show the type of the file, so you copy it, go to vBulletin Options in AdminCP, find "Banner Rotator" and then add the new extension there. That should work. If not, report here again please

Quote:
Originally Posted by radarhunter View Post
has someone installed this on their website if yes can we please see it`s working ???????

as how it will look on the site is not shown in the screenie that author has given
Sorry, my mistake. Check here to see how it looks in the website:
https://vborg.vbsupport.ru/attachmen...chmentid=57595
Everytime you refresh or change the page, the banner will be replaced by other randomly.
Reply With Quote
  #10  
Old 12-14-2006, 02:43 PM
Tuga??'s Avatar
Tuga?? Tuga?? is offline
 
Join Date: Oct 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in my one i dont find

PHP Code:
<img src="$stylevar[titleimage]border="0" alt="$vboptions[bbtitle]/> 
any help ?
thank you

PHP Code:
<META http-equiv=Page-Exit content=BlendTrans(Duration=0)>
<
META http-equiv=Page-Enter content=BlendTrans(Duration=0)>
<
script type="text/javascript" src="snow.js"></script>
<!-- 
logo -->
<
a name="top"></a>
<
center>
<
table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" background="$stylevar[imgdir_misc]/head_back.gif">
<
tr>
<
td valign="top" width="965"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/head_left.gif" width="965" border="0"></a></td>
</
tr>
</
table>
</
center>

<!-- /
logo -->
<!-- 
Navigation bar -->
    <
table width="100%" style="background-image:url($stylevar[imgdir_misc]/nav.jpg)" align="center" border="0" cellpadding="0" cellspacing="0">
    <
tr>
    <
td align="left" valign="top" height="87">
        
<
table width="50%"  align="center" border="0" cellspacing="0" cellpadding="0">
  <
tr>
               <
td align="left" valign="top" width="100" height="87"><a href="$vboptions[forumhome].php$session[sessionurl_q]accesskey="1"><img src="$stylevar[imgdir_misc]/nav_home.jpg" width="100" height="87" border="0" alt="" /></a></td>
                <if 
condition="$show['registerbutton']">
        <
td width="100" height="87"><a href="register.php$session[sessionurl_q]rel="nofollow"><img src="$stylevar[imgdir_misc]/nav_reg.jpg" width="100" height="87" border="0" alt="" /></a></td>
        <else />
        <
td width="100" height="87"  id="usercptools"><a href="$show[nojs_link]#usercptools"><img src="$stylevar[imgdir_misc]/nav_link.jpg" width="100" height="87" border="0" alt="" /></a><script type="text/javascript"vbmenu_register("usercptools" ,1); </script></td>
        </if>
        <
td align="left" valign="top" width="100" height="87"><a href="memberlist.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/nav_member.jpg" width="100" height="87" border="0" alt="" /></a></td>
        <
td align="left" valign="top" width="100" height="87"><a href="usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/nav_usercp.jpg" width="100" height="87" border="0" alt="" /></a></td>
        <
td align="left" valign="top" width="100" height="87"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/nav_cal.jpg" width="100" height="87" border="0" alt="" /></a></td>
        <
td align="left" valign="top" width="100" height="87" id="navbar_search"><a href="search.php$session[sessionurl_q]accesskey="4" rel="nofollow"><img src="$stylevar[imgdir_misc]/nav_search.jpg" width="100" height="87" border="0" alt="" /></a><script type="text/javascript"vbmenu_register("navbar_search" ,1); </script></td>
        <
td align="left" valign="top" width="100" height="87"><a href="faq.php$session[sessionurl_q]accesskey="5"><img src="$stylevar[imgdir_misc]/nav_faq.jpg" width="100" height="87" border="0" alt="" /></a></td>
    
  </
tr>
</
table>
        </
td>
    </
tr>
</
table>

<if 
condition="$show['popups']">
<!-- 
NAVBAR POPUP MENUS -->
    
    <if 
condition="$show['searchbuttons']">
    <!-- 
header quick search form -->
<
div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<
form action="search.php?do=process" method="post">
<
table cellpadding="4" cellspacing="1" border="0">
<
tr>
<
td class="thead">$vbphrase[search_forums]</td>
</
tr>
<
tr>
<
td class="vbmenu_option" title="nohilite">
<
input type="hidden" name="do" value="process" />
<
input type="hidden" name="quicksearch" value="1" />
<
input type="hidden" name="s" value="$session[sessionhash]/>
<
div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]tabindex="1004" /></div>
</
td>
</
tr>
<
tr>
<
td class="vbmenu_option" title="nohilite">
<
label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
&
nbsp;
<
label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</
td>
</
tr>
<
tr>
<
td class="vbmenu_option"><a href="search.php$session[sessionurl_q]accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</
tr>
<if 
condition="$show['member']"
<
tr>
<
td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]:</a></td>
</
tr
<else /> 
<
tr>
<
td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]:</a></td>
</
tr>
</if>
</
table>
</
form>
</
div>
<!-- / 
header quick search form -->
    </if>

    <if 
condition="$show['member']">
    <!-- 
user cp tools menu -->
    <
div class="vbmenu_popup" id="usercptools_menu" style="display:none">
        <
table cellpadding="4" cellspacing="1" border="0">
        
        <
tr><td class="thead">$vbphrase[quick_links]</td></tr>        
        <if 
condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
        <
tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
        <
tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
                
        <
tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
        <if 
condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
        <!--<if 
condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
        <
tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
        <
tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
        
        <
tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
        <if 
condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
        <
tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
        <
tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
        <if 
condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
        
        </
table>
    </
div>
    <!-- / 
user cp tools menu -->
    </if>
<!-- / 
NAVBAR POPUP MENUS -->

<!-- 
PAGENAV POPUP -->

    <
div class="vbmenu_popup" id="pagenav_menu" style="display:none">
        <
table cellpadding="4" cellspacing="1" border="0">
        <
tr>
            <
td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
        </
tr>
        <
tr>
            <
td class="vbmenu_option" title="nohilite">
            <
form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
                <
input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
                <
input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]/>
            </
form>
            </
td>
        </
tr>
        </
table>
    </
div>

<!-- / 
PAGENAV POPUP -->
</if>
<!-- / 
Navagation bar -->

<!-- 
content table -->
$spacer_open

$_phpinclude_output
$marquee 
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 05:13 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.04939 seconds
  • Memory Usage 2,449KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_php
  • (2)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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