Log in

View Full Version : Include Private Message text in notification email


ghroob
07-09-2004, 10:00 PM
Hello
1- In Admin Cp go to: Search in Phrases
2- Search for: Please click here to log in and read it:
3 - find $vboptions[bburl]/private.php
4 - insert below:
Massage:
*****************************
$message
*****************************
5 - Save it.

If you like to view title in Email subject:
1 - Search in Phrases for: New Private Message at $vboptions[bbtitle]
2 - Edit Only $vbphrase[pmreceived] Find there:
New Private Message at $vboptions[bbtitle].
3 - Replace with: New Private Message at $vboptions[bbtitle]: $title
4 - Save it.

Done!
Enjoy :)

alkahf

tnguy3n
07-10-2004, 02:24 PM
this mod is cool. members ain't need to login to the board to read their PMs. :)

monstergamer
07-14-2004, 01:31 PM
thanx :D

MrToasty
07-16-2004, 07:06 PM
What are the names of the templates in question? I can't find them with "Search in Phrases" for the life of me! I'm on 3.03...

edit: figured it out ;)

allhandl
07-22-2004, 03:11 AM
Is it possible to make this specific to certain usergroups? Like an admin but not registered.

I tried to add this into the phrase with no luck

<if condition="$bbuserinfo['userid']!=6">Message:
*****************************
$message
*****************************</if>

thanks in advanced

tnguy3n
07-22-2004, 04:43 AM
how about making it

<if condition="$bbuserinfo['userid'] ==6">Message:
*****************************
$message
*****************************</if>

to show to only admin group.

allhandl
07-23-2004, 02:11 AM
i actually tried that as well an what happens is an email is sent with nothing. Not even the top title information. Same goes for the ! code I used.

Something tells me it can be used in a phrase, sound right?

we_scooter
08-01-2004, 11:37 PM
woow

thats KooL
Emad .. Jazak ALLAH 5eer master

bonnmac
08-02-2004, 06:15 PM
lol 1 small correction on the main post:
HTML:
Massage:
*****************************
$message
*****************************
the first part above the *** reads Massage got a few of the member excited thinking they were getting massages he he simple typo

kash2k
07-23-2005, 08:31 PM
Shame no-one figured out the Admin only part :(

Only used the title part of the mod, so users still have to log-in, but much better. Thanks for this one

*** Edit *** - Added the whole lot now. Much better, Thanks again ;)

K

Warlord
07-31-2005, 06:19 PM
Nice hack I re-worded the phrase a little to make more sense though.

$touserinfo[username], You have received the following private message at $vboptions[bbtitle] from $bbuserinfo[username].

Message:
*****************************
$message
*****************************

Or you can also click here to log in and read it: $vboptions[bburl]/private.php

Thanks, $vboptions[bbtitle] team

*clicks install*