Quote:
Originally Posted by 7thgenCivic.Com
Ok, I added a "reason" and the "auto PM".
Now, that being said, I coded it for my own use, so I have hardcoded my id in there to send a PM to me when someone is warned and/or banned. It also sends it to the warned user of course.
In postbit and postbit_legacy find the line that resembles this
PHP Code:
<tr><td class="vbmenu_option"><span onClick="window.open('warn.php?$session[sessionurl]newuser=$post[userid]&username=$userinfo[username]&warnings=$post[field60]','warn','width=500,height=350')"><b>Warn $post[username] - Current Warnings: ($post[field60])</b></span></td></tr>
right after
PHP Code:
$post[field60] <--- yours will prolly be a different field number than mine
add
PHP Code:
&postid=$post[postid]
replace your warn template with the contents of this warn.txt
Upload this new warn.php to the forums dir.
Please make sure you go through the files first and change field60 to your warning points field.
I will try to provide support, but no guarantees.
D
|
just wondering if the warning id could be the person actually making the warning instead of one id
because then one admin would be thought of as the bad guy
i would say everyone that has the ability to warn should get the credit for it