-
Author
-
September 8, 2014 at 22:45 #28053alberhdParticipant
Hello,i need do the next changes to the match system,i need that the match works if a man is looking for a man or a girl for a girl,because right now if one user man enter to other man profile the match does not work,just with girls.
This is my actual custom code:
COPY CODEadd_action('after_setup_theme','kleo_my_match'); function kleo_my_match() { global $kleo_config; $kleo_config['matching_fields']['starting_score'] = 1; //required for initial match. If the sex preference matches it will continue to the specified fields below $kleo_config['matching_fields']['sex'] = 'I am a'; $kleo_config['matching_fields']['looking_for'] = 'Looking for a'; //sex percentage $kleo_config['matching_fields']['sex_percentage'] = 49; //single value fields like select, textbox,radio $kleo_config['matching_fields']['single_value'] = array ( 'Marital status' => 20, 'Country' => 13, 'City' => 5, ); //multiple values fields like multiple select or checkbox $kleo_config['matching_fields']['multiple_values'] = array ( 'Personality' => 10, 'Looking for' => 10, 'Someone that smoke?' => 10, 'Someone that drink? ' => 7 ); }
Thank you!
September 15, 2014 at 15:23 #28663alberhdParticipantHello,maybe some line code to do the match works if a user is looking someone with the same sex?
Thank you!
September 25, 2014 at 15:47 #29694AbeKeymasterHi, the matching works with whatever fields the user selected, so if the user is a man and looks for woman then only then the matching will increase
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.