Having two problems with the script that I was hoping someone could help me out with.
First one is that I am using this code in postbit for admins only to be able to view everything
Code:
<if condition="$post[usergroupid]!=6 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])">Current Warning Level: $post[warning_level]/30 ? <a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>Warn $post[musername]</a> ? <a href='Warn.php?do=ViewWarnings&id=$post[userid]'>View $post[musername]'s Warnings</a> ?</if>
That works brilliantly and looks nice, so people are welcome to use that. Only thing is that is appearing in the postbit for the private messages aswell when it shouldnt be.
It shouldnt be appearing because this script does not support private message reporting if you know what I mean.
Secondly. Is there a way to format the pm it sends out. I was thinking of something like.
Quote:
Dear {user},
This private message is to inform you that your warning points have increased to {totalpoints}. This is in regard to a post made by yourself here.
Regards,
{warner}
|
Obviously it needs more info like what the "warner" said, and info about the maximum amount etc etc.
I took a look in Warn.php but the way its setup is does not support formatting. Any ideas?