Jump to content


  • Content Count

  • Joined

  • Last visited

Reputation Activity

  1. Upvote
    andrewatfornax reacted to BaliDave in 4.1.4 Exceeding max execution times   
    OK, I found the problem -- one way out in left-field: the new RevAds no longer returns the same indication from my PHP call, that there are no more ads meeting my criteria. So an obscure page of mine wound up in an infinite loop! I found a new way now to detect a "no more ads" condition (not the same as previous RevAds) and changed the criteria, so that all works OK now.  So no more timeouts in Rev Ads are occurring.
    I retrieve ad information via a PHP call to a RevAds fucntion, and all my ads are "local" ads.  This gives me the html needed. which I display.  This code came from many years ago when I first started using OpenX, as it was called then. There's a very brief mention of this I found now on https://documentation.revive-adserver.com/display/DOCS/Tag+Variables
    But I didn't find any more documentation on this now, and don't have access to the old OpenX one.  If you know, please tell me where there's more documentation on this available now. 
    Anyhow my basic invocation to retrieve ad data has a call to the view_local function defined in alocal.php:
    $ad[$i] = view_local('', $zoneNum, 0, 0, '', '', '0', $phpAds_context, '');
    And I do this in a loop, bumping $phpAds_context each time I find a valid ad.  Previously in RevAds (last version prior to 4.1.4 I used was 3.0.2) the 'html' array element of this would return an empty value if no more ads met the criteria, and I'd break out of the loop.  My fix now is to check that this element has some sensible value (e.g. there's an 'href=' in it).  It'd be nice to have something more definitive -- let me know if you know of such.
    Anyhow all seems to be working OK now.  I'll report back later if something's still amiss.  Thanks again Andrew for all your efforts here, and my apologies for not finding this sooner.   I hope this saves someone else's time.
  2. Upvote
    andrewatfornax reacted to Eduardo Ecode in Banners Repeated/Duplicated When Using Single Page Call   
    I found this solution, works fine: 
    <script> var OA_zones = { 'zone-5-1': 5, 'zone-5-2': 5 }; </script> <script src="//reviveserver.com/www/delivery/spcjs.php?block=1"></script> <script> OA_show('zone-5-1'); OA_show('zone-5-2'); </script>
  3. Downvote
    andrewatfornax reacted to Display Name in Server Redirect me to an IP   
    Dear Admin
    I wrote this again and again so its the 2, 3, 4, 5,... Time.
    When I install Revive Server on an Laptop, Pc, Server,... who is in my Local Network the Server make an Redirect from the Login to the localhost,, 192.168.1.XXX or what Ever IP Adress the Webserver used. The Joomla installation works fine and the Replay to the URL who I enter.
  4. Upvote
    andrewatfornax reacted to Ats in Delivery Rule Sets   
    Ah yes, I see it now.
    Thank you very much!
  5. Like
    andrewatfornax got a reaction from scott001 in MariaDB 10.2 Compatibility?   
    Hi @scott001,
    I had a call with our database guru on the team today, and he tells me that Revive Adserver sets non-strict mode as soon as it connects to MariaDB, so, Revive Adserver should be compatible with MariaDB 10.2 with its strict mode enabled.
  6. Upvote
    andrewatfornax reacted to Matteo Beccati in Installation failed to create the core tables   
    It's a known incompatibility with the utf8mb4 charset: https://github.com/revive-adserver/revive-adserver/issues/740
  7. Like
    andrewatfornax got a reaction from Twobeef in Custom Query Parameters   
    Two ideas:
    1. Use two (or more) different variables, e.g. "reisen=true", "rostock=true", "katze=true". Then you can target accordingly.
    2. Combine everything into one variable, e.g. "thema=reisen|rostock|katze". Then you can target accordingly using the "contains" or "regex" options.
  8. Downvote
    andrewatfornax reacted to vask0 in change / eddit to links   
    Hello I want to ask whether the link can look like this   forum.website/nauka (ok)    /    Not like that forum.website/forum/48-nauka/  (no ok)  hat is, there is an opportunity to remove that thing  forum/48-topics... 

  9. Upvote
    andrewatfornax reacted to med in single page call xml-rpc   
    check out /www/delivery/alocal.php file for function view_local () and view_spc()
    doc of the args just above function definition 
    hope it help someone 
  10. Upvote
    andrewatfornax reacted to Avindale in Hardware Requirements?   
    Hi @andrewatfornax ,
    Thanks for the information, I thought this was the case, I just wanted to be sure as I progress and Didn't know if I should invest in hardware first or test with a VM.  Very helpful!
  11. Upvote
    andrewatfornax got a reaction from Avindale in Hardware Requirements?   
    Hi @Avindale,
    No, unfortunately, there isn't - it's so hard to recommend a specific level of hardware, because the possibilities for configuration are huge (O/S, webserver, database, opcode cache, all manner of Revive Adserver configuration options), and what people want to do with Revive vary as well (something to manage ads for their hobby site all the way up to commercial operations serving billions of impressions a month... maybe even a week or per day).
    My recommendation would be that if you're starting out, and you're not sure of hardware scale - don't buy any hardware! Get a VM from provider that will let you scale up (or down) as per your requirements - you can always migrate to dedicated physical hardware later on, if that's your desire, once you have an idea from using a cloud-VM first.
  12. Upvote
    andrewatfornax reacted to McColley in Buyer Beware Commercial Plugins   
    I'm a web designer with a client who wanted to use Revive as a Self Serve Ad Buying platform across a number of sites he owns. I discovered Revive, put it on a server to test and fell in love.  I have a client with a network of sites that he wanted to sell ads on.
    When I visited what I thought was the best-known plugin developer, I found many plugins that seemed to overlap in purpose. But I figured that I couldn't be the first to want this functionality. So I asked a question: "What plugins do I need to turn Revive into a self-service platform."
    I got a reply listing 4 plugins.  The client approved the $240 and we waited. Instead of plugins to Revive, I received a collection of files to copy directly into the system. That should have been my first clue.
    I next discovered all the files were encrypted.  The pages created were horribly designed and we couldn't change them.  I complained and got some unencrypted files.  I soon discovered the functionality was as poor as the design.  I could create an ad package and you could log in and buy it.  But there is no way to see what was purchased for the buyer - or the admin.  I complained and got a few new files and some of them were unencrypted so I could style the pages - but there was still a lot of missing functionality. I started asking for a refund.
    Long story short, I was asked what the process should look like - so I laid out a simple workflow.  Then I was told we would need to purchase the source code for a number 2.5 times our original investment.  after at least a dozen emails I finally was told that buying the source code wasn't going to give me that functionality, instead would need to spend 10 times our original investment.
    I saw another post where a developer said they were unimpressed with a plugin maker. I wish I had seen it before dealing with this one. I think Revive is a great project but beware of the people trying to make money off of it with plugins that don't work.
  13. Upvote
    andrewatfornax reacted to Matteo Beccati in Upgrade Path From Phpadsnew?   
    @olabre See my original reply. Testing upgrades from 2.0.11-pr1 is now part of the release process. Tags should also be compatible, as long as you are not using functionalities that have been removed.
  14. Upvote
    andrewatfornax reacted to Jim in Running playable ads   
    Thanks @andrewatfornax, due to the specifics of this campaign, we have had to focus on running it through DFP.  We will be coming back to this though as its better for us to have our own ad server.  Will try the HTML5 banner and see how that goes.
  15. Upvote
    andrewatfornax reacted to Ian vM in Delivered different code of ads via HTTP and HTTPS   
    Yes ofcourse
    BTW you seem to be correct : https://documentation.revive-adserver.com/display/DOCS/Banners+Not+Delivering+over+SSL

    Try changing your code to : 

    <!-- Kontextová reklama Sklik --> <div id="sklikReklama_53418"></div> <script type="text/javascript"> var sklikData = { id: "sklikReklama_53418", zHash: "ENAWPYZBMTXV9QCH9H5NJVRSK4QS24KDRXNFGP7BVIDQ2" }; </script> <script type="text/javascript" src="//www.<redacted>.cz/ad-special/sklik3/partnerapi3.js"></script>

    And you should be fine.
  16. Upvote
    andrewatfornax got a reaction from adus in Cron Task - site url to append to the end   
    The domain that is passed in as the parameter to the crontab entry to run maintenance should match the domain that the Admin UI runs on.
    As you are talking about a single install of Revive Adserver, with multiple URLs in use, you only need one crontab entry, as it doesn't matter what URL is used to access the UI or deliver banners, it's all the same database & set of statistics.
    See also https://documentation.revive-adserver.com/display/DOCS/Managing+Configuration+Files
  17. Upvote
    andrewatfornax reacted to Korona in Revive Adserver understanding   
    Thanks for reply
  18. Upvote
    andrewatfornax reacted to scott001 in Scheduled maintenance issue / no statistics recording   
    Here is what I found. My cronjob, which worked fine for years like this:
    0 * * * * php -f /home/site/public_html/revivieadserver/maintenance/maintenance.php >/dev/null 2>&1
    suddenly, at least to me anyway, needed to be like this:
    0 * * * * php -f /home/site/public_html/revivieadserver/maintenance/maintenance.php localhost >/dev/null 2>&1
    The mysql restarts may have been just a coincidence, and my server auto-updated and installed a new version of cpanel or something else, but something changes and now I must include "localhost" in the cronjob.
    I hope this helps someone else!
  19. Upvote
    andrewatfornax reacted to Matteo Beccati in Issues with Revive Asynchronous JS-Tag and ads using document.write   
    @OMG I believe you just need to make sure that This banner can be safely displayed inside an iframe (e.g. is not expandable) is checked in the banner-edit screen.
  20. Upvote
    andrewatfornax reacted to maxlanders in Update To The List Of Operating Systems   
    Thanks for your answer, as soon as it happens again I'll post the bug.
  21. Upvote
    andrewatfornax got a reaction from scalemates in Complex Delivery Rules   
    Easier way is to use Delivery Rule Sets!
  22. Upvote
    andrewatfornax reacted to Marten in Too many clicks - spiders?   
    I found the guilty IP in the server logs
    Thank you for your help
  23. Upvote
    andrewatfornax reacted to Gregori Dalzotto in Custom Invocation Code   
    I found something in the file "plugins \ invocationTags \ oxInvocationTags \ adframe.class.php".
    I realized that it is possible to change the structure of the iframe tag. I'm going to do some testing, if I succeed I'll put it here. Thank you andrewatfornax
  24. Upvote
    andrewatfornax reacted to malmazan in Statistics send to two or more persons   
    Can't be done officially.

    As a hack, I use addresses of this form in the email field:


    Though you'll have to get it done manually in the data base
  25. Upvote
    andrewatfornax got a reaction from Gregori Dalzotto in Custom Invocation Code   
    Yes, absolutely - Revive Adserver is open source, so you are free to change your code base however you like.
    Unfortunately, we don't yet have great developer documentation, so I would definitely recommend using xdebug and a good IDE to allow you to step through the code as it executes.
  • Create New...