We recently had to use profile_privacy on a project, but unfortunately we couldn't use the module in it's current state. The requirements were that it had to work with user relationships, onepageprofile, and we had to be able to hook into the module to add custom privacy settings at a later time. The fork attached to this post satisfies these requirements by doing the following: it adds some hooks to create and process custom privacy settings, adds a user relationships contrib module that implements the hooks, adds code that hopefully handles the onepageprofile stuff, and also adds an AHAA interface to be able to sort the custom access settings. We did have to modify the "private" field in the "profile_privacy_values" table to be a varchar, as it reduces the chances of name collisions as we define our custom privacy settings. It doesn't really make sense to commit a patch since there are a handful of changes and a couple of new files, but my hope is that there may be some code that you can pull out and apply to the real profile_privacy module. The onepageplugin stuff was done by RSTaylor.

Thanks,
Chris

CommentFileSizeAuthor
profile_privacy.tar_.gz198.77 KBcpliakas

Comments

aidanlis’s picture

Thanks for providing a privacy module that works with onepageprofile, let me know if there's anything I can do at onepageprofile's end to make integration easier.

Cheers,

sethcohn’s picture

See #570134: Conflict between Profile Privacy and One Page Profile modules, if you only want a bare minimum patch to make profile_privacy work with onepageprofile. Kudos to Ray.

seaneffel’s picture

Status: Active » Closed (duplicate)

Duplicate. Looks like a solution will come sooner to the unforked version on this issue.

http://drupal.org/node/570134

cpliakas’s picture

Status: Closed (duplicate) » Needs review

seaneffel,

I don't feel that this is a duplicate because it doesn't just integrate with One Page Profile but also allows for custom access settings beyond "Public" and "Private". For example, you could restrict access to only the people you are friends with, or just to users of a certain role. The title I originally is probably a bit misleading in that it doesn't spell this out explicitly.

Thanks,
Chris

cpliakas’s picture

Added sandbox project at http://drupal.org/sandbox/cpliakas/1268060 to be more transparent about the work that is happening here. Again, the hope is to integrate some of these concepts back into this module.

cpliakas’s picture

Status: Needs review » Fixed

This is now the basis for the 6.x-2.x branch of Profile Privacy.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.