Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding ads to Activity stream

  • I know I’ve seen a post with the code, but for the life of me cannot find it again… ;p

    Anyways, I would like to add banners in the activity stream, say every 3rd post or something aling those lines.

    Anyone have advice?

Viewing 2 replies - 1 through 2 (of 2 total)
  • would also like to know how to do this

    Avatar of 3sixty
    3sixty
    Participant

    @3sixty

    you would edit activity-loop.php. Under <?php while ( bp_activities() ) : bp_the_activity(); ?> I would add a conditional loop that inserts an ad every 3 posts, or you could a rand() to vary the amount of activity stream updates between posts.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.