View Full Version : Email notification of PMs have PM inside
majorxp
03-01-2006, 06:50 AM
I'm looking for a way to include (in the email notification) the subject and body of the PM when you have "Receive Email Notification of New Private Messages" enabled.
Thoughts?
majorxp
03-07-2006, 12:52 PM
I am surprised that I'm the only one interested in such a feature.
chinch
03-07-2006, 02:01 PM
i used to have this working ONLY for moderators/admins (not members - i want them to login to check). Any help in this thread appreciated :)
movielist
03-16-2006, 11:31 AM
I'd also be interested.
ChuckH
03-16-2006, 02:47 PM
That would be pretty sweet
I was looking for the same thing, and was beginning to write a hack for it. Instead, I found the solution could be implemented with a phrase override.
Change pmreceived to:
Dear $touserinfo[username],
You have received a new private message at $vboptions[bbtitle] from $fromusername. Please click here to log in and read it:
$vboptions[bburl]/private.php
All the best,
$vboptions[bbtitle]
_______________
Subject: {$this->pmtext[title]}
{$this->pmtext[message]}
(Tested with vB 3.5.x)
I hope this helps!
Code Monkey
04-20-2006, 08:17 PM
I'm working on a plugin for this.
Rukbat
04-23-2006, 09:46 PM
I had a hack like this installed when I was still running phpBB2. Essentially just added phrasing to email template like Jimp did in above post. It worked fine except for some really clueless members we had.... they'd hit reply in their email client and I'd of course get what they were sending back to whomever along with the quoted original... was a bit aggravating, I ended up haveing to add to the email template in big bold red letters "DO NOT REPLY TO THIS NOTIFICATION VIA EMAIL, YOU MUST GO TO FORUM AND LOG IN TO REPLY" across the top... as well as emailing the clueless everytime that everytime they did this I was getting to read their PRIVATE messages....
majorxp
04-30-2006, 01:38 AM
Thanks Jimp!! Brilliant! Simple and effective.
Rukbat, I decided based on your experience to only include the subject. I could see folks doing that and that would be annoying. The subject is good enough to see if you want to login and read it immediately or not.
Boofo
04-30-2006, 01:52 AM
I was looking for the same thing, and was beginning to write a hack for it. Instead, I found the solution could be implemented with a phrase override.
Change pmreceived to:
Dear $touserinfo[username],
You have received a new private message at $vboptions[bbtitle] from $fromusername. Please click here to log in and read it:
$vboptions[bburl]/private.php
All the best,
$vboptions[bbtitle]
_______________
Subject: {$this->pmtext[title]}
{$this->pmtext[message]}
(Tested with vB 3.5.x)
I hope this helps!
This will show it for everyone. Users won't log in to read them as often. ;)
*sigh* I guess I'll have to wait for the plug-in. :(
God job, though. ;)
tei727
04-30-2006, 01:54 AM
I was looking for the same thing, and was beginning to write a hack for it. Instead, I found the solution could be implemented with a phrase override.
Change pmreceived to:
Dear $touserinfo[username],
You have received a new private message at $vboptions[bbtitle] from $fromusername. Please click here to log in and read it:
$vboptions[bburl]/private.php
All the best,
$vboptions[bbtitle]
_______________
Subject: {$this->pmtext[title]}
{$this->pmtext[message]}
(Tested with vB 3.5.x)
I hope this helps!
Help a n00b out..Where is pmreceived? lol
Boofo
04-30-2006, 02:52 AM
Do a search in phrases in the Admin CP. ;)
Help a n00b out..Where is pmreceived? lol
AdminCP > Languages & Phrases > Search in Phrases
Search for Text: pmreceived
Search in ... : Phrase Variable Name Only
Rukbat, majorxp, and Boofo,
My forum is internal to my company. I would rather have my employees only log in if they need to reply. :D
*sigh* I guess I'll have to wait for the plug-in. :(
God job, though. ;)
This one can't be a plugin. It would require hacking the vB_DataManager_PM class, which is where I looked to figure out what variables to add to the pmreceived phrase. Do you want me to post a hack, so only Administrators, Moderators, and Super Moderators receive the body of the PM?
Boofo
04-30-2006, 03:16 AM
This one can't be a plugin. It would require hacking the vB_DataManager_PM class, which is where I looked to figure out what variables to add to the pmreceived phrase. Do you want me to post a hack, so only Administrators, Moderators, and Super Moderators receive the body of the PM?
Yes, sir. ;)
Tralala
05-09-2006, 12:19 AM
Do you want me to post a hack, so only Administrators, Moderators, and Super Moderators receive the body of the PM?
Yes, please. Pretty please? :banana:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.