Skip to:

Activity Stream Problem

  • JLent.


    Hey guys,

    I’ve been searching around and am unable to find a solution to why non users/logged out users, and everyone else can see every members postings on the activity stream. Is there any way only members and friends can see each others posts?


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

  • Tammie Lister


    Usually you’d see everything in activity stream for the site – as it’s that the stream for site. It sounds like either a plugin or maybe theme issue though if that’s not the case. I know you may not be able to as a live site, but can you try the default theme? If not, perhaps examine / test if any plugin?

    If none of that helps perhaps you could provide a link to see your site? Unfortunately, it’s hard to judge until see something for self.



    So, I’m hijacking this thread because for the life of me I cannot figure out how to start a new thread to answer my question! How do I start a new thread on

    @jloc14 You could wrap the activity-loop.php of a child theme with an if statement which checks to see if the user is logged in. At the very top above the first opening php tag in the activity-loop.php copy and paste this:
    `You must be logged in to view this sites activity. Click here to sign up.`
    Then after the last line of code in the activity-loop.php copy and paste this:

    Just replace the URL with your websites domain and save the file. It will keep non-members from viewing the activity stream and the link will direct them to the registration page. Its not a perfect solution but it is a quick fix. To add a basic friend check follow this tutorial by Sarah Gooding here:
    Hope this helps!

    @rhenium3 in the right sidebar under support forums select which title would best fit your support topic, then in the menu above the topics in the main page area select New Topic. Scroll down if necessary and type in the title, and content. Then click the Post Topic button at the bottom.



    Thank you for the replies. I am using the default theme and am still a little confused about where to put the code:
    You must be logged in to view this sites activity. Click here to sign up.



    Scratch that. I did it. It’ll work for now until I find some other way. Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Activity Stream Problem’ is closed to new replies.
Skip to toolbar