![]() |
Include Private Message text in notification email
How can I include the private message text in the email that notifies me of a new private message. I just need to know the variable to I can put it into the "phrases manager"
It was able to be done in vb2.x and it works for Reply Notification emails in vb3, so it will work once I know the variable name that holds the pmtext. |
join to that requiest!!! BUMP!
|
Quote:
|
i changed the phrase $vbphrase[pmreceived] in the phrase manager to:
Code:
$touserinfo[username], then search private.php for Code:
vbmail($touserinfo['email'], $emailsubject, $emailmessage); Code:
$emailmessage = ereg_replace ( "Subject:", "Subject: ".$title."\n\n".$message, $emailmessage); |
can anyone post how to allow this ONLY for the admin?
|
Quote:
=M= |
This works great -- I have been looking for this for a while.
Thanks! |
Does this work in 3.5.1? Or 3.5.x?
|
The method listed above doesn't work for my installation, unfortunately - and I'd desperately like to have this functionality.
Version 3.5.4. |
would a simple if statement to show the member belongs to a certain usergroup work here? I am trying to figure out if/how it would work for just the admin group - or even just a certain member ( me, as i have other admins).
using 3.5.1 |
Yes, that would work. Also, 3.6 has new functionality in this area that you may want to look into.
|
although i like this idea alot, i wouldnt use it myself due to i want the users to come to the site to read them :) great idea though
|
All times are GMT. The time now is 03:51 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:
|