WordPress.org

Ready to get started?Download WordPress

Forums

Simple Ads Manager
Randomize ad serving (5 posts)

  1. hookedonwinter
    Member
    Posted 1 year 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?

    http://wordpress.org/extend/plugins/simple-ads-manager/

  2. pabloseidel
    Member
    Posted 1 year ago #

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

  3. alchymyth
    Forum Moderator
    Posted 1 year ago #

    @pabloseidel

    per forum guidelines, please start your own topic;

    this makes it easier to track the problem.

  4. pabloseidel
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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

About this Topic

Tags

No tags yet.