PDA

View Full Version : Warning for PM set to NO, but still sending warnings


Caveman2k2
07-14-2005, 10:14 PM
I'm using the latest ver. of AWS, which is working terriffic for the most part. The problem I've noticed is that I have "Use automatic warnings from posts" set to yes and "Use automatic warnings from private messages" set to no. Warning types has ObsceneWords as the name and is set to auto. I just received a PM asking why I warned a user for something he said in a PM. Needless to say, I've got no answer. Can someone shed some light on this for me. I can supply screen caps if necessary or grant admin access if required.

Thanks

sv1cec
07-15-2005, 05:53 AM
Hmm, that's the exact same setup I am using in my site, and I never had that problem. I actually just send a ... pretty offensive PM, from a test user account to mine, and it didn't warn the test user. Maybe you didn't do the proper changes in private.php? Please check that out again.

Rgds

Caveman2k2
07-15-2005, 01:18 PM
I re-verified the edits to private.php and everything looks correct. I also did a pm from a test user and immediatly got the warning pm in return. Also, I got the email warning which had this at the bottom

NFL Talk Team]]
></template>

<template name="warn_error" templatetype="template" date="1100330326" username="sv1cec" version="3.4"><![CDATA[<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat">
<a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_error')"><img id="collapseimg_forumhome_error" src="/collapse_tcat.gif" alt="" border="0" /></a>
<div align='center'>Error</div></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_error" style="">
<tr>
<td class="thead" width="100%">An Error Has Occured!</td>
</tr>
<tr>
<td class='alt2' align='center' width='100%'>An error has occured, the following message has been left below:<br/><br/></td>
</tr>
<tr>
<td class="tfoot" width="100%" align='center'>[ <a href='javascript:history.go(-1)'>Back</a> ]</td>
</tr>
</tbody>
</table>
<br />
Any other suggestions I could try?

sv1cec
07-15-2005, 02:27 PM
First of all, show me what you have in your "warn_em" template. What are you sending to a warned member? Private messages or emails? It looks as if your template is wrong, still that does not explain why the PM scanned and the user is warned.

Rgds

Caveman2k2
07-15-2005, 02:40 PM
Thanks for the help.

warn_em template
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 :

$warn_type[warn_desc]
(Warning Type = '$warn_type[warn_name]')

For this violation, you have been given $warn_type[warn_points] point(s).
The point(s) will remain in your account for $warn_type[warn_maturity] days.
After that, they will be removed automatically.

The post for which you are warned can be seen here:
<if condition="$vboptions['warn_includepost']==1 AND $thread3!=''">
=======================================
$thread3
=======================================
<else />
$thread2
</if>
The admin/moderator who warned you, entered this comment:

=======================================
$wcomment
=======================================

Your total Warning Points at the moment are: $level point(s).

If you reach the maximum of $vboptions[warn_points_before_banned], you will be banned from the Forums, for $peruserbanlimit days.

To see details about all the warnings you have received, until now, please click here:

$vboptions[bburl]/Warn.php?do=ViewMyWarnings

Please reply back if you have a dispute.

----------------

$vboptions[bbtitle] Team]]
></template>

<template name="warn_error" templatetype="template" date="1100330326" username="sv1cec" version="3.4"><![CDATA[<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat">
<a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_error')"><img id="collapseimg_forumhome_error" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a>
<div align='center'>Error</div></td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_error" style="">
<tr>
<td class="thead" width="100%">An Error Has Occured!</td>
</tr>
<tr>
<td class='alt2' align='center' width='100%'>An error has occured, the following message has been left below:<br/><br/>{$message}</td>
</tr>
<tr>
<td class="tfoot" width="100%" align='center'>[ <a href='javascript:history.go(-1)'>Back</a> ]</td>
</tr>
</tbody>
</table>
<br />

I'm sending both pm and email to warned members. Please let me know if you want admin access to have a peek around. I've also attached private.php if you wanted to poke around in there to make sure I didn't miss an edit.

sv1cec
07-15-2005, 05:39 PM
OK, first things first: Make sure your warn_em template contains only the followings:


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 :

$warn_type[warn_desc]
(Warning Type = '$warn_type[warn_name]')

For this violation, you have been given $warn_type[warn_points] point(s).
The point(s) will remain in your account for $warn_type[warn_maturity] days.
After that, they will be removed automatically.

The post for which you are warned can be seen here:
<if condition="$vboptions['warn_includepost']==1 AND $thread3!=''">
=======================================
$thread3
=======================================
<else />
$thread2
</if>
The admin/moderator who warned you, entered this comment:

=======================================
$wcomment
=======================================

Your total Warning Points at the moment are: $level point(s).

If you reach the maximum of $vboptions[warn_points_before_banned], you will be banned from the Forums, for $peruserbanlimit days.

To see details about all the warnings you have received, until now, please click here:

$vboptions[bburl]/Warn.php?do=ViewMyWarnings

Please reply back if you have a dispute.

----------------

$vboptions[bbtitle] Team


Second, please remove the private.zip from here, or the moderators will come after you. Email it to me, but please zip it again, as the zip does not work. My email is sv1cec@hol.gr

Rgds

Caveman2k2
07-15-2005, 06:09 PM
Situation resolved. Thank you so much John for the terriffic support on this hack!

sv1cec
07-17-2005, 05:06 AM
Most welcome.