Support » Plugin: Match me for BuddyPress » Not working when logged out

  • This is not working when user is not log in. As It should be hide at that time. How it can matches for the visitor.
    Can you tell how I can fix this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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

    Plugin Author Muhammad Kashif


    Yes possible you can print the field name where score count is being increased.

    Plugin Author Muhammad Kashif


    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not working when logged out’ is closed to new replies.