Any way to add email notification to users

Home Forums Calendar Products Community Events Any way to add email notification to users

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #46643
    Rich
    Participant

    My client is using Community Events for public event submissions and wants to add an e-mail notification that will be sent to the user who submitted the event with some additional information. Another option is to redirect the user to a confirmation page with the same information. I would prefer to be able to do the first option, but the second option would work as well. Is an email confirmation for community submitted events something in the works? If not, can someone guide me on how (and where) I can possibly add this feature? What file would I need to customize to set a redirect to a confirmation page? Thanks!

    #46750
    Barry
    Member

    Hi Rich, right now I don’t think Community Events really has the necessary filters to cleanly or easily build a system that would ping off a different email to the person submitting the event – though it’s possible.

    For instance, the list of email addresses to be notified is contained in the emailAlertsList property of the TribeCommunityEvents object, so it could be possible on one hand to add a new action address and on the other set up a filter on wp_mail to inject extra content … but that seems like a lot of (potentially error-prone) work and it isn’t something we could really help with.

    Another option is to redirect the user to a confirmation page with the same information.

    Similar problems here I’m afraid, there simply isn’t a great deal of scope to filter and change the output.

    Do note, however, the customizability of Community Events in this regard is something I’ve asked the devs to look at – so it’s possible we’ll see some improvements in this area. In the meantime though you’d really need to invest in some creative coding to workaround this.

    If you really feel the need to hack core files in the interim then you could take a look around line 1555 (the section commented as “email alerts”) in lib/tribe-community-events.class.php and add your new code to dispatch a new email – or whatever other actions you want to carry out – in there.

    Sorry we can’t do more on this occasion 🙁

    #46858
    Rich
    Participant

    Hi Barry,
    I appreciate the response and guidance. I hope your developers can add the option to redirect to a page for confirmation when an event is submitted. I think this would be a useful thing for a lot of Community Events users to have because a lot of time, users of Community Events needs to communicate some sort of confirmation information to event organizers.
    Meanwhile, I will try and see what I can do to add this function and post updates/questions.

    Thanks!

    #46953
    Barry
    Member

    Sure, there is definitely scope for a few improvements and remember also that you can add feature requests on our UserVoice page – that way other users can show their support and we get a good feel for demand.

    Thanks!

    #47194
    Mike
    Participant
    #47205
    Barry
    Member

    Thanks Mike: for anyone else that might be interested in this, please do show your support at the above link.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Any way to add email notification to users’ is closed to new replies.