Not sure what the status is on this, will the d6 version of ad be incorporating this addon module, or will this module be ported to Drupal 6 itself?

CommentFileSizeAuthor
#9 ad_flash.zip16.33 KBintrofini
#1 ad_flash.zip15.08 KBartis.bajars

Comments

artis.bajars’s picture

Status: Active » Needs review
StatusFileSize
new15.08 KB

Here's my attempt at porting ad_flash for Drupal 6, in case anyone else needs this

Changes made:

  • Added hook_theme registration
  • Removed ad_flash_menu() hook
  • Made minor adjustments to database queries in ad_flash_display_ad() and ad_flash_global_settings_submit()
  • Changed adapi implementation at case:"type"
  • Fixed clickTAG output in theme functions to get redirects working

Tested with Drupal 6.9 and latest dev release of ad.module (2009-Jan-30).
The .js files from http://www.adobe.com/devnet/activecontent/articles/devletter.html are not included in the attachment. Follow the installation instructions to add those. Feel free to test and comment.

chriscohen’s picture

Many thanks indeed for this. I intend to test this soon with a view to creating a snapshot for D6.

Jānis Bebrītis’s picture

this is truly great work, converting module for active release.

manuel garcia’s picture

Many thanks artis.bajars!! I'll stay tuned for the 6.x-1.x-dev for testing

off’s picture

Thanks!

Module work great for me.

Ad 6.x-1.1

Drupal 6.10

pandelon’s picture

Unfortunately dosen't work for me.

" Unable to locate flash" - when a preview the ad.

Ad 6.x-1.1

Drupal 6.10

introfini’s picture

it stoped working in the last beta6...

introfini

nrauni’s picture

It didn't work to me..

I'm using the ad

; $Id: ad.info,v 1.1.2.2.2.1 2008/08/11 21:15:26 jeremy Exp $

with the drupal 6.10.

UPDATE: I needed to change the function called adaccess by ad_permission.

my the banner didn't show the banner, looking the source code it show:

<div class="content">
<script type='text/javascript' src='http://localhost/test/sites/all/modules/ad/serve.php?q=1&t=0&u=node/79'></script>  </div>
</div>

accessing http://localhost/test/sites/all/modules/ad/serve.php?q=1&t=0&u=node/79

It show disconfigured codes, like this

.....\x3c/script\x3e\n ');

I tryed to change the html.. but...

Do you have any ideia?

thanks

introfini’s picture

StatusFileSize
new16.33 KB

working version in the attachment

introfini

chriscohen’s picture

I've put together a Drupal 6 dev version using introfini's attachment above. Thanks for all the effort on this.

Alex Andrascu’s picture

Status: Needs review » Closed (fixed)