PDA

View Full Version : Getting Part of the PM Message in your Email


Bison
12-12-2002, 08:12 PM
How can you get some of the PM message to print into email message if someone has this turned on in their settings?

Erwin
12-13-2002, 01:03 AM
There is a hack for this out - do a search for it.

Bison
12-13-2002, 01:07 AM
The one your referring to does this for email notifies on threads, Doc. I have that one installed, and I did search the board for it and I couldn't find anything related to.

Logician
12-13-2002, 03:18 PM
1-edit private.php, find:

if ($touserinfo[emailonpm]) {
after that add:

$part_of_pm= substr($message, 0, 50)."...";

2- edit template "email_pmreceived" and insert

$part_of_pm

somewhere you like..