• Hi there,

    We’re trying to add another image to the User Locations map info window. We were able to create a template of the map-shortcode.php file but we’re having trouble passing the necessary data to the data.userdata object. We’ve tried passing the data to the um_ajax_get_members_data filter but it’s not showing in the info window. I’ve included the code we have in our theme’s function.php file below.

    https://docs.ultimatemember.com/article/1586-add-an-image-field-into-the-profile-card-in-the-member-directory

    add_filter( 'um_ajax_get_members_data', 'custom_um_get_survey_badge', 10, 3 );
    function custom_um_get_survey_badge($data_array, $user_id, $directory_data) {
    
    $outputBadgeImg = // URL of image
    
    $data_array["um_badge"] = $outputBadgeImg;
        return $data_array;
    }
Viewing 1 replies (of 1 total)
  • Plugin Support Aswin Giri

    (@aswingiri)

    Hello @bryantucknologies

    I believe this question is related to User location extension. If you have purchased one of our extensions or our bundle and you need help, you will need to submit a support ticket via our website as we are only allowed to provide support on this forum for the free plugin hosted on the www.ads-software.com website.

    To submit a ticket, please login to our website using the email used on checkout and go to this page:

    https://ultimatemember.com/support/ticket/

Viewing 1 replies (of 1 total)
  • The topic ‘User Location Custom Info Window’ is closed to new replies.