Code attached that forks profile_privacy to add support for onepageprofile, user relationships

cpliakas - October 6, 2009 - 20:52
Project:Profile Privacy
Version:6.x-1.2
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

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

AttachmentSize
profile_privacy.tar_.gz198.77 KB

#1

aidanlis - October 13, 2009 - 16:31

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,

#2

sethcohn - October 13, 2009 - 19:09

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

 
 

Drupal is a registered trademark of Dries Buytaert.