Forum: WP Users Geolocation

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the WP Users Geolocation premium extension please open a new premium support ticket.

[Resolved]Customization features

Forums WP Users Geolocation Customization features

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45971
    emilien
    Member

    Hi Eyal, I hope you’re fine,

    I use your WP Users Geo-location add-on and I saw it’s not compatible with your Premium Features Add-on yet… I need to display a map of my users but I have two questions:
    – how to display only a defined user role on this map?
    – how to set a custom marker?

    I don’t mind adding this through hard code for now but I’m not a dev and I can’t figure out what to do… this is pretty urgent so thank so so much for your help and have a great day,

    Emilien

    #46026

    Hello Emilien,

    – how to display only a defined user role on this map?
    – how to set a custom marker?

    I assume that you need to apply both features to a Global Map? If so then unfortunately there is no “simple” solution and it will require some custom work.

    You will need to first modify the search query to include only members with that specific role. Means that you will probably need to pull all the user IDs of the specific roles that you want to show and filter the search query based on these user ID’s.

    Then, after the query is done, you will need to loop through all users and modify their map icons to display the icon that you want.

    unfortunately, that is not something I can help over the support forum. It will require some custom coding and testing to get that done.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Customization features’ is closed to new replies.