• Resolved hmbgbw

    (@hmbgbw)


    Hello Franky,

    I’m using EME and it works very well. In the options I generally allowed Bookings (RSVP).

    I then started using EMEFS to allow Users to generate simple calendar entries (just event_name, event_date, event_location). Theses entries don’t need the booking functionality, but it wouldn’t hurt, if they had it (which is generally the case, because I set the EME-option to do so).

    The problem is: the events created by EMEFS don’t show up in the calendar on the due date (former and later entries are shown correctly). If I disable the booking option by editing the events, the so edited event shows up correctly in the calendar.

    I tried to manipulate the event_rsvp property (there even seems to be an event_rsyp field), but without success. Apparently when creating an event, EME checks the general option for RSVP (booking) and sets it for each new event. Is there a possibility to override this behavior just for EMEFS?

    Or: do you know a way to show the entries on the due date? (Each entry generated by EMEFS has an specific event name and event_location, all entries share the event_starttime 0:00. Setting the all_day property (<?php EMEFS::property(‘all_day’,’binary’); ?>) didn’t help).

    Maybe you find a minute to bother with my problem (would very much appreciate that).

    Cheers,
    Heiner

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Franky

    (@liedekef)

    Did you try to use EMEFS::field(‘event_rsvp’) ?
    To set the time of an event, use EMEFS::field(‘event_start_time’) and/or EMEFS::field(‘event_end_time’)

    Thread Starter hmbgbw

    (@hmbgbw)

    Thank you for the quick response.

    Yes, I tried DMEFS::field(‘event_rsvp’) but I didn’t get it to work. It always gets overwritten by line 18 in eme_events.php
    “event_rsvp” => get_option(’eme_rsvp_reg_for_new_events’)? 1:0,
    (It works, when I delete that line for testing purposes.)

    But since you mentioned the event_start_time-field I used that to set the start time to a very late time:
    <input type=”text” class=”hidden” id=”event_start_time” name=”event[event_start_time]” value=”23:58″ />

    A least the event now shows on the due date, but if you ever come across a solution for overriding the event_rsvp settings I’d be happy to read about that in the docs oder source code one day.

    Thanks again,
    Heiner

    Plugin Author Franky

    (@liedekef)

    Well, the rsvp thing was in fact a bug (in there for a long time for any binary field). Fixed in the just released 1.0.31 version.

    Thread Starter hmbgbw

    (@hmbgbw)

    Impressive! Thanks a lot.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disabling RSVP only for EMEFS’ is closed to new replies.