Privacy comments and blogs
-
I guess your Blog will be “private” when you select “Privacy No” during Blog-setup ?
Not sure about this though….
This may help (thanks to Boone). It’s written for BP 1.1.3 which has the same problem with private posts/comments in the site wide activity stream. If you try this solution let us know if works on your BP 1.2 install.
Just wrote a plugin to solve the problem without core hacks: http://teleogistic.net/code/buddypress/bp-mpo-activity-filter/
if this is a bug, it should be fixed in Core-code.
There are two ways of thinking about that, Erich. On one hand, insofar as the problem is mainly caused by a third-party plugin, there’s no real reason for it to be in the core. On the other hand, the core code is a little funny in that it doesn’t record private blog activity at all – IMO it’s better to record the activity and filter it out according to user roles. So something like what this plugin does might be appropriate for the core, but only the cases where privacy equals 0 or 1.
Boone:
THANK YOU! it seems like it works!
Boone: now i dont see ANY blog posts on my frontpage.
i want all publiv blogs to show and hidden to be hidden
leisegang – wp/bp versions?
wpmu 2.9.1.1
bp 1.2rc1
rc2 had som errors so i downgraded to rc1
http://bloggbyen.com/members/patrick/blogs/
the blog named “Salems arbeidsgruppe for sosiale medier” is hidden but i can see the title of the newest post there.
it should not list the post there. the blog is ok. the blog is user only to that blog can read.
i cant see any post i have written in the activity feed anymore…
Here’s what I see as a non-logged-in user: http://twitpic.com/12emv2
edit: wait, I’m an idiot, I wasn’t looking at the Blogs activity. Here’s what I see: http://twitpic.com/12encg
I’m playing with your site a little more and there seems to be a deeper problem. The filter dropdown menu at the upper right doesn’t seem to work. The Blog Posts filter shows activity content, Forum Replies shows new friendships, etc. Do you have any idea why that is? Does it work right when you don’t have my plugin installed? (I don’t see how the plugin could make this problem happen – it only touches activity items with component name ‘blogs’)
i actually reuploaded bp 1.2-rc1 and now the activity stream is working so that problem is fixed.
it now hides that blog from “my blogs”
the filter is working
Can you take a look to confirm?
I don’t see that blog – as a matter of fact, I don’t see *any* new blog posts. Lots of blog comments, but no new posts. Weird?
exactly! No blogposts at all. and thats now how it suppose to work i hope.
all filters are working in my activity stream except the blog post.
any idea whats wrong?
Hm…I wonder if it’s because you have a language pack. On line 18, replace ‘blogs’ with your blogs slug and see if it works.
Still, if you’re the site admin and you’re still not seeing anything, then the problem must happen earlier. The very first thing the plugin does is test whether the logged in user is a site admin and if so just gives back the activity feed unfiltered. Have you tried with both admin and non-admin users?
- The topic ‘Privacy comments and blogs’ is closed to new replies.
leisegang
@leisegang
14 years, 9 months ago
I use this plugin to e able to have a blog that is not visible to anyone other than members of that blog.
http://wpmudev.org/project/More-Privacy-Options
it sort of works. i had to use this plugin to get the blogposts to not show up in activity streams:
http://blogs.zmml.uni-bremen.de/olio/2010/01/12/activity-privacy-plugin-for-buddypress/
but it doesnt hide the comments
how can i create a fully private blog withouth having the comments beeing listed in activity stream? 100% private
i use:
wpmu 2.9.1.1
bp 1.2-rc2 rev 2638