Hi
Does anyone how to make a privacy policy based off gender? So say if you are a guy looking for a girl. You can restrict your profile to allow only girls to view it?
Thanks!
Hi Does anyone how to make a privacy policy based off gender? So say if you are a guy looking for a girl. You can restrict your profile to allow only girls to view it? Thanks! |
You should be able to accomplish this with the Free Extra Privacy mod. Hi Does anyone how to make a privacy policy based off gender? So say if you are a guy looking for a girl. You can restrict your profile to allow only girls to view it? Thanks!
Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz |
Looks like it's just what I need!
INSERT INTO `sys_privacy_groups` (`id`, `owner_id`, `parent_id`, `title`, `home_url`, `get_parent`, `get_content`, `members_count`) VALUES (18, 0, 0, '', '', '', '$aProfile = getProfileInfo((int)$_COOKIE[''memberID'']);return ($aProfile === false) ? false : ($aProfile[''Sex'']==''male'');', 0), (19, 0, 0, '', '', '', '$aProfile = getProfileInfo((int)$_COOKIE[''memberID'']);return ($aProfile === false) ? false : ($aProfile[''Sex'']==''female'');', 0), (20, 0, 0, '', '', '', '$aProfile = getProfileInfo((int)$_COOKIE[''memberID'']);return ($aProfile === false) ? false : (int)$aProfile[''Couple''];', 0), (21, 0, 0, '', '', '', '$aProfile = getProfileInfo((int)$_COOKIE[''memberID'']);return ($aProfile === false) ? false : ((int)$aProfile[''Couple''] || ($aProfile[''Sex'']==''male''));', 0), (22, 0, 0, '', '', '', '$aProfile = getProfileInfo((int)$_COOKIE[''memberID'']);return ($aProfile === false) ? false : ((int)$aProfile[''Couple''] || ($aProfile[''Sex'']==''female''));', 0); Mysql error: Duplicate entry '18' for key 'PRIMARY' |
Can I just increment these ID's to one that are not in use and run the script again? I don't want to do the uninstall as it looks like it will delete groups that were created by members... |
Never mind... I just ran the remove anyway... those keys can be re-created by the user if they wish.
worked find this time. Might want to add notes to the release to check the table first to make sure those ID's aren't already in use. |