I think this module is designed for logged in users with Buddypress only. So if a user is not logged in they cannot use it.
Ok, Now working……..good plugin
Hi, I am also looking for some code inside it,
As it is picking field 1 of logged in user and field 1 of displayed user and then comparing the value.
Is it possible to print the field name if it is equal ??
$field1 = xprofile_get_field_data($fd_id, $user_logged_in);
$field2 = xprofile_get_field_data($fd_id, $user_displayed);
if ( $field1 && $field2 )
{
$intersect = array_intersect((array)$field1,(array)$field2);
???
Thank you
Yes possible you can print the field name where score count is being increased.
Zarevac is right plugin only works for logged in users as we compare the profile of logged in user and user being viewed. in case someone is not logged in we will not have 2nd user to compare between 2.