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
  #72  
Old 06-05-2008, 05:43 PM
BWilliams BWilliams is offline
 
Join Date: Dec 2005
Location: Southern California
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HP10T View Post
Where do I upload the banners to? I don't see a cyb_banners/ folder
You need to "create" the folder.
Reply With Quote
  #73  
Old 06-05-2008, 06:14 PM
HP10T HP10T is offline
 
Join Date: Jan 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BWilliams View Post
You need to "create" the folder.
Any particular location?
Reply With Quote
  #74  
Old 06-05-2008, 06:23 PM
HP10T HP10T is offline
 
Join Date: Jan 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it working thanks.

Only thing is that I am not sure hwere to place $cyb_flashimagebanners in my header file to make it so that it is centered on the right side of my site, it keeps throwing off the margins and stuff and knocking my logo on the left side out of the table.
Reply With Quote
  #75  
Old 06-05-2008, 06:24 PM
BWilliams BWilliams is offline
 
Join Date: Dec 2005
Location: Southern California
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HP10T View Post
Any particular location?
I think it needs to be in the forum directory at minimum. I put mine in the ...forum/images/ folder.
Reply With Quote
  #76  
Old 06-05-2008, 07:02 PM
HP10T HP10T is offline
 
Join Date: Jan 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BWilliams View Post
I think it needs to be in the forum directory at minimum. I put mine in the ...forum/images/ folder.
Thanks got it, any way to help me figure out where to place the code for teh banner in my header?


Quote:
<!-- logo -->
<a name="top"></a>
<table align="center" style="border-collapse: collapse;width: 100%">
<tr>
<td valign="top" style="padding: 0;background-image: url($stylevar[imgdir_misc]/bar_l_bg.gif);width: 45px"><img src="$stylevar[imgdir_misc]/bar_l_top.gif" alt="" /></td>
<td valign="top" style="padding: 0">
<div id="vbwrapper">
<div id="logostrip"><img src="$stylevar[imgdir_misc]/logostrip_l.gif" alt="" /></div>
<div id="submenu-shell" align="center">
<ul id="submenu">
<li class="off"><a href="$vboptions[homeurl]">Home<span class="bottom">Home</span></a></li>
<if condition="$show['member']"><li class="off"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]<span class="bottom">$vbphrase[user_cp]</span></a></li></if>
<if condition="$show['registerbutton']"><li class="off"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]<span class="bottom">$vbphrase[register]</span></a></li></if>
<li class="off"><a href="faq.php$session[sessionurl_q]">$vbphrase[faq]<span class="bottom">$vbphrase[faq]</span></a></li>
<li class="off"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]<span class="bottom">$vbphrase[members_list]</span></a></li>
<li class="off"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]<span class="bottom">$vbphrase[calendar]</span></a></li>
<li class="off"><a href="search.php$session[sessionurl_q]">$vbphrase[search]<span class="bottom">$vbphrase[search]</span></a></li>
</ul>
</div>
<div id="vbwrapper2">
<div class="b-middle"><div class="b-left"><img src="$stylevar[imgdir_misc]/border_top_l.gif" alt="" /></div><div class="b-right"><img src="$stylevar[imgdir_misc]/border_top_r.gif" alt="" /></div></div>
<div id="vbwrapper3">
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
Reply With Quote
  #77  
Old 06-06-2008, 01:34 PM
bluidkiti bluidkiti is offline
 
Join Date: Dec 2006
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My problem is once I click on a banner and it takes me to the site for that banner when I go back to where I have the banner rotator on my site and click on another banner nothing happens unless I reload the page. Help please?
Reply With Quote
  #78  
Old 06-28-2008, 09:05 PM
ETDC ETDC is offline
 
Join Date: Aug 2007
Location: United Kingdom
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this hack enable 'skyscraper' ads on, say, the right side of the board?
Reply With Quote
  #79  
Old 06-29-2008, 04:02 AM
JVSP JVSP is offline
 
Join Date: Jul 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I adjust the banner vertically?

Thanks
Reply With Quote
  #80  
Old 07-05-2008, 01:58 PM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi CYBERNETEC - Thanx for the share! Question though - I'm attempting to use this for a left block module on the Ultimate Side Columns hack, using the following code.

Code:
 <tr>
<td class="alt1">

<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr><td class="tcat">
Partners & Affiliates
</td></tr>
<tr><td class="alt1">
$cyb_flashimagebanners
 <br />
 <div class="smallfont" align="center"><a href="http://www.wholinks2me.com/" title="Click here to see who's linking JPiC Forum." target="_blank">Who Links To JPiC Forum?</a></div>
</td></tr>
</table>

</td>
</tr>
The banners don't show for some reason - Help please.

Thanx,

Jacquii.
Reply With Quote
  #81  
Old 07-07-2008, 03:00 AM
airborneCAL airborneCAL is offline
 
Join Date: Feb 2007
Location: Texas
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 1quick1 View Post
Finally figured it out. The Admins account has to have admin set as the primary usergroup and not as an aditional usergroup. If you use the experience mod that's here and use the promotion system within that, one of the requirements is to set your admin account to admin as the secondary group. So this will not work with the automatic promotion system in the experience hack.
Great work 1quick - I couldn't figure out the problem and never received any help with it. Cyb, can this be fixed to include additional usergroups?
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 06:59 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.04812 seconds
  • Memory Usage 2,321KB
  • 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
  • (1)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