New event: add name/mail of creator to "new event" notice mail

Home Forums Calendar Products Community Events New event: add name/mail of creator to "new event" notice mail

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1002147
    Oliver
    Participant

    Hi,

    when a new event is typed in the event submission form a mail can be sent to get someone informed.
    Is it possible to integrate in this mail the name and e-mail-address of the creator? (maybe adding a filter or just add it in the relevant php-file -> which file?)

    Background: it often happens that the event data is obviously wrong (time, etc.), so it would be very easy in this way to contact the creator of the event and ask relevant questions.

    Best regards,
    Oliver

    #1002316
    George
    Participant

    Hey Oliver,

    You can totally customize the Community Events notifications emails by making a custom version of the following template file:


    views/community/email-template.php

    To make a custom version of template files, you basically just need to follow the steps outlined in this guide here → https://theeventscalendar.com/knowledgebase/themers-guide/

    As for getting author info and other data, all of these things are possible with WordPress functions – you can search for functions related to getting specific data on http://codex.wordpress.org

    I hope all this information helps!

    Best of luck with your customizations,
    George

    #1003510
    Oliver
    Participant

    Thanks George! That sounds like a good solution.
    I will try that the next days.

    Please leave the ticket open until then.

    Regards,
    Oliver

    #1003747
    George
    Participant

    Hey Oliver,

    I’m glad that it sounds promising! I will indeed leave this ticket open, but there are two things worth noting before I do so:

    First is that we don’t offer support for code customizations here. I’m happy to help if I can! I just wanted to set the expectation so that if you post more in this thread for more specific code-level questions about your email template customizations, I’ll do my best to help but might not be able to provide code support. If you have problems getting the template to even load or something, for example, then of course I’m here to help! 🙂 Just wanted to put out that disclaimer about more specific code-level questions if they arise.

    The second thing is that we have an automatic Forum bot who closes threads after 15 days of inactivity – so if you see a “Support Droid” comes along and closes this thread, it’s nothing personal! Just a bot closing the thread automatically – if this happens, no worries, just open a new thread any time and include a link in it back to this thread for context, we can pick up right where we left off.

    Cheers!
    George

    #1003872
    Lucion
    Participant

    To dove-tail onto this ticket, is there a filter or action related to the Meta area of the Edit Event page on the admin dashboard, particularly related to the Author?

    The purpose of adding additional information there would be to add a simple email hyperlink, so that an admin to send a question or response to the community event submission (without having to go to Dashboard / Users and look up that user’s information).

    #1004274
    George
    Participant

    Hey Lucion,

    I’m not 100% certain about what you’re looking for, to be honest, but if you want to customize things in the edit screen related to either the Author or to custom Meta fields, these are general WordPress things and not things generated specifically by our plugin. So you might find it helpful to look for general WordPress resources on this matter.

    For example, here’s a list of admin-facing actions → https://codex.wordpress.org/Plugin_API/Action_Reference#Administrative_Actions

    Cheers,
    George

    #1007219
    Oliver
    Participant

    Thanks George! Your hints have been very helpful!
    I was able to change the mail-template! 🙂

    Regards,
    Oliver

    #1007234
    George
    Participant

    Awesome! Thanks for the update Oliver. Keep good back-ups of your custom templates and best of luck with your site 🙂

    Cheers,
    George

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘New event: add name/mail of creator to "new event" notice mail’ is closed to new replies.