Simple BuddyPress Profile Privacy
Just unleased a new plugin for Buddypress 1.2.x — Simple BuddyPress Profile Privacy v1.0
BP users can control who can see every item in their profile.
This one is based on GPL code. We upgraded it to work with BP 1.2.x and added some new functionality.
It’s free – however, monetary donations are very highly respected and we don’t forget that sort of thing…
Awesome, needed this, Jeff Sayre’s plugin is cool too, but it’s a bit loaded with options.
Looks like a couple of you downloaded the plugin within minutes after I made the original post here.
You might want to go back and get a new copy. The plugin is now at v1.1 and we’ve just added a new setting that lets users make an item in their profile viewable to all logged in users. So the 4 possible settings for each profile field, which control who can view the data, are as follows:
– Everyone (meaning even people who are not logged in)
– Everyone logged in
– Only my friends
– Just me
There ya go. Enjoy the goodies, and don’t forget to tip your developer
@Xevo: Far as I know, as of today, Jeff Sayre’s doesn’t work with BP 1.2
one of those was me.. have you considered contributing it to http://svn.wp-plugins.org/
There’s also another BP Profile Privacy plugin:
The feature set appears to be identical.
Haven’t tried any of these plugins yet though.
Just glancing the codebase of both. The one I link to appears to be coded cleaner, though I’m not sure which one offers better UI.
@r-a-y: Didn’t see that one, and after hunting around for a while I decided to stop hunting and make one work. I read and write code pretty fast so for me making one work is faster than hunting in this case.
Anyway, the one I released allows for only showing info to logged in users. The plugin you linked doesn’t do that. Plus I don’t see any reason not to give the user total control over their profile since it’s their info (thus no need for a setting to “Let user decide” )
Also, the one you linked has controls in the admin panel that govern a user’s profile. So if you want to let a user control their own settings you have to set every profile field to “Let User Decide” which is fine, until you add new profile fields and forget to go back and make that adjustment for the new fields.
I like the no maintenance route of just automatically letting the user take total control of their info.
Thanks for the link though.
And for clarity’s sake, I didn’t write the original code. I simply modified it to work with BP 1.2 and added a few features.
As for UI, there’s no need for an admin interface so none exists. To handle display of the field controls you have to modify CSS to work with your particular template unless it works out of the box Ok for you. Same as any plugin that puts content on a site.
Privacy is so important (personally and legally) that it needs to be within Core-Code.
@Erich73 – I figure that it will be eventually. It’s very easy to add.
thks r-a-y ~ i just stacked bp_authz, simple_bp_privacy, and this other against one together and while sayer’s is the most robust (uhem Jeff, Get to work) ..both of these two others function properly as far as I’ve tested and will suit a good many users with a light footprint on the database.
many thanks to you and Sandra Petronic for the job on this plugin !
I am surprised this feature is not in core yet, considering you are saying it is easy to add…. ?
its safe to upgrade form ver 0.1 to 0.2?
I’m already using this plugin on a live site and dont want to mess with user already defined privacay.
btw. great job!
@pedromiguel: Not sure what you mean by “ver 0.1 to 0.2?” — what exact plugins are you referring to?
I think Pedro is confusing your plugin with the other profile privacy plugin.
The two privacy plugins above are only profile-related.
Jeff’s upcoming privacy plugin is going to encompass every aspect of BP. So your users can be more selective about which data is made public.
yes, my mistake, im talking about the other plugin sorry.
Can we get this plugin updated so it doesn’t crash your site if BuddyPress is deactivated? Thanks.
@m In reply to your statement above: “Plus I don’t see any reason not to give the user total control over their profile since it’s their info (thus no need for a setting to “Let user decide” )” I thought I might be able to provide a good reason…
As an elementary teacher using BP in the classroom, privacy is incredibly important, and a trigger that allows me to force the privacy of my users should not be discounted.
Teaching kids how to navigate and manage their digital footprint is easier if admins can ensure that mistakes the users make can be contained in the privacy of the “digital classroom”
Plugin looks interesting, but would love the added security of knowing that my kids’ profiles are private.
@mrjarbenne – Good point.
To set a default privacy level that ensures no one inadvertently exposes info, open the file simple-buddypress-privacy.php using a basic plain text editor like Notepad on Windows (do not use Microsoft Word to edit code). Find this line near the top somewhere:
define( ‘CPT_BP_XPROFILE_PRIVACY_FIELD_DEF_VALUE’, ‘3’ );
Change the number 3 to 0 (zero). Save the file, then upload the plugin and activate it. By changing 3 to 0 the plugin will default to making all profile fields invisible to everyone except the profile owner. Then students can edit their profile and intentionally choose which fields to expose.
That’s the quick fix for your particular situation.
Of course that still doesn’t allow you to force any permanent settings since students ultimately get control. But I see your point – I just don’t agree with it entirely even in the case of elementary school students.
As a parent, I advocate teaching along with careful monitoring – the two go hand in hand. Of course being taught involves the student making mistakes – granted. So, if you really want to ensure that no student exposes sensitive information then consider not providing a mechanism for such information to be put into a Web site – particularly since unless you put those computers in a vault at night then you have no idea who is really accessing that information nor when it is accessed. For example, what if your school is burglarized and the computer(s) stolen? Or if your site is not hosted in the school itself, then you have no total control whatsoever over what happens to the information in the site.
if using the code above to default to hidden, is there any way to hide from the MEMBER list? I have around 1000 members from our old site so don’t really want to start fresh but we do want to have them “opt-in” to be listed. I heard that you could “trick” it by using user status of 99 In the db. I was going to set all users to 99 and then set them back manually but if your plugin could do that, that would be perfect. This would allow me to keep all users hidden until they “reactivated” their accounts or created a new one. I think this would be good for the teachers situation as well.
Thanks for the plugin regardless. This will work ok but if I can handle setting the status or hiding them, it would be perfect.
- The topic ‘Simple BuddyPress Profile Privacy’ is closed to new replies.