Jump to content

stephan

Approved members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by stephan

  1. I commented out the function where the cookie is set.

    You could search for
    if (isset($GLOBALS['_OA']['invocationType']) && $GLOBALS['_OA']['invocationType'] == 'xmlrpc') {

    in files
    asyncspc.php
    cl.php
    lg.php

    Maybe you have to comment the function out in other files depending how you include your banner.

  2. On 8/28/2022 at 1:34 PM, chris said:

    I believe this is not only important for me, but for a lot of other Revive user, because all of us want to use the responsive banners which are state of the art now.

    Please make some noise ?
    I would like to get rid off my patch.
    Maybe you could leave a comment at the patch.

    With my patch about responsive images there are a bit more changes but until my patch is not added it is easier to add only the change I described here.

  3. First add a class to the image tag like this (e.g. Bootstrap)

    $imageTag = "$clickTag<img src='" . htmlspecialchars($imageUrl, ENT_QUOTES) . "' width='$width' height='$height' alt='$alt' title='$alt' class='img-fluid'$imgStatus />$clickTagEnd";

    I changed this in the file asyncspc.php at line 3462 (folder 'delivery') but this depend on the method you are using.

    Then copy this file
    https://raw.githubusercontent.com/revive-adserver/revive-adserver/35aa0c7c0507be3f4a94b7a7501f6100a9884b85/www/delivery_dev/async.js
    and replace the file in the folder 'delivery'.
    You could minify it if you like.

     

     

×
×
  • Create New...