Jump to content

andrewatfornax

Administrators
  • Content Count

    1,898
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    andrewatfornax reacted to eagleview in Openx Adserver Destination Url In Emails (Version 2.8)   
    You are great ... worked perfectly ... thank you!!! 
  2. Upvote
    andrewatfornax reacted to Matteo Beccati in 2013 Backdoor   
    Yes. The backdoor you are talking about was fixed by OpenX Inc itself.
  3. Upvote
    andrewatfornax reacted to delete-me in Asynchronous Loading   
    Since I've taken the time to find a solution which works for my website, I decided to pass along my solution.
    This works in a jQuery environment, but doesn't depend on jQuery.
     
    Using this Javascript library (available under the terms of the MIT License):
    https://github.com/iamnoah/writeCapture/tree/writeCapture2
     
    First, load the library, so you can use the function:
    <script src="/path/to/element.write.js"></script> <script src="/path/to/writeCapture2.js"></script> Then simply rewrite your invocation code like so
    <div id="AdPlaceholder"> <!-- ad will go here --> </div> <script> /* this function wrapper keeps global memory space clear of random variables */ (function(){       var oxSrc = (document.location.protocol === "https:" ? "https:" : "http:")          + "//example.com/ReviveAdserver/www/delivery/ajs.php"          + "?zoneid=123&block=1&blockcampaign=1&cb=" + Math.floor(Math.random()*99999999999)          + "&charset=UTF-8&loc=" + encodeURIComponent(window.location)          + (document.MAX_used !== "," ? ("&exclude=" + document.MAX_used) : "")          + (document.referrer ? ("&referer=" + encodeURIComponent(document.referrer)) : "")          + (document.context ? ("&context=" + encodeURIComponent(document.context)) : "")          + (document.mmm_fo ? "&mmm_fo=1" : "");       writeCapture.write(          document.getElementById("AdPlaceholder"),          "<scr" + "ipt src='" + oxSrc + "'></scr" + "ipt>"       ); })(); </script> If you don't need the ability to prevent displaying the same banner / campaign / advertiser on a single page, then you are done.
     
    If your like me, and need campaign and advertiser blocking (to prevent duplicates), you'll have to do continue with the next step.
     
    When the javascript runs the string stored in oxSrc has the current value of document.context, however subsequent ads need the revised value of document.context, to prevent duplicate ads.
     
    The solution is to wrap the string creation into the javascript which is excuted asynchronously, so that the revised value of document.context is used, like so
    <div id="AdPlaceholder"> <!-- ad will go here --> </div> <script> /* this function wrapper keeps global memory space clear of random variables */ (function(){ writeCapture.write( document.getElementById("AdPlaceholder"),          '<scr' + 'ipt>' +             'var oxSrc = (document.location.protocol === "https:" ? "https:" : "http:")' +             '+ "//example.com/ReviveAdserver/www/delivery/ajs.php"' +             '+ "?zoneid=123&block=1&blockcampaign=1&cb=" + Math.floor(Math.random()*99999999999)' +             '+ "&charset=UTF-8&loc=" + encodeURIComponent(window.location)' +             '+ (document.MAX_used !== "," ? ("&exclude=" + document.MAX_used) : "")' +             '+ (document.referrer ? ("&referer=" + encodeURIComponent(document.referrer)) : "")' +             '+ (document.context ? ("&context=" + encodeURIComponent(document.context)) : "")' +             '+ (document.mmm_fo ? "&mmm_fo=1" : "");' +             'document.write("<scr" +  "ipt src=\'" + oxSrc + "\'></scr" + "ipt>");' +          '</scr' + 'ipt>'       ); })(); </script> Yes, this is quite ugly code, and you'll have to be careful when editing it, as it's javascript which writes javascript.
     
    I hope this is able to help people, until Revive Adserver offers a direct solution to display ads asynchronously.
  4. Upvote
    andrewatfornax got a reaction from Eliza0406 in Competing Banners On One Page   
    When you generate the zone invocation tag, those tag types that support it have an option called "Don't show a banner from the same campaign again on the same page". That does exactly what it says it does, and does exactly what you're asking for -- it stops another banner from the same campaign showing up again on the same page. 
  5. Upvote
    andrewatfornax reacted to Revive Adserver Forum in Learn About Github From New Interactive Github Guides   
    The Revive Adserver team use Github to manage the project and develop the software. If you’re new to Github, and want to learn a bit more about how it all works, just head over to the new Github Guides. There are interactive modules to learn about Understanding the Github workflow, how to manage issues on Github, and how to contribute to a Github project by forking it, and much more.
    Once you know a bit more about how Github works, you might appreciate browsing about the Revive Adserver project, for example by having a look at our most recent commits, the current list of open issues, and the list of contributors to the project. Hopefully we’ve inspired you to join the project on Github, and perhaps find your name on the contributor list in the future.


    View the full article
  6. Upvote
    andrewatfornax reacted to lyric in Campaign Update Delay   
    I answer to myself in this topic after getting an answer to this question by Eliza through another topic:
     
    "You can clear the cache and check it again or go to Configuration --> Banner Delivery Settings --> Banner Delivery Cache Settings, and reduce the time limit."
     
    I hope this may also help others ;-)
  7. Upvote
    andrewatfornax reacted to gcom in Installation Of Plugin (All Plugins) Failed   
    OK, I guess reading helps: Upgraded to php 5.5 and everything seems to work fine.
  8. Upvote
    andrewatfornax reacted to Matteo Beccati in "generic Html Banner" Missing   
    Step:
     
    Download a fresh copy of Revive Adserver 3.0.2
    Unzip it on your PC/Mac
    Go to the plugins page
    Click "Browse"
    When the file section window pops up go to the folder where you unpacked Revive, then etc/plugins
    Select the first one
    Click "Install"
     
    Repeat until you've installed all of them
  9. Upvote
    andrewatfornax reacted to bryanwoj in Cannot Edit Banners After Upgrade   
    Our IT guy fixed it, but he did not say how. I assume it was one of those. Thanks!
  10. Upvote
    andrewatfornax reacted to andresgom in Probabilities   
    thanks a lot!!!
  11. Upvote
    andrewatfornax reacted to Matteo Beccati in How To Stop Receiving Emails?   
    Sorry, I must have missed that you were talking about managers. Please try to have a look at www/admin/account-preferences-campaign-email-reports.php then.
  12. Upvote
    andrewatfornax reacted to gabrielt in How To Stop Receiving Emails?   
    Thanks a lot! Worked like a charm!
  13. Upvote
    andrewatfornax reacted to Erik Geurts in How To Set Up Distributed Statistics   
    Andrew's suggestion is exactly how we do things on my company's hosting platform, you can see a simplified diagram of that setup here: http://www.reviveservers.com/revive-adserver-hosting/revive-adserver-hosting-platform-and-technology/
  14. Upvote
    andrewatfornax reacted to Revive Adserver Forum in Community Forums Spam Problem Resolved   
    Revive Adserver Community Forums
    It was hard not to notice it: ever since the old forums on openx.org were closed at the end of March 2014, our Revive Adserver Community Forums were flooded with spam messages. On some days, we would see dozens of fake and pointless posts in the forums. Of course, we immediately started cleaning up the forums manually, but it soon became clear there was no end to the nuisance.
    In April, we implemented multiple technical measures in the forum’s software to detect potential spammers and block them from registering, and to delete spam that still made it through. It seems that this has helped, the spam flood has been stopped almost entirely and has now returned to a manageable level.
    We want to thank those members who took the trouble to report spam posts to the moderators, and we want to thank all members for their patience while we were fighting this matter.


    View the full article
  15. Downvote
    andrewatfornax reacted to Eliza0406 in Multiple Users?   
    Hi,
    Yes, you can add another user into a Revive Adserver account, I suggest you the following product with such a feature for your reference.
        http://www.openxmods...s/prod_830.html , which you might find it useful.
×
×
  • Create New...