Forums / Install & configuration / openAds 2.3 custom tag discussion

openAds 2.3 custom tag discussion

Author Message

Pascal Specht

Thursday 27 September 2007 5:22:43 am

Hi Vincent,

If you have several banners attached to the campain they will change at each display, but not on their own. I didn't use rotating banners so far, but I would suggest you look at the http://docs.openads.org/ site for this feature. I believe this must probably be done with some client-side refreshing, in i-frames or Ajax...
I would also be interrested in knowing how to do this, but I can't investigate much time now for this as this feature is not (yet) on my roadmap.

Pascal

Pascal Specht

Thursday 27 September 2007 5:47:59 am

http://forum.openads.org/index.php?showtopic=503413839&hl=rotate

could be a good starting track...

laurent le cadet

Thursday 27 September 2007 7:54:41 am

Vincent,

You can have several "annonceurs" (my openads install is in french) with several "campagne".
Then you have an "editeur" which define several "zones".
In each zone you can link banners.
You can have the "code d'invocation" of each zone.
Choose the appropriate output.
In my case I choose the javascript tag which will look more or less like this :

<!--/* Openads Javascript Tag v2.3.39-beta */-->

<!--/*SSL Delivery CommentSSL Backup CommentComment
 */-->

<script type='text/javascript'><!--//<![CDATA[
  var m3_u = (location.protocol=='https:'?'https://zoneindustrie.alfanwt.net/openads/www/delivery/ajs.php':'http://zoneindustrie.alfanwt.net/openads/www/delivery/ajs.php');
  var m3_r = Math.floor(Math.random()*99999999999);
  if (!document.MAX_used) document.MAX_used = ',';
  document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
  document.write ("?zoneid=3");
  document.write ('&amp;cb=' + m3_r);
  if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
  document.write ("&amp;loc=" + escape(window.location));
  if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
  if (document.context) document.write ("&context=" + escape(document.context));
  if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
  document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://zoneindustrie.alfanwt.net/openads/www/delivery/ck.php?n=a6236586&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://zoneindustrie.alfanwt.net/openads/www/delivery/avw.php?zoneid=3&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a6236586' border='0' alt='' /></a></noscript>

Don't wory openads write it for you.

You can copy paste the code in a litteral zone of a xml bloc or in an appropriate template regarding your site design.

Laurent

Oliver Frommel

Wednesday 21 November 2007 6:43:40 am

Hello,

we tried to use the OpenAds extension but failed. Debugging output of our templates says "Operator 'openads_html' is not registered". We activated the extension in both the global override site.ini.append.php (ActiveExtensions[]=openads) and (to test) in a specific site access (ActiveAccessExtensions[]=openads).

Adding "ExtensionAutoloadPath[]=openads" in settings/override/site.ini.append.php did not help either.
I put some code in (eZDebug::writeWarning()) in openads/autoloads/eztemplateautoload.php but the output did never show up.

We are using eZpublish 3.9.2 and Openads 2.4.

Is there anything we can do to debug this problem?

Thanks
Oliver

Pascal Specht

Wednesday 21 November 2007 8:48:55 am

Hello Oliver,

I checked against my installation, and I only have this in my override/site.ini.append.php:

[ExtensionSettings]
ActiveExtensions[]=openads

I don't know what else could be wrong, but I've seen also that sometimes clearing the cache helps a lot...
rm -fr www/var/cache
rm -fr www/var/ezwebin_site/cache

I hope you get along with this problem... If you're not getting any debug output the autoload stub, it really seems that the extension isn't loaded at all.
Sorry, I can't say much more at this point,

</Pascal>

Shawn Holder

Sunday 16 March 2008 11:40:40 am

I too am getting the Operator 'openads_html' is not registered". What was the fix for this? I checked the ini files and the extension is active and autoload/ezp_extension.php file contains the correct listing for the extension

  
'OpenadsOperators'          => 'extension/openads/lib/openads_operators.php', 

but I am still getting the error. Any advice?

laurent le cadet

Wednesday 30 April 2008 12:32:40 am

Hi,

Is there compatibilty between openx and ezpublish 4 ?
I'm trying to install openx and I have a "module not found".

Any hint ?

Best regrads.

laurent

Pascal Specht

Wednesday 30 April 2008 1:20:28 am

Hi Laurent,

I did not yet decide to switch to 4.0, as I'm still waiting for a more stable release.
Therefore I have no ideas if this module works together with eZ 4.0, sorry.

</Pascal>

laurent le cadet

Wednesday 30 April 2008 1:23:59 am

Thanks Pascal.

Let us know!

Laurent

Eirik Alfstad Johansen

Tuesday 05 August 2008 7:18:28 am

Hi Pascal,

Still to plans to make this extension compatible with openx and eZP 4?

I'm looking into using this for a future project which will definetly run 4.0.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Pascal Specht

Wednesday 06 August 2008 3:38:41 am

Hello Eirik,

sorry for my late answer, didn't see your message before.
I'm still using 3.x as the base revision for our devs, therefore I didn't adapt the extension to 4.0. But I don't expect it to be difficult to do, as there isn't much code to modify if needed.

Sorry, no 4.0 out of the box for now,

</Pascal>

Brendan Pike

Thursday 30 April 2009 4:36:55 am

Has anyone updated the code to to support openX and if so would they be willing to share it please?

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Andy Caiger

Thursday 30 July 2009 12:26:12 am

We are also interested in OpenX and would be interested to hear if there is an extension that works with eZ Publish 4 and the latest version of OpenX.

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.com