Support » Plugin: Customize WordPress Emails and Alerts - Better Notifications for WP » Modern Tribe’s Community Events send new Organizer notification

  • Resolved boivette

    (@boivette)


    We allow unlogged-in submissions to our community events calendar. Submissions are held for moderation before being published. We’d like BNFW to send a notification after submission to the person who fills out the “New Organizer” fields in this form.

    I looked over your KB and there seemed to be only one thread regarding the Community Events Calendar notifications and it looked like the user got frustrated and gave up corresponding in order to have a clear resolve to their issue.

    The Modern Tribe Events Calendar is a well-known and used suite of plugins. Their support tried to help, but referred me to BNFW for this area of support.

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi @boivette,
    Thanks for your message.

    Just so I understand correctly, new event submissions entering via a front-end form that is supplied by Modern Tribe’s Events Calendar by non-logged in users will be submitted as Pending Review but the corresponding 'Event' Pending Review notification that you’ve set-up in BNFW isn’t sending – is that correct?

    Have you tried any of the solutions on this page: https://betternotificationsforwp.com/documentation/compatibility/support-plugins-front-end-forms/

    Thread Starter boivette

    (@boivette)

    I believe you understand our setup correctly. And yes, I’ve tried several of the methods outlined in your KB to remedy the non-notification issue. BTW, we use the Post SMTP plugin and the desired notification will go out successfully in “Send a test” mode and if I add a registered user to the cc: field in the settings, so I know it should work!

    I’ve also been working extensively with Modern Tribe over this issue. It seems as popular and well-known both of these plugins are that the two of your teams could work together to form an smooth solution to this issue. I’m sure I’m one of many who desire this feature. It would give the Event Organizer who submits an event a digital record in their inbox of their submission and what to expect next.

    Thanks!

    Plugin Author bnfw

    (@voltronik)

    Thanks @boivette,
    I agree. Only issue is that I don’t have access to the Community Events add-on for the Events Calendar in order to test or work out a solution.

    Are you able to ask them if they have an action or filter that fires after a form is submitted so that we can write a code snippet for BNFW that will send a notification once this is submitted? Ideally, if they have an action of filter, it should contain the status of the submitted event so that we can trigger the correct notification for it (Pending Review or New Post Published, for example).

    Thread Starter boivette

    (@boivette)

    I’ve given your reply to ModernTribe. We’ll see what they say. Ideally, they’d just give you the Community Events module so you could develop a best practice solution. I’d gladly contribute for a premium add-on specifically targeted toward Community Events. I thought about purchasing ‘Send to Any Email’, but after reading the documentation I felt that it probably wasn’t the right tool for this job.

    Fingers crossed for a solution!

    Plugin Author bnfw

    (@voltronik)

    Hi @boivette,
    Thanks for doing that.

    Let me know how you get on – always good to make BNFW more compatible with other plugins.

    Thread Starter boivette

    (@boivette)

    Hi,

    Here’s the information that came from ModernTribe….

    To answer BNFW’s question, I found 2 actions that fires after a Community Events form is submitted:

    when an event is created:
    do_action( ‘tribe_community_event_created’, $this->event_id );
    (line 123)
    when an event is updated:
    do_action( ‘tribe_community_event_updated’, $this->event_id );
    wp-content/plugins/the-events-calendar-community-events/src/Tribe/Submission_Handler.php (line 104)

    I would imagine the first action would be the one we’d want to use. But how would BNFW also get the event Organizer’s email address?

    Let me know if this is going to be helpful.

    Plugin Author bnfw

    (@voltronik)

    Hi @boivette,
    Thanks, this may prove helpful.

    Do you know if the email address is contained with a post object that is passed by the action? If so, you may be able to use this.

    Alternatively, have you tried the Custom Fields and Send to Any Email add-ons?
    There’s a video showing how this could work for you here: https://betternotificationsforwp.com/documentation/add-ons/send-to-any-email/

    Thread Starter boivette

    (@boivette)

    If you would please examine the form here: https://denverpride.org/events/community/add/

    You’ll see that in the Event Organizer section when you Create an Organizer, additional fields appear, including an e-mail address field. That is the field we want to capture to send notifications to. Likewise, if an Organizer already exists in the system (as you can see by the many Organizers in the dropdown), then their email is already on file and the notification should go to them.

    So, using Custom Fields is out of the question in this case. We need BNFW to recognize the Organizer field, and not the Author field.

    Is this logical?

    Plugin Author bnfw

    (@voltronik)

    Hi @boivette,
    I think the wider issue is that the functionality you’re looking for is outside of the scope of the free BNFW core plugin as this just handles the default fields found in WordPress, such as title, except, and post content. If you want to add data from custom fields or additional post meta to the notification, you’ll need to use the Custom Fields add-on.

    In this scenario, you’ll need to use some custom code for the tribe_community_event_created action in order to trigger the New Event Published notification and/or the tribe_community_event_updated action in order to trigger the Event Updated notification.
    A bit more detail on how you might be able to achieve this, using ACF’s front-end form as an example, can be found here: https://betternotificationsforwp.com/documentation/how-to-trigger-a-notification-from-an-acf-front-end-form/

    If you’d like to send it to a non-WordPress user then you’ll need to use the Send to Any Email add-on and if you’d like to include any other information in your notification from the event’s post meta, you’ll need to use the Custom Fields add-on.

    If this isn’t the solution you’re looking for then you may find that writing custom code or a custom plugin that does what you’re looking for is a better way to go at this time.

    Hope the above makes sense.

    EDIT: Just wanted to clarify that i’m not adverse to writing an add-on for this to work however, I’ve only been asked for this a couple of times and so need to prioritise development based on roadmap and user feedback.

    • This reply was modified 1 year, 9 months ago by bnfw. Reason: Added additional note
    Thread Starter boivette

    (@boivette)

    Thanks very much for the response. I can appreciate your position on needing to prioritize development. Since The Events Calendar is so widely used, could I suggest you consider contacting ModernTribe to maybe work in tandem with them on this type of notification add-on as perhaps other add-ons as well? It may open up a new revenue stream for both parties.

    Let’s close up this ticket. I will use an easier workaround method for getting a notification to those who submit a Community Event. I was just hoping for a more elegant solution, but for the time and efforts still needed to do so, I’ve got to take a different route.

    Cheers, and thanks again for responding to my inquiries.

    Plugin Author bnfw

    (@voltronik)

    Hi @boivette,
    Thanks for your understanding.

    I agree an integration would be useful. I’m currently reviewing a few things about the plugin, the add-ons, and how they all work together so once I’ve finalised my plans, i’ll investigate this again.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Modern Tribe’s Community Events send new Organizer notification’ is closed to new replies.