• Resolved Jay

    (@jaysonvos)


    Hi there, I am looking for customisation to the Ultimate member core plugin.

    The standard plugin has the directory with profiles, which allows you to search & filter to find users that match your requirements.

    I am looking for an extension or function that automatically shows you profiles in the directory that are relevant to you without the need to use the search or filters?

    Basically profiles that have matching fields are displayed first.

    E.g Profile A) “lives in New York” and Profile B) “lives in New York”, so the directory only shows profiles that match.

    Is this something possible that UM can offer, or can anyone assist me with this function? Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Aswin Giri

    (@aswingiri)

    Hello @jaysonvos

    You can try changing the user query on the directory as per your requirement. I suggest you look into the following hook:

    add_filter( 'pre_user_query', function( $user_query ){
    
    // change user query here
    
    return $user_query;
    	
    }, 10, 1 );
    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. ??

    Regards,

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hello @jaysonvos

    …This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. ??

    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display matching profiles in directory’ is closed to new replies.