Home › Forums › Ticket Products › Event Tickets Plus › Extension cc to organizer mail
- This topic has 10 replies, 3 voices, and was last updated 9 years, 2 months ago by
Uwe Matern.
-
AuthorPosts
-
January 29, 2017 at 12:52 am #1225769
Uwe Matern
ParticipantGood Morning,
I have the same request (copy of an event registration, RSVP) to the organiter mail address. I have installed the recommended extension but it does not work.
Pls help.We use Event Tickets Pro and RSVP without WooCommerce (yet).
Regards Uwe
========================
PLEASE LEAVE FOR SUPPORT
Reporting the same issue as: https://theeventscalendar.com/support/forums/topic/email-notifications-and-pricing-on-rsvp-events/January 30, 2017 at 12:39 pm #1226399George
ParticipantHi @Uwe,
I’m sorry to hear the extension did not help.
We do not provide support for Extensions — they are meant as starting places for extra custom features that you can tinker with.
However, just to try and help with that Extension a bit:
• When you say it “Doesn’t work”, do you mean that there is no “Tickets Email: CC Organizer” option that gets added in your wp-admin page at Events → Settings ?
• Or does this option show up, but doesn’t make any difference whether it’s checked or not?
If it does not show up at all, I would recommend installing The Events Calendar on your site and seeing if that helps. I know you may not want to use The Events Calendar’s calendar features, and you don’t have to! But just install it and activate it on your site and see if that helps with the Extension.
You can download The Events Calendar here: http://theeventscalendar.com/my-account/downloads
Thanks!
George
PS
You say, “We use Event Tickets Pro and RSVP without WooCommerce (yet).”
Please note that WooCommerce or another eCommerce platform like Easy Digital Downloads is required for Event Tickets Plus to work (WooCommerce is recommended).
January 31, 2017 at 1:22 am #1226687Uwe Matern
ParticipantHi George,
thanks for your answers. Regarding the question you raised:
– the extension appears in the admin area and the option cc to organizer is set
– but there is no email sent to the organizer-mail (as set in the organizer options) as cc at all.Maybe it should be mentioned that we use also an snippet (as recommended from your support) to copy the admin-mail in bcc in all ticket-mails. This one (in the functions.php) works very well. The source code is as following:
/*********************************************************/
* From
*
* Reference: https://developer.wordpress.org/reference/functions/wp_mail/#using-headers-to-set-from-cc-and-bcc-parameters
*
*/
function cliff_et_rsvp_bcc_admin_ticket() {
// get site admin’s email
$bcc = sanitize_email( get_option( ‘admin_email’ ) );// set Headers to Event Tickets’ default
$headers = array( ‘Content-type: text/html’ );// add BCC email if it’s a valid email address
if ( is_email( $bcc ) ) {
$headers[] = sprintf( ‘Bcc: %s’, $bcc );
}return $headers;
}
add_filter( ‘tribe_rsvp_email_headers’, ‘cliff_et_rsvp_bcc_admin_ticket’ );
/*********************************************************/Regarding your recommendation to install the Events Calendar: We use the Events Calendar and the Pro-version already – This is the base of your business-offer.
Viele Grüße
Uwe Matern
Digitales für Unternehmen – IT Beratung
Hopfenstrasse 19
20359 HamburgTelefon: 0178/8780723
E-Mail: [email protected]
Web: http://uwe-matern.de
Xing: https://www.xing.com/profile/Uwe_Matern
FB: https://www.facebook.com/DigitalesBusiness
TW:: https://twitter.com/@uwematUstID:: DE298157628
Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten. Sollten Sie nicht der richtige Adressat sein oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Die unbefugte Weitergabe sowie das unerlaubte Kopieren oder Speichern dieser E-Mail ist nicht gestattet.
January 31, 2017 at 7:46 am #1226801George
ParticipantHey @Uwe,
Thanks for this information.
We do not offer support for custom features and custom coding (which Extensions are part of), but I will let a developer on our team know about the Extension not working for you.
They may be able to have some insight on that and there may be a recommendation we can make from there.
Stay tuned to this thread—I will post news about this as it arrives.
— George
January 31, 2017 at 7:48 am #1226803George
ParticipantHey @Uwe,
In the meantime, can you actually provide a link to the exact URL at which you found the Extension for CCing organizers?
In your first post on this thread, you say, “I have installed the recommended extension”.
1. Where did you see this extension recommended? Paste a URL to where you saw it recommended.
2. What is the download URL for this extension that you use? Paste that URL here.
↑ Paste both URLs here when you’re able to — I just want to double-check those resources.
Thanks,
GeorgeFebruary 5, 2017 at 3:01 am #1229656Uwe Matern
ParticipantHi George,
it seems that I found this snippet outside of your support area by searching for this problem (cc site admin to ticket-mails). I downloaded it finally from github. Maybe there is an alternative by using a recommendation from your support area, maybe this one: https://theeventscalendar.com/support/forums/topic/event-ticket-email-to-admin-in-cc/
Is there any progress with the to/cc to the organizer mail?
Best regards
UweFebruary 6, 2017 at 11:14 am #1230068George
ParticipantHey Uwe,
I took a look here and tried to make this work, but unfortunately it is not possible at this time to have event organizers CCed on tickets emails. This is because the Event ID is not accessible from within the callback function of the tribe_rsvp_email_headers hook, which you have to use for this. 🙁
As for our official extensions, our only “official” extensions are the ones listed here: http://theeventscalendar.com/extensions
↑ There is no official extension that adds a “CC event organizers” feature, because at this time it is not possible.
I am sorry to bear this news! Please let me know if there are any other issues or questions I can try to help with.
Sincerely,
GeorgeFebruary 6, 2017 at 11:51 pm #1230393Uwe Matern
ParticipantGood Morning George,
thanks for your reply. That’s really sad and unsatisfying. I don’t understand that completely even if Modern Tribe is the producer of the plugin/extension for cc-ing the organizer. (See screenshot).
So, you surely understand that we have to find a solution for this issue. We are building a platform based on Modern Tribes technology where we present and sell art coursed on behalf of organizers (artists). In my point of view it is a standard request that the organizer gets notified if a ticket for his event is purchased.
Maybe there is an alternative approach as following:
We use the contact form 7 + extension to provide the option to contact the organizer from an event post directly. For this purpose we have implemented successfully a filter (in functions.php) to read the organizer-email and use them to send the contact form to the organizer directly. Here is the source code:
/* Shortcode Organizer Mail */
function cf7_add_kursanbieter_mail(){
return $organizer_email = tribe_get_organizer_email( $event_post->ID, false );
}add_shortcode(‘CF7_ADD_KURSANBIETER_MAIL’, ‘cf7_add_kursanbieter_mail’);
Maybe we can use this approach also for the cc-topic?
Looking forward to your answer.
Best regards
UweFebruary 7, 2017 at 12:43 am #1230403Uwe Matern
ParticipantHelle George (again),
meanwhile I experimented a bit further and have now filter which works (at least for my purpose). It creates a cc to the organizer mail and a bcc to the admin mail. Here is the code:
/* add organizer mail to rsvp-mail as cc */
/* add admin mail to rscv-mail as bcc */function uwe_rsvp_cc_organizer_ticket() {
// get site admin’s email
$bcc = sanitize_email( get_option( ‘admin_email’ ) );
$cc = tribe_get_organizer_email( $event_post->ID, false );// set Headers to Event Tickets’ default
$headers = array( ‘Content-type: text/html’ );// add CC email if it’s a valid email address
if ( is_email( $cc ) ) {
$headers[] = sprintf( ‘cc: %s’, $cc );
}if ( is_email( $bcc ) ) {
$headers[] = sprintf( ‘Bcc: %s’, $bcc );
}
return $headers;
}
add_filter( ‘tribe_rsvp_email_headers’, ‘uwe_rsvp_cc_organizer_ticket’ );Maybe it helps others having the same request.
Best regards,
Uwe
February 7, 2017 at 3:44 pm #1230969George
ParticipantThanks so much for sharing your solution, Uwe! That’s a clever way to get the event post’s ID that I wasn’t able to figure out.
Cheers,
George -
AuthorPosts
- The topic ‘Extension cc to organizer mail’ is closed to new replies.
