• Resolved Stewart Barklem

    (@stewart-barklem)


    I have just started using “No Location” and it all works fine. The only niggle I have is that when I set “No Location” in the event – the screen shows “Location not found” and when I click “Update” the record is correctly set but confusingly the screen shows the event set to the default location. Obviously if you ever made changes to the event you would need to remember to set the location back to “No Location” each time.

    https://www.ads-software.com/plugins/events-manager/

Viewing 15 replies - 1 through 15 (of 18 total)
  • Hiya,

    Exactly how/where are you setting “No Location”? Do you mean the option that says “This event does not have a physical location”?

    Thanks

    Thread Starter Stewart Barklem

    (@stewart-barklem)

    When I edit or add a new event as soon as I choose “No Location” I get “Location not found” under the dropdown where, for a real location, the map would be. I have no problem with this – the problem is when I click Publish (new event) or Update (existing event) the dropdown returns to the default location and the map for the default location appears. If I go out of the event and back in to edit it again the default location and map is shown not “No Location” which is what the event is set to.

    I’m still not clear where you’re doing this. Is this in WP admin or are you using a front-end submission form?

    Thread Starter Stewart Barklem

    (@stewart-barklem)

    wp-admin / Dashboard / Events / Add Event

    OK, given that, this is the bit I don’t understand;

    “…as soon as I choose “No Location” I get “Location not found” under the dropdown…”

    There isn’t a “No Location” option.

    There’s a checkbox that says This event does not have a physical location but when that’s selected, the only thing that should happen is the Where panel collapses.

    Is that what you’re trying to do?

    Thread Starter Stewart Barklem

    (@stewart-barklem)

    Go to Events / Settings / General Options
    Set “Require locations for events?” to No.

    Can you post a screenshot of where you see “No Location” please? I really don’t think you should be seeing that…

    Thanks

    Thread Starter Stewart Barklem

    (@stewart-barklem)

    See screenshot. You get this option when “Require location for events?” is set to No, if it is set to Yes it does not appear.

    Screenshot

    Looks to me like somehow you’ve created a location called No Location. That error message is shown when Events Manager can’t find the location selected in the dropdown select.

    If you go to Events > Locations, do you see a “place” called No Locations listed?

    What version of Events Manager are you using? In newer versions, the location select isn’t styled like that. Maybe you’re running an old version of the plugin?

    Thread Starter Stewart Barklem

    (@stewart-barklem)

    In your version of the plug-in how do you create an event with no location?

    You check the box on the Add / Edit Event screen that says This event does not have a physical location.

    Which version of Events Manager are you using?

    Thread Starter Stewart Barklem

    (@stewart-barklem)

    WordPress 3.8.1
    Events Manager 5.5.2

    Thread Starter Stewart Barklem

    (@stewart-barklem)

    I have “Use dropdown for locations?” set to Yes so I can select the locations set-up from a drop down. If I set it to “No” I get the check box you refer to. With it set to “Yes” I get “No location” in the drop down AND if I have “Default Location” also set when I go in to edit the event the screen shows the default location not “No location”.

    If I don’t have a “Default Location” set it seems to work fine.

    In wp_em_events if no location is selected the location_id is set to zero. I suspect that null location_id’s are also set to zero and the screen sets the dropdown to the default location if it gets a zero location_id. Could be wrong haven’t gone that deep into the code.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    sorry am not getting this; did you modify any EM templates? also, maybe you can try EM dev version 5.5.2.1

    To upgrade to the dev version see here – https://wp-events-plugin.com/documentation/upgrade-dev-version/

    Thread Starter Stewart Barklem

    (@stewart-barklem)

    Haven’t modified EM templates. I am running the free version not the pro version. (I am assuming I can only upgrade to dev versions with pro as I don’t have the dev upgrade menu on my version)

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘No Location’ is closed to new replies.