Skip to content

Remove the "couple" option

♚ PH⑦ Soria ♛ edited this page Dec 11, 2018 · 2 revisions

This explains how to remove the "Couple" option and having just the "Man", "Woman" option.

Please remove the following highlighted lines in the code of your website.

Join Form

https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/e1b4913b8a40232fb9629da91b48ede04e185823/_protected/app/system/modules/user/forms/JoinForm.php#L101

https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/e1b4913b8a40232fb9629da91b48ede04e185823/_protected/app/system/modules/user/forms/JoinForm.php#L114

User Edit Form

https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/89a8b5fbfb769fcf5fa8493e9b7b3b6657436fab/_protected/app/system/modules/user/forms/EditForm.php#L79

https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/89a8b5fbfb769fcf5fa8493e9b7b3b6657436fab/_protected/app/system/modules/user/forms/EditForm.php#L93

Quick User Search From

https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/89a8b5fbfb769fcf5fa8493e9b7b3b6657436fab/_protected/app/system/core/forms/SearchUserCoreForm.php#L57

https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/89a8b5fbfb769fcf5fa8493e9b7b3b6657436fab/_protected/app/system/core/forms/SearchUserCoreForm.php#L69

Advanced User Search From

https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/89a8b5fbfb769fcf5fa8493e9b7b3b6657436fab/_protected/app/system/core/forms/SearchUserCoreForm.php#L108

https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/89a8b5fbfb769fcf5fa8493e9b7b3b6657436fab/_protected/app/system/core/forms/SearchUserCoreForm.php#L120

Note: These explanations are from my initial post here: https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/382#issuecomment-446084957