[Resolved] How to only show friends in the Activity stream?
-
I know this question has been asked in the past but I am unsure how to only make a user’s friends appear in the BuddyPress activity stream after they login. Every solution I have seen so far has bugs and the Activity stream only shows ‘Load More’ and not the users own content or there friends.
Thanks in advance,
Findly01
-
I’m also using a fresh-install of Buddypress 1.6 so nothing has changed.
Sorry the link didn’t print so just copy and paste it into your browser.
http://www.mediafire.com/?znbde6d1r2l0k57Thanks, that worked but it displays ‘Load More’ when there is no posts. Plus, on members profiles that a user isn’t friends with, the activity stream is blank.
Also, how can I remove the text ‘All Members [2]’?
My site – http://www.findly.co.uk
Thanks again.
do you have a demo user name and password so I can see what it is?
Here you go:
Username – test1
Password – demo
Okay I see what you mean. I had activity before I installed the plugin. It says Sarah Gooding is the author. I think its just a small bug that is un-noticible if you have some activity. Maybe someone else here can find a fix because I am not much of a coder. Sorry!
to not display that you would put something like the below in your style.css:
#members-all.selected {
display: none;
}Thank you.
I might disable the plugin and edit the site so when a user logs in they see their member profile instead of the sitewide activity. Any ideas on how to do this? Also, I need to some how make the user’s member profile visible in the top navigation instead of the page title ‘Members’…
And I’m not a good coder either 🙂
on members profiles that a user isn’t friends with, the activity stream is blank
Ain’t that kinda the point of the plugin to not allow non-friends see your activity?
Maybe there is a function somewhere that will post a message that says you have to be friends with this user to view their activity. Hopefully someone else can help us on how to do that.I might disable the plugin and edit the site so when a user logs in they see their member profile instead of the sitewide activity. Any ideas on how to do this?
Have you tried this plugin?
https://wordpress.org/extend/plugins/buddypress-login-redirect/Thanks for the link
Any idea how to change the link in the navigation from ‘Members’ to ‘Your Profile’, so the user doesn’t have to trawl through profiles each time?
Also, how can I hide the Activity pages etc. until the user loggs in?
Also, how can I hide the Activity pages etc. until the user loggs in?
Read my reply in the following thread to accomplish this.
https://buddypress.org/support/topic/private-community-with-public-wordpress/Thanks.
Now I just have the problem of changing the Members text to ‘My Profile’ and making it link to the user’s profile page.
There’s a good article here:
http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/
Okay after alot of trial and error I came up with this and it will do what you stated above. First I hope your using a child theme. If so go into the style.css and add this line:
`
li#members-all.selected {
display: none !important;
}
`
That will rid you of that “All Members” tab.
Next follow my instructions in this link and adjust it to your version of buddypress because the directory structure is different but it shouldn’t be much of a problem. Here is the link:
http://pastebin.com/FMvCEKmfThanks for the link but I get an ‘Unknown Paste ID’ error message.
Try this one:
http://pastebin.com/h8Czizx2Hi,
what about using this plugin ?
http://wpmu.org/create-a-better-community-experience-with-the-new-buddypress-friends-only-activity-stream-plugin/@bphelp — I need the same functionality.
A variation of the CSS trick did hide the tab:
`#activity-all {
display: none !important;
}`However, after the user just logs in and clicks sitename.com/activity/, the default tab is still “activity-all”, and the user still sees all the activity, unless the user clicks on one of the tabs.
Rather than hiding the tab, I would like to disallow the list item “activity-all” from being generated at all from the server.
Was the mediafire link you posted a plug-in that would do so?
Or is there another solution you’d suggest?
http://www.mediafire.com/download.php?u6oos92g344485f
This plugin does not hide the activity tab in the main nav or in the profile activity tab but it does make activity friend only unless your the admin in which case it shows sitewide activity. To test it you would have to create two accounts that are not admins and not friends and put come activity in on both and you will see that as long as your not friends you can not see the others activity.@bphelp
Sorry that I was too late — the file was already deleted when I tried to download it. Can you upload it again?
(or send to nawakiri@gmail.com, if that is better.)
- The topic ‘[Resolved] How to only show friends in the Activity stream?’ is closed to new replies.