WordPress.org

Forums

[resolved] PerformancingAds / SuperCache solution? (2 posts)

  1. chewru
    Member
    Posted 6 years ago #

    I just signed up for PerformancingAds and was a little bummed to see their system installed a plugin with a PHP call to grab the ads. After Otto explained to me that the whole point of WP-SuperCache is to make the site static and *not* run any PHP, I realize that WP-SuperCache is likely to prevent the plugin from displaying new ads, more or less defeating the purpose. If any of my space actually sells, I'd have to manually dump the cache to force them to be displayed.

    For my banner ads, Otto suggested I make a Javascript rotator, and that worked perfectly. This time, I don't think I can get off that easy. Any ideas on a way to get around this one?

    As I understand it, there's no way I could rig a javascript to run the PHP because one is client-side and the other server-side, right?

    I'd really like to give this new advertising network a shot, because it looks like other blogs have been successful selling cheap space. That said, a PHP-only solution is not friendly to what I've got to imagine is an ocean of installs running some sort of caching to keep access times reasonable.

    Here's the plugin URL:
    http://performancingads.com/public/perfads.zip

  2. chewru
    Member
    Posted 6 years ago #

    RESOLVED: Use this code:

    <script type="text/javascript"
    src="http://ads1.performancingads.com/js/perfads.js?r=REGION_ID"></script>

    just replace your region ID.

Topic Closed

This topic has been closed to new replies.

About this Topic