Forum Replies Created

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter FIT

    (@futureit)

    Thanks @natewr

    Yes I do a bit of coding but I am unsure how to implement the hook method in this instance. Could you offer further guidance?

    Yep sorry! I did miss that typo. Message is now coming through 🙂 Although unfortunately the below is still not working for the email address.

    '{user-email}' => $this->booking->email,

    It still just passes through {user-email}.

    Thread Starter FIT

    (@futureit)

    Thanks @natewr,

    I’ve tested the SMS system with Contact Form 7 and it successfully accepts all the fields (including textarea) from there- although this does not allow us to use the additional functionality built into your handy plugin!

    Ok a bit of progress! I’ve got phone and username working ok using rtb_notification_email_subject_template_tags, although the {user-email} and {message} still just come through as the shortcode. Any pointers for the extra code required here to retrieve the content?

    My code is:

    
    	public function process_subject_template( $subject ) {
    
    			$template_tags = array(
    			'{user_name}'		=> $this->booking->name,
    			'{party}'			=> $this->booking->party,
    			'{date}'			=> $this->booking->format_date( $this->booking->date ),
    			'{phone}'			=> $this->booking->phone,
    			'{user-email}'			=> $this->booking->user-email,
    			'{messsage}'			=> $this->booking->message
    			
    		);
    '
    One other thing, when you have two x email adddresses in the email recipient on the locations page e.g. 

    email1@email.com,email1@email.com’. Each time I save the Business Profile Locations page (there are multiple venues), it strips the comma from between the two email addresses. Can this be easily changed to allow multiple recipients by default?

    • This reply was modified 9 years, 3 months ago by FIT.
Viewing 2 replies - 16 through 17 (of 17 total)