Promo Block

hello you all

i want to remove the promo block on my website and replace it with a banner rotator from has http://www.flashxml.net/banner-rotator.html anyone tried this and will this work with a dolphin website? if so how can i install it correctly. any advice is helpful

thank you

For live support go see Jason at http://www.dolphin-techs.com he is a real big help!
Quote · 21 Feb 2012

Hello,

I want to add a component from Flashxml.net called BannerRotatorFX into the promo block. I downloaded the zip file and extracted all the files into a folder I made in cPanel ---> public_html ---> BannerRotator and i am not quiet sure where the index.html file goes. Does anyone know where this file goes in the cPanel I have the URL below with the instructions.

http://www.flashxml.net/banner-rotator.html

I am trying to add the code that was generated from flashxml.net in the promo block via Admin Panel ---> Settings ---> Basic Settings ---> Use Custom html block. I am not sure if flashxml.net components work with Boonex Dolphin. When I insert the code, save it and clear cache via admin panel it doesn't show the BannerRotatorFX on my website.  Instead, it shows the code (download the attachment at the bottom) in the promo block. I am pretty sure all the paths in the code are correct. 

You can see the instructions and the component I am trying to use at http://www.flashxml.net/banner-rotator.html have a look at the instructions please maybe i did something wrong. What else could be the problem?

All help will be appreciated very much!

Thank you all!

PromoBlockScript.png · 168.8K · 245 views
For live support go see Jason at http://www.dolphin-techs.com he is a real big help!
Quote · 23 Feb 2012

Well lmao! I guess its time to hang this up!

Thanks anyways

For live support go see Jason at http://www.dolphin-techs.com he is a real big help!
Quote · 24 Feb 2012

To make this work in dolphin do the following....

Unpack the zip file you downloaded. By default the folder name will be banner-rotator

Stick with the default name. Upload that folder to your server via FTP. You could also just upload the zip file to your server and unpack the zip file there. Both will result in a folder named banner-rotator.

When done you should have a folder public_html/banner_rotator which contains the files and a images folder.

Now replace the contents of public_html/banner_rotator/settings.xml with this. I have highlighted the width and height settings in red. These settings are proper for dolphins default page width.

<?xml version="1.0" encoding="ISO-8859-1"?>
<settings>
<generalOptions imagesXML="images.xml" styleCSS="style.css" bannerWidth="974" bannerHeight="262" randomImages="false" randomTransitions="true" imageFitting="bestFit" autoStart="true" firstWithTransition="true" autoTiming="true" pauseOnMouseOver="false" loadNextImageInBack="true" backgroundColor="" />
<transitions value="1,2,3,4,6,8,9,10,12,15,16,17,18,22,24,33,35,38,41,43,45,48,51,53,55,59,60,62,65,67,69,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,103,106" />
<imageEffects type="random" zoomPercent="20" duration="5" direction="left" hZoomPos="random" vZoomPos="random" />
<preloaderOptions show="true" hAlign="center" vAlign="center" padding="20" size="30" />
<controlsOptions show="true" hPos="right" vPos="bottom" padding="10" alignment="horizontal" numbersOverNextButton="true" />
<controlsOrder value="playpause,previous,next,fullscreen,timer" />
<textOptions show="true" embedFont="true" hPos="random" vPos="random" width="0" height="0" padding="30" distance="5" />
<textEffects slide="true" alpha="true" blur="true" appear="random" function="random" method="easeOut" duration="1.3" bodyDelay="0.4" />
<textBackground type="asText" headColor="0x112233" alpha="40" bodyColor="0x002244" padding="5" cornerRadius="3" />
<buttonOptions shape="circle" size="20" symbolSize="60" spacing="4" />
<buttonColors back="0xFFFFFF" symbol="0x222222" alpha="90" />
<buttonColorsOver back="0xAAAAAA" symbol="0xFFFFFF" alpha="100" />
<numberColors back="0xF6EED3" symbol="0x222222" alpha="85" />
<numberColorsOver back="0xA59F88" symbol="0xFFFFFF" alpha="100" />
<selectedNumberColors back="0xFFFFFF" symbol="0x000000" alpha="100" />
</settings>


Now the next part. The tinyMCE editor in dolphin will mess up the javascript code when you paste it into the promo block. So you need to insert it manually.

Open phpMyAdmin from cpanal and open your dolphin database. Go to the sys_options table and find custom_promo_code. Should be on the second page. Edit that and paste this into the value field. I have highlighted the name of the folder where the banner files are in red and the height and width settings that work with the default dolphin page size. If you stuck to the default name as i suggested this code will work as is without any changes.

<script type="text/javascript" src="banner-rotator/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.folderPath = "banner-rotator/";
var params = {};
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowScriptAccess = "always";
var attributes = {};
swfobject.embedSWF("banner-rotator/BannerRotatorFX.swf", "BannerRotatorFXDiv", "974", "262", "9.0.0", false, flashvars, params, attributes);
</script>
<div id="BannerRotatorFXDiv"></div>


I have tested this and i know it works. See it running on my site. http://www.deanbassett.com

I will not be leaving this test up on my site for long, so if you want to see it working, do it soon.


https://www.deanbassett.com
Quote · 24 Feb 2012

great instructions deano! well done!

so i figure the code was being stripped but i just didnt know where to add it manually in the database. i did the same the thing with a html block. i was having problems with the code being stripped and i did similar thing that you instructed above but it was in a different place in the database. 

anyways thanks a lot for the well written instructions deano 

For live support go see Jason at http://www.dolphin-techs.com he is a real big help!
Quote · 24 Feb 2012

Deano, well done job! I was just searching for a answer for the promo block. How about a string that places the _promo_block on page 1, but when a user is logged in, it will change to another set of images that are just for members?

Any ideas? I have the old code for making the promo block disappear in 7.0.x, and I see it is included in 7.1, but the functionality I want is something I have seen in Wordpress.

Even Monkeys and Retards get it right with repitition! - Author Unknown
Quote · 2 Jul 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.