Support » Plugins and Hacks » [Plugin: AdRotate] use images from media library

[Plugin: AdRotate] use images from media library

Viewing 5 replies - 1 through 5 (of 5 total)
  • retrohunter


    Yeah, dido. Having the same issue with WP 3.0.1 and AdRotate 2.6.1

    I had this problem too, but found a quick fix. It looks like one of the options isn’t set correctly when adRotate installs, so you can either dive into the DB and change it, or just alter one of the adrotate plugin files with a quick change (my choice).

    Do get it to show images from the media manager, open up the file ‘adrotate.php’ in the adRotate plugins directory. Goto line 55 and replace this…

    $adrotate_config = get_option(‘adrotate_config’);

    With this…

    $adrotate_config = get_option(‘adrotate_config’);
    $adrotate_config[‘browser’] = ‘Y’;

    There’s probably a more elegant fix, but this should do the trick!

    In my case it wasn’t saving the option correctly, but it got fixed a few days ago…maybe it was conflicting with another plugin.
    anyway, thank you darcius for the fix!!!

    Go into settings > AdRotate and tick the box for “media browser”

    Darcius fix IS NOT a good one and will break every other setting in the plugin.

    Agreed that it’s not a great fix, but it certainly won’t break every setting in the plugin, it’s simply changing the value for that array key to ‘Y’ which enables the media browser. I’ve been using it fine for weeks with no issues.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: AdRotate] use images from media library’ is closed to new replies.