Support » Plugin: Events Made Easy » User confirmation some days before event starts

  • Resolved Zofster

    (@zofster)


    `Hi, thank you for great plugin!
    I have next scenario:
    Non payed event, Require user confirmation after booking.
    I no need user confirmation at the moment of booking, but 3 days before event starts.
    So I removed confirmation link from Booking Awaiting User Confirmation email
    I set (Settings > RSVP) Send out pending booking reminders to 3 days before event starts.
    I put conformation link in Booking Reminder Email (so booker can confirm booking)

    problem is that I never received reminder email.

    Idea is that booker cannot confirm booking immediately after booking made, but must confirm booking x days before event starts, or booking will be cancelled.

    Can you suggest how to achieve this?

    Zlatan

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

    (@liedekef)

    The setting you mentioned is only to set the default for new events. Go into an existing event and configure your reminder setting there, that should do the trick. I’ll add some more explanation to that generic setting.

    Thread Starter Zofster

    (@zofster)

    Thank you for fast response!
    Will try to test it now, but must wait for reminder mail.
    Any idea how to test it faster?

    Plugin Author Franky

    (@liedekef)

    Install a plugin like WP Cron Manager and run the planned action “eme_cron_events_daily_actions”

    Thread Starter Zofster

    (@zofster)

    I tried but with no result.
    I tried to set in Generic RSVP days for sending reminder email, and execute cron job, but this did not work.
    I did not tried this before according to this text: “Set the number of days before reminder emails will be sent for approved bookings”. My logic was – if booking is not approved, mail will not be sent.

    Plugin Author Franky

    (@liedekef)

    You need to set the setting “Set the number of days before reminder emails will be sent for pending bookings” in the event RSVP settings. Did you do that?

    Thread Starter Zofster

    (@zofster)

    No, I do not have this field active because I have checked only “Require user confirmation after booking”
    Now I see tha I can check both (Require booking approval and Require user confirmation after booking) then I have option to Set the number of days before reminder emails will be sent for pending bookings.
    I`ll keep you posted after the tests.
    Thank you for directions 🙂

    Plugin Author Franky

    (@liedekef)

    Wait .. I just reread your initial question. Are you saying that you require user confirmation, but not immediately? The pending reminder email won’t solve that. User confirmation is either done or not, but the pending reminder email is for booking that require admin approval (or payment or so), not user confirmation.
    User confirmation mail is sent out right away, after which a booking goes in “pending” state (if the event is set like thay), and then your reminder can go. Currently there’s no delay in the user confirmation mails possible, unless you code up the whole thing …

    Thread Starter Zofster

    (@zofster)

    That is bad news.

    I tried to solve this by sending Booking Pending Email manually (open Pending Bookings, select all needed and resend Booking Pending Email) and this worked.

    Only one thing,
    In Booking Awaiting User Confirmation Email, even I did not put it into mail body, link for confirmation is automatically added on the end of mail body.
    Is there any possibility to remove this link or to hide it?

    That will solve my problem for now.

    Thank you in advance!

    • This reply was modified 1 month, 2 weeks ago by Zofster.
    Plugin Author Franky

    (@liedekef)

    Indeed, currently the code adds the link at the end if you don’t set it yourself in the mail (otherwise user confirmation is not possible).
    If you’re comfortable with wordpress filters and apply this changeset:
    https://plugins.trac.wordpress.org/changeset/2725873/
    you can then use the filter eme_rsvp_email_html_userconfirmation_pending_body_filter
    to filter the body of that specific mail and remove that url.

    Since the regex can be a pain, I also created new filters. If you apply this changeset:
    https://plugins.trac.wordpress.org/changeset/2725876/
    you can then use the filter eme_rsvp_email_format_userconfirmation_pending_body_filter
    to filter the body of that specific mail and remove the text “#_BOOKING_CONFIRM_URL” from it.

    Thread Starter Zofster

    (@zofster)

    Unfortunately I am not comfortable with wordpress filters.
    Any other way to solve that?

    Plugin Author Franky

    (@liedekef)

    The next version will no longer add #_BOOKING_CONFIRM_URL automatically, that should solve your issue more easily 🙂

    Thread Starter Zofster

    (@zofster)

    Wow! Great! Thank You!
    I tried to understand what to do reading from the links you sent, but but I still have a lot to learn to implement this. 🙂

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.