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
Cyb - Flash-Image Banner Rotator Details »»
Cyb - Flash-Image Banner Rotator
Version: 1.8, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 04-30-2008 Last Update: 12-27-2008 Installs: 363
DB Changes Uses Plugins Auto-Templates
Translations  
No support by the author.

Info:
Easy to use/manage banner rotator which works with both, image and flash banners.


Features:
-one-step installation
-specify display duration/dimensions of individual image/swf
-set position on page and margins in ACP
-continuous and random play modes
-exclude usergroups from viewing banners
-automatically add banners to forum header (can be turned on/off)
-easy manage banners
-click counter


Installation:
1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
2. OPTIONAL: Open desired template and add "$cyb_flashimagebanners" where you wish banners to appear
3. OPTIONAL (if link to manage banners page is not shown in Quick links menu):
Open navbar template and add "$insert_cybfibr" after "$vbphrase[miscellaneous]</td></tr>"


To set options:
Go to: AdminCP > vBulletin Options > Cyb - Flash-Image Banner Rotator


Credits and Notes:
-Part of the javascript code was originally written by M. K. Namdeo few years ago.
-Only SuperAdmins can access Banner Management page


Versions:
v1.0 - Nov 11. 2006.
-Initial release
v1.1 - Jan 29. 2007.
-Fixed bug (code makes some functions in newthread form not working when WYSIWYG editor is enabled)
v1.2 - Feb 06. 2007.
-Added separate page for banners management (only SuperAdmins can access it)
-Added link to Manage Banners page to Quick Links menu (viewable to SuperAdmins only)
-Few more options in ACP, small code improvements,...
v1.3 - Feb 25. 2007.
-Fixed bug (' can't be used in titles)
-You don't need to set admincp folder name anymore (if changed). This is now detected automatically.
-Settings page better organized...
v1.4 - Jun 14. 2007.
-Completely rewritten version
-Better and easier banner management (check new screenshots)
-Added option to set pages where banners are shown (shown on all pages if blank)
-Added click counter
-Group membership checking works now for supplementary usergroups too
-Many other fixes and improvements
v1.5 - Jul 26. 2007.
-Fixed security exploits and known bugs
v1.5.1 - Jul 29. 2007.
-Improved security on writing data to some db fields
v1.6 - Aug 20. 2007.
-Added option to choose to open target links in new or current window/tab
-Fixed bug where ampersand can not be used in links
-Fixed bug with durations in Continuous play mode
-Added option to disable triangle used to catch clicks for flash banners
-Several minor compatibility/security fixes...
v1.7 - Apr 30. 2008.
-CSRF protection added
-Compatible with vBulletin 3.7 Gold (may not work with Beta/RC releases)
-Minor bugs fixed
v1.8 - Dec 28. 2008.
- New Play Mode: One banner per refresh
- New: You are now able to put e-mail address as banner link.
- Fixed bug: page flickering/blinking in Random Play Mode on some sites
- Minor bug fixes/code optimization


Live Demo: http://www.bihforum.com


PLEASE click INSTALL if you like this hack

Show Your Support

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

Comments
  #152  
Old 12-18-2008, 06:15 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can we have a Option to stop rotating automatically and only by Siderefresh?
Reply With Quote
  #153  
Old 12-18-2008, 07:59 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Option may be added in next version.
Reply With Quote
  #154  
Old 12-19-2008, 04:24 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great! :up:
Reply With Quote
  #155  
Old 12-22-2008, 01:06 PM
andreamarucci's Avatar
andreamarucci andreamarucci is offline
 
Join Date: Nov 2005
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've changed template of my forum and now the option to add automatically the banner at the top right of the page doesn't work anymore. Any suggestion other than add the code manually?
Reply With Quote
  #156  
Old 12-23-2008, 06:39 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Send me a header template content via PMs and I'll tel you what's missing.
Reply With Quote
  #157  
Old 12-24-2008, 01:44 PM
WNM07 WNM07 is offline
 
Join Date: Aug 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great mod .. but how do i change the background color ??
Reply With Quote
  #158  
Old 12-24-2008, 01:45 PM
PME PME is offline
 
Join Date: Dec 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I installed this fine add-on and it works great. Well everything went well with the first style. I created the banners and installed and it shows up on the right side of the header just like I expected.

Then I placed the code in the header for the other style and for some reason the banner shows up on the left side. I've tried everything to make it show on the right side of the table however......

<a name="top"></a>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="wrapper">
<tr>
<td valign="top" class="Lbdr"><img src="images/tigra/spacer.gif" alt="" width="4" height="1" /></td>
<td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="Cwrapper">
<tr>
<td class="headerbg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="headerL">&nbsp;</td>
<td>&nbsp;</td>
<td width="496" bgcolor="##00FFFF">$cyb_flashimagebanners</td>
</tr>
</table></td>
</tr>
<tr>
<td class="abovenavbg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="abovenavL">&nbsp;</td>
<td><div align="right" id="abovenav"> <a href="http://epme.peninsulamustang.com/upload/cmps_index.php">Peninsula Mustang Enthusiast</a></div></td>
</tr>
</table></td>
</tr>
<tr>
<td class="navbg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="navL">&nbsp;</td>
<td>

<!-- nav buttons bar -->

<table id="navstyle" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$show['member']">
<td><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
$template_hook[navbar_buttons_left]
<td><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[falq]</a></td>
<td><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" ><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
</if>
<if condition="$show['member']">
<td id="usercptools" ><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td><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>
</if>
</if>
$template_hook[navbar_buttons_right]
<if condition="$show['member']">
<td><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>

<!-- / nav buttons bar -->

</td>
</tr>
</table></td>
</tr>
<tr>
<td class="contentbg"><!-- content table -->
$spacer_open

$_phpinclude_output
Reply With Quote
  #159  
Old 12-24-2008, 08:57 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Replace:
Code:
<td class="headerL">&nbsp;</td>
with:
Code:
<td class="headerL" width="100%">&nbsp;</td>
Reply With Quote
  #160  
Old 12-26-2008, 12:26 PM
PME PME is offline
 
Join Date: Dec 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I fixed the above problem with a rebuild of the table but now I get 2 of the same errors:

Error: 'document.cbgoto.id' is null or not an object

I would appreciate any help please this is the best banner add-on I've found and I want to use it.

Rudy

http://epme.peninsulamustang.com/upload/cmps_index.php
Reply With Quote
  #161  
Old 12-27-2008, 11:58 AM
PME PME is offline
 
Join Date: Dec 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I multiple instances of the add-on running some how. Where ever there was a

<td>&nbsp;</td>

it kept inserting the call for the banners. Anyway fixed.

Rudy
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 03:48 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.05925 seconds
  • Memory Usage 2,325KB
  • 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)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