Jump to content
vBWarez - Rest In Peace

VSa - Flash-Image Banner Rotator


Recommended Posts

  • Admin
[B]Info:[/B]
Easy to use/manage banner rotator which works with both, image and flash banners.


[B]Features:[/B]
-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


[B]Installation:[/B]
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


[B]Credits and Notes:[/B]
-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
-[U]It would be good idea to set the same height for all banners to avoid page content jumping[/U]


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


[B]Versions:[/B]
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

  • Like 4
Link to post
Share on other sites
  • 11 months later...
How to add more banner rotator managers (non-super admins)

open your includes/config.php and look for

$config['SpecialUsers']['superadministrators'] =

Add below

$config['VSABannerEditorTeam1']['VSABannerEditorTeam2'] = '[COLOR="#FF0000"][B]1,2,3,4,5[/B][/COLOR]';

The numbers in red are the user IDs that are allowed to access the banner editor screen

save and upload the new config.php

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

Open plugin - [COLOR="#FF0000"]VSa - Flash-Image Banner Rotator - OU[/COLOR]

find:

if (in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $vbulletin->config['SpecialUsers']['superadministrators'], -1, PREG_SPLIT_NO_EMPTY)))

and replace with

if (in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $vbulletin->config[COLOR="#FF0000"]['VSABannerEditorTeam1']['VSABannerEditorTeam2'][/COLOR], -1, PREG_SPLIT_NO_EMPTY)))

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

Open plugin - [COLOR="#FF0000"]VSa - Flash-Image Banner Rotator - SP[/COLOR]

same thing, replace ['SpecialUsers']['superadministrators'] with ['VSABannerEditorTeam1']['VSABannerEditorTeam2']

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

All user IDs entered in the config.php will have banner manager screen enabled Edited by mrbeattyjr
  • Like 1
Link to post
Share on other sites
  • 1 year later...
×
×
  • Create New...