The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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. |
#2
|
|||
|
|||
join to that requiest!!! BUMP!
|
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
i changed the phrase $vbphrase[pmreceived] in the phrase manager to:
Code:
$touserinfo[username], You have received a new private message at $vboptions[bbtitle]: From: $bbuserinfo[username] Subject: To reply, click here to log in and read it: $vboptions[bburl]/private.php then search private.php for Code:
vbmail($touserinfo['email'], $emailsubject, $emailmessage); Code:
$emailmessage = ereg_replace ( "Subject:", "Subject: ".$title."\n\n".$message, $emailmessage); |
#5
|
|||
|
|||
can anyone post how to allow this ONLY for the admin?
|
#6
|
||||
|
||||
Quote:
=M= |
#7
|
|||
|
|||
This works great -- I have been looking for this for a while.
Thanks! |
#8
|
|||
|
|||
Does this work in 3.5.1? Or 3.5.x?
|
#9
|
|||
|
|||
The method listed above doesn't work for my installation, unfortunately - and I'd desperately like to have this functionality.
Version 3.5.4. |
#10
|
||||
|
||||
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 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|