• Resolved lauritsm

    (@lauritsm)


    Hi,

    I’m able to setup RSVPmailer to send an email listing the upcoming events, and I get the events included as they should. However, the content displayed for the events doesn’t include the “Number of attendees” currently signed up, or X of Y places if there’s a limitation of places set. So, I’ve been trying to find out where I can modify the script files so this gets included.

    The content displayed in the email is tied to the [rsvpmaker_email_content] placeholder, and although I can locate this in the rsvpmaker-email.php, which in turn refers to rsvpmaker-email-template.php, I’m not sure where I can actually make a change that will a) not break rsvpmaker/rsvpmailer, and b) persist even when rsvpmaker/rsvpmailer is updated.

    Essentially what I want to show for each event in the upcoming events email should be:
    Number of attendees currently signed up to each of the upcoming events, and the limitation of spots (if set).

    If possible, I’d like that change to survive the updating of rsvpmaker/rsvpmailer plugin.

    Anyone that could offer some guidance on how/where to put the needed code (and if I can re-use the code already counting/checking attendees when you sign up)?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author davidfcarr

    (@davidfcarr)

    I just finished adding an option to display the count as part of the notification sent to the event organizer when someone RSVPs (by adding [rsvpcount] to the notification template). I initially thought that was what you were asking for.

    But you’re actually sending out a newsletter with multiple events, and you want the RSVP count to be displayed in that context, correct? I’ll have to check why it’s not doing that to begin with. Do you have the checkbox checked to display the attendee count on your website?

    No, I don’t want you to be hacking the core plugin files and eliminating the possibility of updates. I’ll look for a way to give you a filter hook, action hook, or shortcode you can add to get the needed functionality.

    Plugin Author davidfcarr

    (@davidfcarr)

    If you try version 5.5.4, you should see that the # of attendees is included in the email version of the events listing. Formatting is slightly different than for web because we have to avoid features that depend on JavaScript, for example.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding # attendees to upcoming events email’ is closed to new replies.