• Buddypress 1.2.8
    multisite

    I cannot disable the location drop down. I would like users to manually type their address with each event but no matter when I change the “Use dropdown for locations?” setting to the dropdown remains.

    Additional details :
    -Plugin is on network wide
    -Users seem to only be able to make events if they are a subscriber of the root blog

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter nicholmikey

    (@nicholmikey)

    Looks like em-event.php checks for that setting, but event-editor.php does not. So whenever I am editing or creating I am forced to use the drop down.

    Thread Starter nicholmikey

    (@nicholmikey)

    I fixed this by coping the form from em-event.php into event-editor.php, event-editor.php became:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    After this I had a problem where when I make a new location in the new event form it was not saving as my location, rather it was under “All Locations”. I fixed this by making a change in the em-location.php file in the classes folder, adding this to line 32 right before I save a new location.

    if($this->id == ''){
      $this->owner = get_current_user_id();
    }
    Thread Starter nicholmikey

    (@nicholmikey)

    Now, this hard codes the non-drop down mode, but you could easily drop in a $use_select_for_locations = get_option('dbem_use_select_for_locations');

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    your code was moderated so i can’t see

    note that you can modify the form using template files (see the docs) and also i believe that i updated this in the bp version as i did with the new guest event submission form.

    Thread Starter nicholmikey

    (@nicholmikey)

    What version is the BP version? I thought Events Manager had buddypress integration build in as the version I have has a buddypress folder and appropriate templates. Right now I am using Events Manager version 4.0.82

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    i meant by bp version the template in EM forms/event-editor.php, which is what buddypress currently uses in its event pages. there’s a new version, called forms/event-form.php

    i’d first try updating EM

    Thread Starter nicholmikey

    (@nicholmikey)

    Tried updating EM but it did not resolve the problem

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    currently this isn’t implemented in BP. There’s a new form for guests that uses the form for locations, which you could use if you know php. otherwise it’ll get implemented within a couple of weeks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Events Manager] Cannot Disable Location Drop-Down’ is closed to new replies.