The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 --------------------------------------------------- |
#2
|
|||
|
|||
Edit the 'pmreceived' Phrase. In the end add the following:
Code:
----------- Private Message Title--------------- $title ----------- Private Message Content --------------- $message --------------------------------------------------- |
#3
|
|||
|
|||
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 |
#4
|
|||
|
|||
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!
|
#5
|
|||
|
|||
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. |
#6
|
|||
|
|||
yeah, i did the following.. sort of setting it up like an email header..
Code:
$touserinfo[username], You have received a new private message at $vboptions[bbtitle] from $bbuserinfo[username]. Please click here to log in and reply: $vboptions[bburl]/private.php FROM: $bbuserinfo[username] TO: $touserinfo[username] SUBJECT: $title $message |
#7
|
|||
|
|||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|