Simple Ads Manager
Randomize ad serving (5 posts)

  1. hookedonwinter
    Posted 2 years ago #

    I currently have 6 ads and two sidebar places. The ads always show up like this:

    Spot 1: Ad 1
    Spot 2: Ad 2

    Spot 1: Ad 3
    Spot 2: Ad 4

    Spot 1: Ad 5
    Spot 2: Ad 6

    I'd like for the ads to rotate more randomly, so that one page load might see something like

    Spot 1: Ad 3
    Spot 2: Ad 6

    and then later

    Spot 1: Ad 5
    Spot 2: Ad 1

    Is there a setting for this?


  2. pabloseidel
    Posted 2 years ago #

    Hi. I'm also trying to find out how to do it.

  3. Michael
    Part-Time Forum Moderator
    Posted 2 years ago #


    per forum guidelines, please start your own topic;

    this makes it easier to track the problem.

  4. pabloseidel
    Posted 2 years ago #

    Thank you @alchymyth, but I already started my own topic 2 months ago (http://wordpress.org/support/topic/how-to-rotate-ads-block-items).

    And now I saw that hookedowinter started that topic which has pretty much the same question I asked before, with no answer so far. So I left my message here because I'd like to be notified of possible solutions.

    But thank you anyway.

  5. pabloseidel
    Posted 2 years ago #

    Hi friends. I think I found a solution.

    File: ad.class.php
    Line: 456
    Change from: ORDER BY ad_cycle
    Change to: ORDER BY ad_cycle, rand()

    I didn't check if it's going to mess up with other things, but looks like it's working on my website now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Ads Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.