Forum Replies Created
-
AuthorPosts
-
Uwe MaternParticipant
Helle 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
Uwe MaternParticipantGood 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 6, 2017 at 6:09 am in reply to: Strong Behaviour of the quantity field in RSVP tickets #1229897Uwe MaternParticipantHi Andras,
thanks for your answer. I did the following.
1. I’ve deactivated the customied css-file completely -> issue still exists (pls see screenshot)
2. I deactivated our theme (Avada) and activated the twenty sixteen theme – issues seems solved.There was no update of the Avada themes during the last days (means it worked a few days ago)
Best regards
UweFebruary 5, 2017 at 3:17 am in reply to: Strong Behaviour of the quantity field in RSVP tickets #1229658Uwe MaternParticipantHello Andras,
unfortunately now the situation is even more worse (not because of your css recommendation). But suddenly there are 3 times the plus/minus quantity buttons appearing. Pls see the attached screenshot. You can reach the real event here: https://finde-deinen-malkurs.de/kurs/testveranstaltung/
Best Regards
UweUwe MaternParticipantHi 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 2, 2017 at 12:40 am in reply to: Change view interferes with value in the geofence/distance area of the filterbar #1228060Uwe MaternParticipantThis reply is private.
January 31, 2017 at 2:51 am in reply to: Strong Behaviour of the quantity field in RSVP tickets #1226705Uwe MaternParticipantHello Andras,
thanks for your answer. Yes, it definetely improved the appearance. So the ticket-quantiy issue is solved. The remaining part (all in the mobile view) is now in the area of mail/name of the person who registers the attendee.
Pls see the screenshot below. (I tried something with the option padding-right: … , but not really successful) Would be great if you could help again.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.
Uwe MaternParticipantHi 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 28, 2017 at 6:42 am in reply to: Strong Behaviour of the quantity field in RSVP tickets #1225595Uwe MaternParticipantThis reply is private.
January 27, 2017 at 9:51 am in reply to: Strong Behaviour of the quantity field in RSVP tickets #1225263Uwe MaternParticipantThis reply is private.
Uwe MaternParticipantHi Hunter,
thanks so far. But I’m still a bit struggling reg. costumizing the combination Avada/Events calendar. Specifically I try to customize the sidebar information in the single-event view. I asked Avada and they always reply “It’s controlled by Tribe, asked them …” So, what I want to achieve is:
* change the order of blocks in the sidebar
* show only certain content of fields from the other fieldsFurthermore I like to change the featured image with the Titel combination (in the single event view) in a way that only the title (incl. schedule) are displayed and not the image.
Best regards, Uwe
-
AuthorPosts