vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Cyb - Flash-Image Banner Rotator (https://vborg.vbsupport.ru/showthread.php?t=131254)

Valter 11-10-2006 10:00 PM

Cyb - Flash-Image Banner Rotator
 
vB 3.7 VERSION HERE:
https://vborg.vbsupport.ru/showthread.php?t=177705



======


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 two 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...


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


PLEASE click INSTALL if you like this hack ;)

DPSR 11-11-2006 06:21 AM

Thanks buddy :)

I will check it out

ICY ICE 11-11-2006 08:01 AM

Very cool, just installed it in 3.6.2 works perfectly!

I'm upgrading to 3.6.3 next week...will follow up.

Thanks,
ICE

bonjurkes 11-11-2006 10:01 AM

how can we make it show after x post at thread?

Martin-TMGRS 11-11-2006 01:18 PM

I've install this hack but dont see it on my forum home!!!! My Forum

iran.gs 11-11-2006 01:59 PM

Installed but takes a lot of loading speed away !!

project-Buckfas 11-12-2006 12:24 PM

Reserved

Itworx4me 11-14-2006 02:33 AM

I get an script error in Internet Explorer which takes my site down when accessing the main directory. Locks it up tight!!!

Valter 11-15-2006 01:00 AM

Quote:

Originally Posted by iran.gs (Post 1114763)
Installed but takes a lot of loading speed away !!

Only first time images are loaded and then cached for later use.
Banners are usually small files, few kilobytes, so I see no how this can be problem.

Itworx4me,
I see no any reason that this hack makes such problems.
Tested on clean board with Firefox and IE. No problems in any of these browsers.

Itworx4me 11-16-2006 01:18 AM

Ok I figured out what was causing internet explorer to lock up. I have it working now and I still see some errors with the script.

I run my board in the root directory. I also run vb-advance. When you view the banners in the forums the hyper link shows http://www.sitecom/http://www.site.com/banners/test.jpg. On the vb-advance index pages the links show just fine. Also I tried to hard code the images into the code and it shows this and the path http://www.sitecom/http://www.site.com/banners/test.jpg. It also give the dreaded RED X on all pages. Not sure how to get the path to work correctly.

Thanks,
Itworx4me


All times are GMT. The time now is 11:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01962 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete