pH7Software / pH7-Social-Dating-CMS

😻 pH7Builder (formerly pH7CMS) is a Professional & Open Source Social Dating CMS written in PHP 8 🚀 This Social Dating Script aims to be low resource-intensive, powerful and secure. pH7Builder includes over 40 modules. It is the first Professional, Free & Open Source Social Dating Site Builder Software and the first choice for enterprise level Da
https://pH7Builder.com
MIT License
967 stars 579 forks source link

Adding more genders in Ph7cms #742

Closed MKDan closed 4 years ago

MKDan commented 4 years ago

Hi,

I like to add more genders such as "Sub Male", "Sub Female", "Dom Male', "Dom Female", "Switch Male", and "Switch Female".

Instead of - Male, Female and couple (or along with Male, Female and Couple)

How can I do it?

Undefined-Variables commented 4 years ago

This will require changes in coregendermodule, database, and mutliple changes in profile, search module and other places too. I am planing to add some extra genders soon so will explain more here when I do.

pH-7 commented 4 years ago

Yes, unfortunately, this would involve database ENUM changes.

https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/master/_install/data/sql/MySQL/pH7_Core.sql#L86-L87

At the moment, the ENUM only contains "male", "female", "couple". So, if you manually add some additional genders in the PHP form dropdown fields, it won't work as the current ENUM won't match with them.

Finally, it will also require some PHP modifications such as in https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/master/_protected/app/system/core/classes/GenderTypeUserCore.php

pH-7 commented 4 years ago

Anyway, if you aren't a PHP dev, I'm sure you will be able to find someone on a Freelance website (e.g., https://www.freshbooks.com/blog/freelance-jobs) that will be able to make those changes for 15~20 hours.

Good luck!

pH-7 commented 4 years ago

P.S. Your profile image is great @MKDan Really like this kind of dog 😁, the Carlin pinscher...

pH-7 commented 4 years ago

By the way @MKDan, if you enjoy pH7CMS, it would be amazing if you can Star it (here, on GitHub) 😊 Star pH7 Social Dating CMS project!

Undefined-Variables commented 4 years ago

I plan on adding to the genders in the near future and will share how this is done on this issue once I have done so.

MKDan commented 4 years ago

By the way @MKDan, if you enjoy pH7CMS, it would be amazing if you can Star it (here, on GitHub) 😊 Star pH7 Social Dating CMS project!

I've star it.

skyfall96 commented 4 years ago

Interested too !

Undefined-Variables commented 4 years ago

https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/746 this explains how to add sexes.

pH-7 commented 4 years ago

Brilliant @Undefined-Variables 🤩

This is just an AMAZING "How To" issue!!!

Undefined-Variables commented 4 years ago

I have seen the question a few times so thought id explain.

stale[bot] commented 4 years ago

Hi there :) It looks like there has been no activity on this issue recently. For this reason, this issue has been marked as archived. It will be closed in 7 days if no further activity occurs. Thank you for your contribution! 😊

stale[bot] commented 4 years ago

Hi again, since you didn't get back to me, I assume the problem is fixed. I'm closing it by now. If it isn't the case, please feel free to open a new issue. Thank you! 😺 Pierre-Henry 🤖

lock[bot] commented 4 years ago

Hi there, I locked the thread since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Thank you, Pierre-Henry Soria 🤖