Okay
  Public Ticket #3716946
Amelia RSVP in an event
Closed

Comments

  •  2
    Dimitris Vayenas started the conversation

    We would like to enable the functionality for RSVP to the event booking. 

    That is each of the participants to get an email with a link that will confirm that will attend (or not) the event. 

    I think you already have this functionality but we cannot figure it out. 

    I think that you have a reminder of an event (before x days) but we would like it to have enabled and run it with a cron for all the participants today. 

    Thank you.

  •  1,500
    Uroš replied

    Hello Dimitris,

    Thank you for your inquiry.

    While we don't have a specific RSVP functionality, you can set up event reminders and include a link for event cancellation in those reminders. This allows participants to confirm or cancel their attendance if they no longer wish to attend the event.

    If you need any assistance setting this up, please let us know, and we'd be happy to help.

    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  2
    Dimitris Vayenas replied

    I will explain the concept later.

    We are doing it manually with custom code, that in the notification upon manual registration the email contains links that  to a custom page that does the confirmation - having the attendees list imported in a wpdatatable.

    But we came up to an issue. Adding attendees to an event from the users is limited to 100 people. Then we are getting nothing. We need to invite another 150 people and we cannot do it.  

    I guess somewhere you have a limit of 100 to the number of records of users that you list can take.

    Please send me a quick fix ASAP. It is truly urgent. 

    Attached files:  stops being populated.png

  •  2
    Dimitris Vayenas replied

    I fixed the issue by intervening in the wp_options 

    The parameter in question is this: 

    "customersFilterLimit": 100, 

    I changed that to 1000 in the database, disabled and re-enabled the plugin and it worked. 

    For the rest I will record a video that I will also send to Alexander about it because it is a major pain point - as most people do do hybrid administration of their events, especially NGO's as it was in our case, when they invite ministers etc. So it is not just self registering events. 

    The fact that when we created users (in Amelia) also sends emails to the users via wordpress in order to reset the passwords was a major pain point, as people kept phoning in the NGO about what is this email (prior to receiving the email with the actual event invitation). DISABLE the default email sending upon opening new customer accounts ASAP PLEASE. 

    More in the video to follow.

  •  1,500
    Uroš replied

    Hello Dimitri,

    Thank you for the update on this and for providing us with the solution for this.

    In regards to your second issue, that's WordPress' default email for every new user. I don't know if you can disable it through WordPress settings, but I do know that you can do it with this plugin: https://wordpress.org/plugins/manage-notification-emails/

    Just disable the option “New user notification to the user” and you’ll be good.

    Oh and btw in case you wanna know where the code is, you might wanna open up this file: wp-includes/pluggable.php Line number: 1989

    So when you disable this through the 3rd party plugin, your customers will only receive notifications from Amelia, without the following email:

    "Username: ———

    To set your password, visit the following address"

    I hope that helps.

    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  2
    Dimitris Vayenas replied

    There is this action

    add_filter( 'wpmu_signup_user_notification', '__return_false' );


    I think you ought to include it in your code so that users will not get the email when you are creating them (and most of your customers, like ourselves, cannot even image that something like that will happen).

    Here is the documentation: 

    wpmu_signup_user_notification() – Function | Developer.WordPress.org

  •  2
    Dimitris Vayenas replied

    Here is the video with the issues we faced and the anticipated product enhancements.


    https://www.loom.com/share/03568e80b52546e1ae89b3877c13c2a1?sid=859e4462-f7d7-4bc1-82fe-5cf6179ebdc6

    Thank you!

  •  2
    Dimitris Vayenas replied

    The summary of the required functionalities (if we assume that you acknowledge the need to have your customers managing all their event registrations from Amelia) are the following:
    1. Mass import of customers from Excel (without sending emails about the creation of their WP Accounts)
    2. Ability to Group customers so that we add groups of customers to events (i.e. instead of doing 300 clicks to just select a few groups). 
    3. Ability to send RSVP emails - so that the participants can confirm their registration (i.e. generate links for "Yes I will participate", "No, I will be unable to attend".  - Both scheduled and on demand (e.g. after the binding of the users as attendees to the event an administrator to be able to send this notification with one click)
    4. Ability to repeat sending RSVPs at regular intervals (via cron, specified number of days/weeks etc), to all the registrants that have not responded to the call for RSVP. 
    5. It will be good to have the %customer_id% as placeholder field. Currently it is missing.
    6. Salutation field (for the emails to be sent) for more formal events. 

    Here is the code that we are using in our application to achieve this outcome where we created  a custom wpdatatable to store all the entries 


    function update_attendance_status()
    {
        $static_key = '5add9c0a2fca5cdcff75c6281c6be47e';

        if (isset($_GET['userid']) && isset($_GET['response']) && isset($_GET['key'])) {
            if ($_GET['key'] !== $static_key) {
                return "Invalid request. Please try again.";
            }

            global $wpdb;

            $userid = intval($_GET['userid']);
            $response = intval($_GET['response']) ? 1 : 0;

            $table_name = $wpdb->prefix . 'rsvp_who_2024';

            $select_query = $wpdb->prepare(
                "SELECT prosfonisi, guest, yesnofield FROM $table_name WHERE userid = %d",
                $userid
            );

            $user_info = $wpdb->get_row($select_query);

            if ($user_info) {
                $prosfonisi = $user_info->prosfonisi;
                $guest_name = $user_info->guest;

                $result = $wpdb->update(
                    $table_name,
                    array('yesnofield' => $response),
                    array('userid' => $userid)
                );

                if ($result !== false) {
                    $updated_value = $wpdb->get_var($wpdb->prepare(
                        "SELECT yesnofield FROM $table_name WHERE userid = %d",
                        $userid
                    ));

                    if ($updated_value == $response) {
                        $confirmation_message = $response == 1
                            ? "Your attendance has been confirmed!<p>We look forward to welcoming you in person on the day of the event.</p>"
                            : "Thank you for informing us of your availability. We are sorry that you will not be able to attend the event. <p>We hope to have the pleasure and honor of meeting you at one of our future events.</p>";

                        return "<p><h3>$prosfonisi $guest_name</h3></p>
                                <p>$confirmation_message</p>
                                <p><strong>On behalf of the Organizers....</strong></p>";
                    } else {
                        return "<p>$prosfonisi $guest_name</p>
                                <p>There was an error confirming your attendance. Please try again.</p>";
                    }
                } else {
                    return "<p>$prosfonisi $guest_name</p>
                            <p>There was an error updating the application.</p>";
                }
            } else {
                return "No record was found for this specific user.";
            }
        } else {
            return "This page cannot function without the correct parameters!";
        }
    }

    add_shortcode('update_attendance', 'update_attendance_status');

  •  1,500
    Uroš replied

    Hello Dimitris,

    Thank you for the update on this and for providing us with detailed explanation of this.

    We will take a look into it and let you know as soon as possible.

    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables