Due to the highr rate of infedelity rates in the us that have been strated thru facebook/myspace/etc... I want to implent a feature on my phphfox site that will be called Famlies and Family consent.
Users can join a "Family"(have all features of a group but custom consenst option available). Families will have two user types "Spouse" or "Son/Daughter". Spouse users are the admins of the Family. Son/Daughter are just members. Families can do everything a Group can do.
Can be choosen when creating a new Family or after. Basically gives people an option for granting or denying friend requests that their spouse/children receive or send. This is optional in a Family. If turned off, then a Family is just like a Site Group(same policies and features).
But if turned on these rules apply:
If a friend request is received by any one in a Family(spouse or son/daug), all Spouse users of that Family are notified of this and they have to all approve this request before that friend is added to the users account. Same vice versa.
If a friend request is initiated by any one in a Family(spouse or son/daug), all Spouse users of that Family are notified of this and they have to all approve this request before it actually gets to the user being requested. Same goes vice versa.
If at any point in the future a Family memeber wants to Turn off Family Consent feature for their account, then all Spouses in the Family must agree to request.
i.e. Stacy turned 21 and she doesnt want for her parents to have to approve all her friends on site. If her parents (spouse users) agree it can be done, but she is still part of Family.
Then this Family would have one member that is part of the Family but doenst need consent to add new friends. All other Sons/Daughters consent requirement remains active.
Creating/Joining a Family
People can choose wether to create a new Family during registration process or after already an active member. They can also choose to join an existing Family(all Families have to have a unique name) at registration or after.
Once a Family has been created the creator becomes Spouse User in that Family. Anyone else that joins this Family will choose what user type they desire Spouse or Son/Daughter. All people in that family are notified and they must all accept the new Family member and their requested role(spouse or son/daughter). If at any point in the future a Family memeber wants to leave the Family then all Spouses in the Family must agree to request. The user will then besome a regular user on website.
I dont know if this can be done as an addon or core has to be edit. Please let me know if this is possible, and which way? f not then what could I do that will accomplish my goal? Thank you.