Okay
  Public Ticket #3406030
Automatic reminders after RSVP
Closed

Comments

  •  1
    twothreenine started the conversation

    I want STEC to send out reminders to all attendees 24 hours before the event, regardless whether they have set a custom reminder. I don't use any ticket system, but the RSVP feature.

    I have found a wp filter for a similar case, but for ticket instead of RSVP: https://codecanyon.net/comments/25878393

    Can you please tell me how to change this filter for RSVP?

    (I'm using STEC 5.0.2 together with Wordpress 6.2.2 and Elementor Free (3.14.1))

  •  783
    Zhivko replied

    Try out this hook:


    Attached files:  Attendance auto add remind.zip


    Stachethemes Developer

  •  1
    twothreenine replied

    Thank you, works beautifully!

    I noticed a little bug, though: The remind note is displayed as <p>remind note</p> in the email, including the html code.

    Example email template:

    "This is a reminder for {{event_title}} on {{event_start_date}}.
    {{remind_note}}

    Yours, ..."

    Will look like:

    "This is a reminder for Infotreffen on 7. July 2023 16:00.
    <p>You have an upcoming event tomorrow: Infotreffen</p>

    Yours, ..."

  •  783
    Zhivko replied

    In your theme or child-theme functions.php file add this filter:

    // Allow HTML in the emails
    add_filter('stec_mail_headers', function () {
        return array('Content-Type: text/html; charset=UTF-8');
    });


    Stachethemes Developer