Skip to:
Content
Pages
Categories
Search
Top
Bottom

Simple BuddyPress Profile Privacy

  • Avatar of Mark
    Mark
    Participant

    @wpsec

    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… ;-)

Viewing 22 replies - 1 through 22 (of 22 total)
  • Avatar of Xevo
    Xevo
    Participant

    @xevo

    Awesome, needed this, Jeff Sayre’s plugin is cool too, but it’s a bit loaded with options.

    Thanks!

    Avatar of Mark
    Mark
    Participant

    @wpsec

    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 ;-)

    Avatar of Mark
    Mark
    Participant

    @wpsec

    @Xevo: Far as I know, as of today, Jeff Sayre’s doesn’t work with BP 1.2

    Avatar of Windhamdavid
    Windhamdavid
    Participant

    @windhamdavid

    one of those was me.. have you considered contributing it to http://svn.wp-plugins.org/

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    There’s also another BP Profile Privacy plugin:

    http://wordpress.org/extend/plugins/bp-profile-privacy/

    The feature set appears to be identical.

    Haven’t tried any of these plugins yet though.

    [EDIT]

    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.

    Avatar of Mark
    Mark
    Participant

    @wpsec

    @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.

    Avatar of abcde666
    abcde666
    Participant

    @erich73

    Privacy is so important (personally and legally) that it needs to be within Core-Code.

    Avatar of Mark
    Mark
    Participant

    @wpsec

    @Erich73 – I figure that it will be eventually. It’s very easy to add.

    Avatar of Windhamdavid
    Windhamdavid
    Participant

    @windhamdavid

    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.

    Avatar of abcde666
    abcde666
    Participant

    @erich73

    @M

    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…. ?

    Avatar of Pedro Miguel
    Pedro Miguel
    Participant

    @pedromiguel

    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!

    Avatar of Mark
    Mark
    Participant

    @wpsec

    @pedromiguel: Not sure what you mean by “ver 0.1 to 0.2?” — what exact plugins are you referring to?

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    @M

    I think Pedro is confusing your plugin with the other profile privacy plugin.

    Avatar of Gpo1
    gpo1
    Participant

    @gpo1

    Am confussed here, what’s Jeff Sayre’s plugin doing then?

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    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.

    Avatar of Pedro Miguel
    Pedro Miguel
    Participant

    @pedromiguel

    yes, my mistake, im talking about the other plugin sorry.

    Avatar of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    Can we get this plugin updated so it doesn’t crash your site if BuddyPress is deactivated? Thanks.

    http://codex.buddypress.org/how-to-guides/checking-buddypress-is-active/

    Avatar of mrjarbenne
    mrjarbenne
    Participant

    @mrjarbenne

    @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.

    Avatar of Mark
    Mark
    Participant

    @wpsec

    @Andy Peatling — ’tis done :-)

    Avatar of Mark
    Mark
    Participant

    @wpsec

    @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.

    Avatar of Symm2112
    symm2112
    Participant

    @symm2112

    M,

    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.

    Avatar of wahwahchris
    wahwahchris
    Member

    @wahwahchris

    Is this plugin working with buddypress 1.5?

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

You must be logged in to reply to this topic.