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
  #252  
Old 06-05-2008, 05:31 PM
old7888 old7888 is offline
 
Join Date: Apr 2008
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't get it to work with 3.7.1
Reply With Quote
  #253  
Old 06-05-2008, 06:23 PM
webspider webspider is offline
 
Join Date: Jun 2003
Location: Canada
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works fine with 3.71 but you may want to try the proper version.
Reply With Quote
  #254  
Old 06-30-2008, 02:59 PM
glenbelt glenbelt is offline
 
Join Date: Apr 2008
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hopefully someone here can help - I'm trying to install the Banner Rotator but I've got a different forum style so I'm not too sure...

I can't find this line of code:

Quote:
<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />
on the Header section of my forum.

My Header section contains a lot more code than the default one:

Quote:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 331px;"><img src="$stylevar[imgdir_misc]/header_left.jpg" alt="" width="331" height="80" /></td>
<td style="background-image:url($stylevar[imgdir_misc]/header_bg.gif);"><div style="padding-right: 15px;" align="right">$random_banner3[$random_number3]</div></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="background-image:url($stylevar[imgdir_misc]/links_bg.gif); height: 22px;">
<div class="headlinks" style="padding-left: 15px;">

<a href="index.php">Home</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<a href="faq.php$session[sessionurl_q]" accesskey="5">FAQ</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<a href="http://www.paid2review.co.uk/$session[sessionurl_q]">Make Money Online</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<a href="http://www.make-money-investing.co.uk/$session[sessionurl_q]">Make Money Investing</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;

<a href="memberlist.php$session[sessionurl_q]">Members List</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a>
<else />
<a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></if></if>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;
<a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow" id="navbar_search">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if>
</if>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;
<if condition="$show['member']">
<a href="$show[nojs_link]#usercptools" id="usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></if>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;<a href="#">Advertise</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
<if condition="$show['member']"><a href="usercp.php$session[sessionurl_q]">UserCp</a></if>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;
<if condition="$show['registerbutton']"><a href="register.php$session[sessionurl_q]" rel="nofollow">Register</a></if></div>
</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="childforums" value="1" />
<input type="hidden" name="exactname" 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>
</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=n o,menubar=no,toolbar=no,scrollbars=yes,resizable=y es,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['pmmainlink']"><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 -->
</if>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 15px;"><img src="$stylevar[imgdir_misc]/links_under_left.gif" alt="" width="15" height="11"></td>
<td style="background-image:url($stylevar[imgdir_misc]/links_under_bg.gif);"><div align="right"><img src="$stylevar[imgdir_misc]/links_under_right.gif" alt="" width="15" height="11"></div></td>
</tr>
</table>

<div style="padding-top: 15px;"></div>
<table width="100%" border="0" cellspacing="11" cellpadding="0">
<tr>
<td valign="top">

<table style="background-color: #c5c7f1;" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" style="width: 7px; height: 7px;"><img src="$stylevar[imgdir_misc]/rounded_topleft.gif" width="7" height="7"></td>
<td colspan="2"><div align="right"><img src="$stylevar[imgdir_misc]/rounded_topright.gif" alt="" width="7" height="7"></div></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>






<!-- content table -->
$spacer_open

$_phpinclude_output

Any idea where the line of code is?


Thanks for any help
Reply With Quote
  #255  
Old 06-30-2008, 09:38 PM
wWw.Fun2Wii.Com wWw.Fun2Wii.Com is offline
 
Join Date: May 2008
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #256  
Old 07-06-2008, 11:16 PM
anderow anderow is offline
 
Join Date: Jun 2008
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FishMRC View Post
Yes I have, and I've also added the image/jpeg stuff, and still getting the error message!

I've loaded the newer version and this still doesnt work!

I'm starting to wonder why I am bothering with it.

The permissions are set at 777 on the ./image and .image/banners folders and still no luck.

Fish
Have you added it with an

|

so image/gif|image/jpeg

and so on .
No seperator is used at the end of the last item
Reply With Quote
  #257  
Old 07-09-2008, 03:59 PM
pt-hanhdung pt-hanhdung is offline
 
Join Date: Apr 2007
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"Not Found

The requested URL /misc.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

I attach link to banner. But when lick to banner , Iy not show link. It's make errors like that. Help me slove this problem.
Reply With Quote
  #258  
Old 07-13-2008, 04:16 PM
gbox master gbox master is offline
 
Join Date: Dec 2007
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

some things can drive you crazy
this is one of them

The selected file type is not allowed. image/gif
the file is a gif and the size is ok
so why is this not accepted ?

if some one could help me with this it would be apriciated
Reply With Quote
  #259  
Old 07-15-2008, 12:08 PM
pauldack pauldack is offline
 
Join Date: May 2008
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gbox master

You need to add the extension type to Options -> Banner Rotator -> Extensions
Reply With Quote
  #260  
Old 07-19-2008, 12:16 PM
Jonouchiboy Jonouchiboy is offline
 
Join Date: Oct 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi. I installed it, and the images are uploaded, but I can't see them in the 'Edit Banners' tab. What's wrong? http://img147.imageshack.us/img147/8625/nobannerfd4.jpg

it says: "
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to access /home99a/sub005/sc62064-XBST/www/forum/images/banners/Banner - 001.png in [path]/admincp/banner_rotator.php on line 56"

Also, there're not showing up on my frontpage either. I know it's in the right spot too. Thanks ^_^
Reply With Quote
  #261  
Old 07-19-2008, 07:43 PM
nMIK-3 nMIK-3 is offline
 
Join Date: Dec 2004
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To developer

A good idea is to add the ability to display a specific banner to specific forums, or limit a banner to be displayed only in a group of forums.
Also another good idea is to automatically deactivate a banner after a specific amount of views or hits.
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 10:30 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.05168 seconds
  • Memory Usage 2,332KB
  • 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
  • (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