RFC: move pp data to separate table

Heine - November 19, 2006 - 10:49
Project:Profile Privacy
Version:4.7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

While trying to get profileplus to work with pp, I ran into the limits of the current storage format.

Proposed table structure:

uid, (int)
fid, (int) the fid of the profile field or 0 if not a profile field (to join on)
name, (varchar) the name of the field (eg member_for) to filter $user fields against.
status, (int)  status of the field (eg private, public, buddies only)

I already have the necessary .install upgrade code and will start refactoring pp.module soon, but I'd rather not fork pp if I don't have to.

#1

moshe weitzman - November 19, 2006 - 12:31

i'd have to see a patch to really evaluate this. so please go ahead.

#2

quicksketch - June 30, 2007 - 23:37
Status:active» fixed

This was fixed in the module rewrite: http://drupal.org/node/143447.

#3

Anonymous - July 14, 2007 - 23:46
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.