Skip Navigation

[Resolved] User's address field not loading

This support ticket is created 7 years 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 10 replies, has 2 voices.

Last updated by Luo Yang 6 years, 12 months ago.

Assisted by: Luo Yang.

Author
Posts
#601926

I am trying to: user's address field map load in layout like this(https://toolset.com/documentation/user-guides/display-on-google-maps/?utm_source=toolsetmapsplugin&utm_campaign=toolsetmaps&utm_medium=marker-field-types-dialog&utm_term=Toolset%20Google%20Maps%20documentation#displaying-the-map)

Link to a page where the issue can be seen:hidden link

I expected to see: map with address of Who add the post

Instead, I got: nothing i got

#601937

Dear Gnanasekara,

The URL you mentioned above is a intranet URL, I can not see it.

Please check these in your website:
1) You are following our document to setup the google map and map markers:
https://toolset.com/documentation/user-guides/display-on-google-maps/
especially the google map API settings:
https://toolset.com/documentation/user-guides/display-on-google-maps/creating-a-google-maps-api-key/

2) When you insert the map marker shortcode into content, add debug="true" attribute, for example:
[wpv-map-marker debug="true" ... ] ... [/wpv-map-marker]
It will be able to output some useful debug information, copy them to this thread, we need to know if there is any error in your website.

3) If the problem still persists, please provide a database dump file (ZIP file) of your website in below private detail box, I need to test and debug it in my localhost, thanks

#601950

i can't find "private detail box"

#601951

OK, I just enabled the "private detail box", please follow the my post to provide the details.

#601967

and featured image not coming for listing custom post type, but I have enabled it.

#602103

Thanks for the details, here is what I found in your database dump file, you are using a layout "single ad" to design the post
In the layout "single ad", you did not follow our document to setup the map shortcode:
https://toolset.com/documentation/user-guides/display-on-google-maps/

All you need is add a Toolset map shortcode in to it, for example, modify the codes as below:

<p>[wpv-map-marker map_id="single-ad" marker_id="marker-4" marker_usermeta="wpcf-google_address-30b463f3" id="$author"][/wpv-map-marker]</p>
<p>[types usermeta='google_address-30b463f3' user_is_author='true'][/types]</p>
<p>[wpv-map-render map_id="single-seller"][/wpv-map-render]</p>

And test again.

More help:
https://toolset.com/documentation/user-guides/maps-shortcodes/#wpv-map-render
Renders a map.

#602190
screenshot-192.168.1.70-2017-12-29-19-25-20-104 (1).png

I have checked with documnet and also your test code (above you gave). I did not got MAP, PFA

#602196

Or kindly share Database dumb

#602197
#602199
#602391

For the new question:
https://toolset.com/forums/topic/users-address-field-not-loading/#post-601967
I assume we are talking about this case:
When you are editing a single post of custom post type, you need to select the feature image of the single post.

If it is, you can edit the custom post type, in section "Sections to display when editing ", enable option "Featured Image", and test again.

Since the original question of this thread is resolved, If you still need assistance for the new question, please create new thread for the new question, that will help other users to find the answers.