Symptoms
It is specified that the following elements are supported in the body of Advertising Banner message:- Text
- Macros
- HTML code
- Hyperlinks
- E-mail links
Is it possible to add flash as Advertising Banner?
Resolution
You may add flash as Advertising Banner to Trial Sites Settings using instructions below.1. Put SWF file under Parallels Plesk Sitebuilder htdocs directory (/usr/local/sitebuilder/htdocs for RedHat-like OS, /opt/sitebuilder/htdocs for Debian-like OS) and correct permissions.
For example:
~# cd /usr/local/sitebuilder/htdocs
htdocs]# ls -l tmp/flash.swf
-rw-r--r-- 1 apache apache 244906 Oct 10 15:09 tmp/flash.swf
htdocs]#
2. Login to Parallels Plesk Sitebuilder as admin
3. Change to Advertising Banner configuration page at Server > Trial Sites Settings: Advertising Banner. By default the batter is "You can buy hosting at http://yourdomain."
4. Click button "Source" in WYSIWYG menu
5. Enter the HTML code. For example:
<object height="250" align="" width="500" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">
<param name="movie" value="tmp/flash.swf?code=Default" />
<param name="quality" value="high" />
<param name="Scale" value="ShowAll" />
<param name="wmode" value="transparent" />
<param name="wmode" value="opaque" />
<param name="FlashVars" value="BackgroundId=1&ObjectId=1&Text1=Flash+Intro+page+title&Text2=Flash+Intro+body+text" /><embed height="250" align="" width="500" quality="high" bgcolor="#FFFFFF" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="opaque" src="tmp/flash.swf?code=Default" flashvars="BackgroundId=1&ObjectId=1&Text1=Flash+Intro+page+title&Text2=Flash+Intro+body+text"></embed></object>
Where tmp/flash.swf is location of your SWF file relatively Parallels Plesk Sitebuilder htdocs directory.
Trial site will be available for selected period of time via URL http://sitebuilder.host.name/HostingPreview?siteId=961602544982cb8a37fd1c4f4118a4c3.
Where "sitebuilder.host.name" is Sitebuilder virtual host name and "961602544982cb8a37fd1c4f4118a4c3" is id of the trial site.
Flash Advertising Banner will be shown on the top of the site.