Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Customize confirmaton message – not working?

$
0
0

Replies: 0

Hi there SpeakOut,

I’m just implementing a signature-by-signature email confirmation process on our website. I’d like to do a couple of modifications to the confirmation email. So far, I see that there isn’t an interface for this.

It looks like I can modify the “confirm_message” parameter in the $options array on line 154 in the file includes/install.php. But I still get the default message. Is there anything I can do about this?

What I’d like to do is:
– Email the confirmation email as an HTML email that will take bold and italic at least.
– Change the default confirmation email message to elaborate the reason why they have to click the email, and fix English punctuation.
– Add the first name to the subject line of the email. e.g. “Rob, thanks for signing our petition.”

What I’ve changed the confirm_message element’s value to is:
"confirm_message" => __( "Greetings", "speakout" ) . " %first_name%.\r\n\r\n" . __( "Thank you for signing our petition <b>%petition_title%</b>", "speakout" ). " on our <a href='https://www.soctagon.art/speakout'>Soctagon.art</a> website</a>. To verify your intent to sign, we need you to click the link below, which will confirm your intent to sign. Without clicking on this link, you won't be added to our petition, and the Premier and relevant MLAs will not be notified of your concerns through our system." . __( "Please confirm your email address by clicking or copying and pasting the link below:", "speakout" ) . "\r\n\r\n%confirmation_link%\r\n\r\n<b>If you did not sign this petition</b>, you can safely ignore this email - your name will not be added to it.\r\n\r\nThank you,\r\n<b>" . get_bloginfo( "name" ) . "</b>"

But yeah, the confirmation still displays the default message.

The link to the petition on the site is here. (I’m doing this on a test website first where I normally test plugins.)

https://www.soctagon.art/speakout/

Thanks so much for your support and we’re sending a donation to you!

  • This topic was modified 7 minutes ago by oxygensmith.
  • This topic was modified 6 minutes ago by oxygensmith. Reason: substitute links in example with dummy links

Viewing all articles
Browse latest Browse all 59525

Trending Articles