Replace the contents of your warn_pm template with the code below:
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.
Quote:
Originally Posted by Blootix
I have the exact same problem as his second issue. And the warning is also still issued. And I checked warn_pm and there was no warn_opts.
[b]EDIT: ALSO: the Warn PM doesn't contain anything. See screenshot for more information.
|
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;