Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VSa - Flash-Image Banner Rotator Details »»
VSa - Flash-Image Banner Rotator
Version: 2.0.4, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 02-17-2010 Last Update: 06-15-2012 Installs: 334
DB Changes Uses Plugins Auto-Templates
 
No support by the author.

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


Features:
-simple installation
-specify display duration/dimensions of individual image/swf
-set destination pages/templates, and floating in ACP
-play modes: continuous, random, single per refresh
-exclude usergroups from viewing banners
-automatically add to forum navbar (can be turned on/off)
-easy manage banners
-click counter
-send e-mail form
-set if you wish to force reload on individual images


Installation:
1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
2. OPTIONAL:
- Open desired template and add "{vb:raw vsa_flashimagebanners}" where you wish banners to appear
- Go to product settings and add THIS_SCRIPT and template name of destination page


Credits and Notes:
-Part of the javascript code was originally written by M. K. Namdeo
-Only SuperAdmins can access Banner Management page
-Don't add to several locations on the same page, as it will not work
-It would be good idea to set the same height for all banners to avoid page content jumping


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


Versions:
v1.0 - Nov 11. 2006.
-Initial release
v1.8 - Dec 28. 2008.
-Latest version for vB3.x
v2.0 - Feb 17. 2010.
-Updated for vBulletin 4
-New: Option to force reload of selected banners
-Known bugs fixed
v2.0.1 - Mar 01. 2010.
-Fixed: 'Manage Banners' link permissions
-Fixed: Positioning and insertion issues
-New: Ability to adjust CSS (ACP Option)
-New: Trim titles/links on Manage Banners page to save some space
-Note: Happy Independence Day to all Bosnians
v2.0.2 - Apr 18. 2010.
-Fixed: SuperAdmin permissions
-Fixed: Some style issues
v2.0.3 - May 22. 2012.
-Compatible with vBulletin 4.2
v2.0.4 - Jun 16. 2012.
-QL Link compatible with vBulletin 4.2.1
-Several style improvements

Download Now

File Type: zip VSa - Flash-Image Banner Rotator v2.0.4.zip (9.6 KB, 846 views)

Screenshots

File Type: jpg ql.jpg (43.0 KB, 0 views)
File Type: jpg manage.jpg (60.6 KB, 0 views)
File Type: jpg acp.jpg (205.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
6 благодарности(ей) от:
Crispin Proctor, maupz, mohammadxxx, RichieBoy67, Terminal-Access, yilmaz

Comments
  #52  
Old 02-28-2010, 07:55 PM
HRCHOSTING HRCHOSTING is offline
 
Join Date: May 2009
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you have an ETA on the CMS version? This mod would be perfect for me if that were available!
Reply With Quote
  #53  
Old 02-28-2010, 09:29 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by andreamarucci View Post
Maybe it's not possible bu I try. I would like to use this mod to put a rotating banner here.

Attachment 113287

Is it possible? If it's possible, how?
I'll post new version soon.

Using new version do the following in product options:
- Disable auto-insertion
- Add 'navbar' to 'templates' setting
- Add 'margin-top:-30px;' to a new CSS setting (you can set -30 to different value if needed)

Then:
- Add '{vb:raw vsa_flashimagebanners}' to the top of 'navbar' template
Reply With Quote
  #54  
Old 02-28-2010, 09:36 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v2.0.1 - Mar 01. 2010.
-Fixed: 'Manage Banners' link permissions
-Fixed: Positioning and insertion issues
-New: Ability to adjust CSS (ACP Option)
-New: Trim titles/links on Manage Banners page to save some space
-Note: Happy Independence Day to all Bosnians

To upgrade:
-Import XML, allow overwrite
-Revert product templates if modified
Reply With Quote
  #55  
Old 02-28-2010, 11:39 PM
HRCHOSTING HRCHOSTING is offline
 
Join Date: May 2009
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working now in the forums... Thanks!

When do you expect to have a working version for the CMS?
Reply With Quote
  #56  
Old 03-01-2010, 08:49 AM
Alex@Mk3OC Alex@Mk3OC is offline
 
Join Date: Dec 2007
Location: Northants, UK
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent mod, but I can't figure out how to place the banner in different places. I want it to go directly below the navbar, above the main forum display and the breadcrumb navigation links
Reply With Quote
  #57  
Old 03-01-2010, 11:07 AM
andreamarucci's Avatar
andreamarucci andreamarucci is offline
 
Join Date: Nov 2005
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Valter View Post
I'll post new version soon.

Using new version do the following in product options:
- Disable auto-insertion
- Add 'navbar' to 'templates' setting
- Add 'margin-top:-30px;' to a new CSS setting (you can set -30 to different value if needed)

Then:
- Add '{vb:raw vsa_flashimagebanners}' to the top of 'navbar' template
Thank you very much Valter. Discovered also where to put the additional css...

I've just donated to you since your support and your mode are invaluable... Thanks for everything...
Reply With Quote
  #58  
Old 03-01-2010, 07:19 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm glad it works fine now. :-)

Thanks for your support!
Reply With Quote
  #59  
Old 03-02-2010, 11:59 AM
Alex@Mk3OC Alex@Mk3OC is offline
 
Join Date: Dec 2007
Location: Northants, UK
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alex@Mk3OC View Post
Excellent mod, but I can't figure out how to place the banner in different places. I want it to go directly below the navbar, above the main forum display and the breadcrumb navigation links
Anyone got any ideas on the above?

Also is there anyway of using this with Google Adsense as well as regular banners?
Reply With Quote
  #60  
Old 03-02-2010, 11:36 PM
valendono valendono is offline
 
Join Date: Feb 2008
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is only one position of banner ? how about multi position ? like header and footer ?
Reply With Quote
  #61  
Old 03-03-2010, 02:14 PM
mawby mawby is offline
 
Join Date: Jun 2004
Location: Wiltshire, England
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a small problem, in the plugin "VSa - Flash-Image Banner Rotator - OU" you use;

PHP Code:
 if (in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s'$vbulletin->config['SpecialUsers']['superadministrators'], -1PREG_SPLIT_NO_EMPTY))) 
to determine if the Quick Links menu should have the "Manage Banners" item added, but in "VSa - Flash-Image Banner Rotator - SP" you use;

PHP Code:
if ($vbulletin->userinfo['usergroupid']=='6'
which means if a user group has super moderator permissions, but isn't group ID 6, they get the "Manage Banners" menu option but when it's clicked they are taken to a page of smilies!

EDIT TO ADD - This also applies to editing a banner where it checks for usergroupid==6 too.
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 11:29 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.05230 seconds
  • Memory Usage 2,356KB
  • Queries Executed 26 (?)
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_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (6)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete