Map options are off, but Set Address On Map button still shows

This topic contains 8 replies, has 3 voices, and was last updated by  ny_mama_t 5 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #478984

    ny_mama_t
    Expired Member
    Post count: 42

    Hello,

    I have the map and lat/long options deselected in the address field. While the actual map and the lat/long fields do get removed from the submission form, the “Set Address On Map” button is still showing up on the form, including the accompanying text.

    I’m not sure if this is a bug or if I’m just personally missing something here (user error). As a workaround, I’ve hidden the button/text with the following CSS for now.

    .geodir_address_map_row.geodir_message_note, #address_set_address_button {
    	display: none !important;
    }
    #479045

    Kor
    Moderator
    Post count: 16516

    Hi ny_mama_t,

    Thanks for your post. Could you tell us a little bit more about the issue? Or perhaps you can share some screenshots or the URL of the page in question so that we could check on it? Also, remove the custom CSS code you’ve applied so that we could see the actual issue.

    #479112

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    the options for display of lat and lon are only for frontend, ie they remove display from the frontend when using the option for ‘show in extra output locations’. Specifically the map is needed to help the user fill out the lat/lon fields.

    Address fields are required for input and you may get an error on save if users cannot add values for each required field.

    If you want to turn off address for a CPT you can do that in the CPT Settings (General tab).

    #479205

    ny_mama_t
    Expired Member
    Post count: 42

    The advanced settings for the Address field under the Custom Fields tab specifically says the following in the tooltip for Show Longitude and Latitude:

    This will show/hide the longitude fields in the address section add listing form.

    Then it has a checkbox so you can show or hide them. This seems to indicate that you can still have the address fields but not show input fields for the lat/lon on the frontend.

    I’ve also selected to Disable Maps under GD > General > Advanced Settings.

    With those two settings set as they are, I believe that should let me hide lat/long and also remove all references to maps from the frontend, right?

    #479207

    ny_mama_t
    Expired Member
    Post count: 42
    This reply has been marked as private.
    #479208

    ny_mama_t
    Expired Member
    Post count: 42
    This reply has been marked as private.
    #479237

    Kor
    Moderator
    Post count: 16516

    Hi ny_mama_t,

    Thanks for your reply and I’m glad that you sorted that out. Are you still having issues with the plugin?

    #479246

    ny_mama_t
    Expired Member
    Post count: 42

    @Kor because I’m able to hide the Set Map button, this isn’t negatively impacting things for me. A user was able to successfully register and submit an event a little earlier, so it all appears to be working fine.

    Thanks

    #479247

    ny_mama_t
    Expired Member
    Post count: 42

    Also, since I manually approve each listing, even though the user doesn’t enter the lat/lon, I go ahead and add that myself after verifying address info.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket