[SOLVED] Third party banner/ad management (flash files)

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
surogat
Forum Members
Forum Members
Posts: 52
Joined: Sun Jan 27, 2008 6:14 pm

[SOLVED] Third party banner/ad management (flash files)

Post by surogat »

Did anyone used, or tried to use, third party banner management with CMSMS? Something that supports .swf files?
Last edited by surogat on Sun Feb 19, 2012 10:58 pm, edited 1 time in total.
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am
Location: London

Re: Third party banner/ad management

Post by applejack »

Yes you can use the banners module and global content blocks. For swf files you need to be careful about the clicktag as it can cause problems.

See http://www.commercialriskeurope.com/
surogat
Forum Members
Forum Members
Posts: 52
Joined: Sun Jan 27, 2008 6:14 pm

Re: Third party banner/ad management

Post by surogat »

applejack wrote:Yes you can use the banners module and global content blocks.
I assume that you mean CMSMS Banner manager, which originaly does not support .swf file.. I've managed to put .swf banner where I wanted in it, but it's not user friendly solution at all..
Very nice site, btw..
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am
Location: London

Re: Third party banner/ad management

Post by applejack »

The banners module does support swf files. Just create a category and a flash template. The user can then just add the name of the .swf file. For third party serving adds just create a global content block and use the global randomise UDT to select which one to play it including selecting from the banners ads i.e. put the banners code into a Global block which is randomised along with the Global block for the Flash ad.
surogat
Forum Members
Forum Members
Posts: 52
Joined: Sun Jan 27, 2008 6:14 pm

Re: Third party banner/ad management

Post by surogat »

I'm missing something big time;

If I make banner template like this:

Code: Select all

{strip}
{if isset($banner.clickthrough)}
{object src='uploads/beneri/160/160x190-vitamini.swf' height='190' width='160' class='flashplayer'}
{else}
{* no url found, just displaying an image *}
{object src='uploads/beneri/160/160x190-vitamini.swf' height='190' width='160' class='flashplayer'}
{/if}
{/strip}
It work just fine, but when I want to get .swf banner like this;

Code: Select all

{object src="uploads/{$banner.image}" height='190' width='160' class='flashplayer'}
It does not get .swf banner...
User avatar
sugna
Forum Members
Forum Members
Posts: 196
Joined: Wed Oct 10, 2007 3:04 pm
Location: USA

Re: Third party banner/ad management

Post by sugna »

applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am
Location: London

Re: Third party banner/ad management

Post by applejack »

Code: Select all

{strip}
<a rel="nofollow" href="{$banner.clickthrough|replace:'&':'&'}" title="{$banner.name}" target="_blank"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,5,0,175" width="728" height="90"><param name="movie" value="uploads/images/banners/{$banner.image}" /><param name="menu" value="false" /><param name="scale" value="exactfit" /><param name="AllowScriptAccess" value="always" /><param name="wmode" value="transparent" /><embed src="uploads/images/banners/{$banner.image}" width="728" height="90" menu="false" scale="exactfit" AllowScriptAccess="always" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed></object></a>
{/strip}
surogat
Forum Members
Forum Members
Posts: 52
Joined: Sun Jan 27, 2008 6:14 pm

Re: Third party banner/ad management

Post by surogat »

@applejack
tnx, this works fine.
http://www.inpharma.hr/nutrijenti/
@sugna
OpenX solution sounds great, i hope that i'll have enough time soon
to try it/figure it out..

Thank you very much
Post Reply

Return to “Modules/Add-Ons”