
03-20-2005, 06:10 AM
|
|
|
Join Date: Feb 2005
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by sv1cec
add the following in your warn_pm template
HTML Code:
Dear $user[username],
You have been warned for one of your posts, which violated $vboptions[bbtitle] Rules. The reason you have been warned is because:
[b][i] $warn_type[warn_desc] [/i][/b]
(Warning Type = $warn_type[warn_name])
For this violation, you have been given : [b]$warn_type[warn_points][/b] point(s).
The point(s) will remain in your account for [b]$warn_type[warn_maturity] days[/b].
After that, they will be removed automatically.
The post for which you are warned can be seen here:
$thread1
The admin/moderator who warned you, entered this comment:
=======================================
[i]$_POST[comment][/i]
=======================================
Your total Warning Level at the moment is: [b] $level [/b] point(s).
If you reach the maximum of [b]$vboptions[warn_points_before_banned][/b], you will be banned from the Forums, for [b] $peruserbanlimit [/b] days.
To see details about all the warnings you have received, until now, please click [URL="$vboptions[bburl]/Warn.php?do=ViewMyWarnings"]here[/URL].
Please reply back if you have a dispute.
If your PM does not contain text, and this is a first-time installation, please open your private.php file and find:
PHP Code:
warn_notify($thread1, $thread2, $bbuserinfo, $warnerdata['email'], $warnerdata['username'], $vboptions['warn_automatic_warner'], $warn_type, $level, $wcomment);
}
}
// End of automated warnings things
Right below that, add:
PHP Code:
$message=$pm_message;
|
It was specifically the warning PM that did not contain anything. Every other PM contained their contents.
Thank you everything seems to be in order except for the "\" problem but I think that'll be fixed soon. No sweat.
Thanks!
|