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
  #32  
Old 05-06-2008, 03:41 PM
axg axg is offline
 
Join Date: Jul 2006
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any other way of getting to the management of the banners? I do not have a quick links. Or how would i go about adding a link to it?
Reply With Quote
  #33  
Old 05-06-2008, 04:32 PM
QATARAT QATARAT is offline
 
Join Date: Dec 2002
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi

to go to the management >>
Quote:
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>"
www.ursite.com/forum/misc.php?do=cybbannman


---------------------

problem with checking in w3.org

Quote:
for (var iCtr=0; iCtr < this.aCybs.length; iCtr++)
thank u
Reply With Quote
  #34  
Old 05-06-2008, 08:17 PM
fourat fourat is offline
 
Join Date: Mar 2008
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you nomenated

this hack is not Valid XHTML 1.0 Transitional ?
http://validator.w3.org/
Reply With Quote
  #35  
Old 05-06-2008, 10:13 PM
airborneCAL airborneCAL is offline
 
Join Date: Feb 2007
Location: Texas
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by McMendo View Post
Same problem here!

misc.php?do=cybbannman gives the smilies page.
Can we get some help with this?
Reply With Quote
  #36  
Old 05-07-2008, 01:16 AM
axg axg is offline
 
Join Date: Jul 2006
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by QATARAT View Post
hi

to go to the management >>


www.ursite.com/forum/misc.php?do=cybbannman


---------------------

problem with checking in w3.org



thank u
DOH!, thanks, i guess i should have read a little bit closer.. lol
Reply With Quote
  #37  
Old 05-07-2008, 12:25 PM
McMendo McMendo is offline
 
Join Date: Aug 2006
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error when I try to import the xml product:
Code:
No file uploaded and no local file found.
Reply With Quote
  #38  
Old 05-07-2008, 06:01 PM
McMendo McMendo is offline
 
Join Date: Aug 2006
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by McMendo View Post
I get this error when I try to import the xml product:
Code:
No file uploaded and no local file found.
I found the problem. Sorry.
Reply With Quote
  #39  
Old 05-07-2008, 10:24 PM
djlotus djlotus is offline
 
Join Date: Oct 2005
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack works great. Thanks a lot for it.


INSTALLED
Reply With Quote
  #40  
Old 05-09-2008, 01:38 PM
sqzdog sqzdog is offline
 
Join Date: Apr 2005
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed a new style and I don't know where in the code I am supposed to add $cyb_flashimagebanners

Here is my header code:

Quote:
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td height="122" class="header"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="300"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img border="0" src="cb/cb/logo.gif" width="300" height="122" alt="$vboptions[bbtitle]" class="logo"/></a></td>
<td width="670"><div class="afterlogo">Banner Or Announcements Here</div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="35" class="nv">
<div class="nvlink" align="center">
<if condition="$show['member']"><a href="usercp.php$session[sessionurl_q]" >$vbphrase[user_cp]</a></if>
<if condition="$show['registerbutton']"><a href="register.php$session[sessionurl_q]" rel="nofollow" >$vbphrase[register]</a></if>
<a href="faq.php$session[sessionurl_q]" accesskey="5" >$vbphrase[faq]</a>
<if condition="$vboptions['enablememberlist']"><a href="memberlist.php$session[sessionurl_q]" >$vbphrase[members_list]</a></if>
<if condition="$show['popups']"><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>
<a id="navbar_search" 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",true); </script></if></if>
<a href="calendar.php$session[sessionurl_q]" >$vbphrase[calendar]</a>
<if condition="$show['member']"><a id="usercptools" href="$show[nojs_link]#usercptools" >$vbphrase[quick_links]</a><script type="text/javascript"> vbmenu_register("usercptools",true);</script>
<else /><if condition="$show['searchbuttons']"><a href="search.php$session[sessionurl_q]" accesskey="4" >$vbphrase[search]</a></if></if>
<if condition="$show['member']"><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></if>
</div>
</td>
</tr>
</table>

$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
Reply With Quote
  #41  
Old 05-12-2008, 08:16 PM
midwestce midwestce is offline
 
Join Date: Sep 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am still having the issue with the hyperlink not showing up on the banner at all. Any insight on this?

Thanks.
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 04:23 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.09774 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
  • (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