Forum Replies Created
Unfortunately, it looks like the plugin for displaying only friends and self in the activity stream was abandoned and now refers people to use the “superior” buddypress privacy plugin instead.
The problem is that the buddypress privacy plugin doesn’t really accomplish the same thing. It only allows users to set privacy when posting, not when viewing. That means that if some random person decides to post their update to everyone then it shows up in my activity stream even if I am not friends with them and have zero interest in seeing what this random person that I’ve never interacted with is up to.
Anyone had any luck with this?
I tried the solution above from @henrywright-1, but it has its issues.
The first time you load the home page it is just a blank white page, presumably as the first load only sets the homepage using the logic above. When refreshing, you’re taken to the proper page. However, that actually sets the homepage as that, and anyone after is sent to the same one.
So, for instance, using the code above…
User #1 is already logged in and visits the site, they get a blank page.
User #2 is already logged in and visits the site, they get the (correct) about page.
User #3 is not logged in and visits the site, they also get the (incorrect) about page.
If you reverse it and the first person to go to the site is logged out, you get…
User #1 is not logged in and visits the site, they get a blank page.
User #2 is not logged in and visits the site, they get the (correct) Register page.
User #3 is already logged in and visits the site, they also get the (incorrect) Register page.
Additionally, sometimes when a logged in user visits they randomly get the members page.
Any working solution for this out there?