![]() |
PM Notification - Include copy of message?
Hello,
I was wondering if anyone has already done this, or if it would be an easy task to accomplish the following. A user can choose to receive a notification in their email if they receive a new Private Message. Currently that notification only says something simple like "you have a new PM, login and check it" in more words than that. What I would like, is for the notification to include a copy of the message text. So the notification would read something like: Dear User, You have received the following new Private Message at [Forum Name]. To reply to this private message, please log in to your account. ----------- Private Message Content --------------- Message Content Displayed Here --------------------------------------------------- |
Edit the 'pmreceived' Phrase. In the end add the following:
Code:
----------- Private Message Title--------------- |
Well I tested it a couple times, and it seems to be working perfectly.
Thank you very much, that was much easier then I expected :P |
thanks! i actually posted a mod request for this a while back.. turned into a discussion, but no solution.. wish i knew it was so easy!
|
Yay, happy to have helped you find your solution too :)
The only thing that may inconvenience some is that the message isn't formatted in the email, so it displays kind of like the following: ---------------------------------- [qoute]message blah blah[/quote] blah blah message blah blah ---------------------------------- I also even went a step further and added the $title to the notification subject, you may consider doing that too. |
yeah, i did the following.. sort of setting it up like an email header..
Code:
$touserinfo[username], |
Quote:
|
All times are GMT. The time now is 03:03 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|