• Welcome to Simple Machines Community Forum. Please login or sign up.
January 18, 2022, 07:55:21 PM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


Hide text in email notifications

Started by Baitjunky, April 08, 2013, 07:24:05 PM

Previous topic - Next topic

Baitjunky

Is there a mod that hides the pm text in the email notification? 2.0.4, I cant seem to find anything in the admin to do this.

shadow82x

Welcome to SMF!
There is no mod unfortunately however it's an easy edit. Within FTP navigate to ../Themes/default/languages/PersonalMessage.english.php

Code (Find) Select
$txt['pm_email'] = 'You have just been sent a personal message by SENDER on ' . $context['forum_name'] . '.' . "\n\n" . 'IMPORTANT: Remember, this is just a notification. Please do not reply to this email.' . "\n\n" . 'The message they sent you was:' . "\n\n" . 'MESSAGE';

Code (Replace with) Select
$txt['pm_email'] = 'You have just been sent a personal message by SENDER on ' . $context['forum_name'] . '.' . "\n\n" . 'IMPORTANT: Remember, this is just a notification. Please do not reply to this email.' . "\n\n" . 'Instead, please visit the forum at ' . $GLOBALS['scripturl'] . '?action=pm to read your message.';
Colin B
Former Spammer, Customize, & Support Team Member

Colin

It looks like someone already put a request in for it.

http://www.simplemachines.org/community/index.php?topic=426840.0

I might add it to my growing idea list.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

shadow82x

Colin B
Former Spammer, Customize, & Support Team Member

Baitjunky

Thanks guys, I been here, I just cant log in I forgot my password and its a old email addy.

Colin

"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Advertisement: