-
Author
-
October 14, 2013 at 17:20 #4356DouweboschmaParticipant
Hi,
To start off I am highly impressed by the template the continuous development of it and the fantastic support. I am glad to have chosen this one.
I have a question or maybe it will be more a request.
The more questions the better the match, but also the less people that fill out a whole score of questions so the worse the match. To avoid this and to make my site more interesting and effective I would like to do add the possibility of matching on psychological profiles which would in addition also provide some extra insight in the user’s own psychological type.
There is a plugin that can create a valid and correct psychological profile that is for example based on the Meyer Briggs system or on other psychological profile systems. The problem with this plugin is that it doesn’t put the results into the database (and to change the plugin so it does is beyond me and also beyond the developer’s capabilities) so it can’t be used directly to match on personality types that would shown up on the profile pages.
The idea is to have the user create a psychological profile and match in such a way that for example a sensitive introvert person does match badly with an intellectual extrovert but better with an intellectual introvert. There are types that match and that don’t match so I would like to score accordingly.
This is the plugin I am talking about:
If anyone knows how to implement psychological profiling in Sweetdate then I would be very pleased to hear about it. Or could it be an idea for the developers to expand the template with psychological profiling? It is not as complex as it sounds and I could explain further in detail how I think it could work, but this question first. 😉
With kind regards,
D
October 15, 2013 at 17:03 #4418SQadminKeymasterHi.
Very nice plugin indeed. To integrate it with Sweetdate it has to save the results to the database After that you could easily query the dataHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 15, 2013 at 19:59 #4440DouweboschmaParticipantMaybe an idea to integrate? There are several tests that can be made with this plugin. This kind of test is used a lot for job-profiling too so implementing this could give your template even more uses. It is rare on dating sites but I believe it is really a “golden egg”
I had to smile a little because you make that all sound very easy. 😉
So I looked a bit at the code but it seems like a code-swamp to me and I am sinking into it.
I saw though that the plugin actually creates some database tables.
wp_ptest_answer
wp_ptest_dimension
wp_ptest_main
wp_ptest_questionI would be happy to try out a bit but actually need to have a push in the right direction. I found a code snippet I thought could make some sense in how to get this baby to post stuff to the right user in the database. If you would have the time to look at it then I would greatly appreciate it. If you don’t then I have complete understanding for that because it might not be your most urgent matter. 😉
The results are shown trough this snippet in “test_form.php” I guess. Maybe this is the more important one. The result of “%%PROFILE_CODE%%” should be saved in the database and become visible on the member profile.
(// Populate form fields according to the action
if($_REQUEST[‘action’]== ‘edit’) {
$action = ‘edit’;
$form_title = __(‘Edit Test’,’ptest’);
$dtest = array();
$dtest = $wpdb->get_row($wpdb->prepare(“SELECT name,description,final_screen FROM {$wpdb->prefix}ptest_main WHERE ID=%d”, $_REQUEST[‘test’]));
$final_screen = stripslashes($dtest->final_screen);
$all_dimensions = $wpdb->get_results($wpdb->prepare(“SELECT ID, pdimension, explanation, ndimension FROM {$wpdb->prefix}ptest_dimension WHERE test_id=%d”, $_REQUEST[‘test’]));
if($dimension_count < count($all_dimensions)) $dimension_count = count($all_dimensions) ;
} elseif ($_REQUEST[‘action’] == ‘new’ OR $_REQUEST[‘action’]==””) {
$action = ‘new’;
$form_title = __(‘Add New Test’,’ptest’);
$final_screen = __(‘<p>Congratulations – you have completed %%TEST_NAME%%.</p>\n\n<p>Your personality profile %%PROFILE_CODE%%. </p>’,’ptest’);
}?>
I would really appreciate that little push in my back if it would not take too much of your time.
October 16, 2013 at 10:17 #4488SQadminKeymasterHi,
It is not really that easy but it can be achieved 🙂
That code doesn’t help much and you need to consider a serious integration if you want to accomplish this.
You need to save the results to the DB, for example “sensitive introvert” and then you need to define the matching between the result profiles. After you have that you need to create a “Compatibility” page to show all compatible members which needs to query and show those exact compatible users.
If you need custom development we have a colleague that can help.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.