Skip Navigation

[Resolved] can I populate a map with users data custom fields?

This support ticket is created 3 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 5 replies, has 2 voices.

Last updated by andreaP-10 3 years, 1 month ago.

Assisted by: Shane.

Author
Posts
#2186965

Hi there,
In a user role I added some custom fields, including address and city fields
I am able to set up a view that shows the addresses and cities of each individual user, but I am unable to filter it (because I only add custom post type data filters)
Likewise I am able to insert a map block but I cannot set it. The map block throws an error and I cannot manage its properties
Please could you assist me?

#2187145

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Andrea,

Thank you for getting in touch.

Is it that you want to display a filterable list of users ? as well as display their address on a map ?

Please let me know if this is the case.

Thanks,
Shane

#2187159

Hi Shane,
yes, this is exactely what I trying for. Display a filterable list of users as well as display their address on a map
Furthermore, when the user is registrating, he can choose between two different roles I created. How can I add this choice in the new user form?
Thank you so much

#2187161

Hi Shane,
yes this is exactly what I am looking for. Displays a filterable list of users and displays their address on a map
Furthermore, when the user is registrating, he can choose between two different roles. How can I add this choice in the registration form?

#2187215

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Andrea,

You're not able to do a search on the wordpress default user object however you can create a Profile post type that the user can create after registering.

Take a look at this documentation below.
https://toolset.com/documentation/legacy-features/views-plugin/how-to-create-custom-searches-and-relationships-for-users/

This should guide you through the setting up of the user and their profiles.

For the user role selection, my advice would be to create a link/button that would link to the different forms that would create the user under a different role because a user form can only be tied to one form.

Thanks,
Shane

#2187499

This is not a valid solution for me but I understood those are the limits of the plugin.
I thank you very much for your support. You was very clear for me!