Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > Advanced Warning System (AWS)
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Warning for PM set to NO, but still sending warnings Details »»
Warning for PM set to NO, but still sending warnings
Version: , by Caveman2k2 Caveman2k2 is offline
Developer Last Online: Oct 2010 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 07-14-2005 Last Update: Never Installs: 0
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-15-2005, 05:53 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #3  
Old 07-15-2005, 01:18 PM
Caveman2k2 Caveman2k2 is offline
 
Join Date: Mar 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Code:
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?
  #4  
Old 07-15-2005, 02:27 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #5  
Old 07-15-2005, 02:40 PM
Caveman2k2 Caveman2k2 is offline
 
Join Date: Mar 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the help.

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

$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.
  #6  
Old 07-15-2005, 05:39 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, first things first: Make sure your warn_em template contains only the followings:

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 :

$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
  #7  
Old 07-15-2005, 06:09 PM
Caveman2k2 Caveman2k2 is offline
 
Join Date: Mar 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Situation resolved. Thank you so much John for the terriffic support on this hack!
  #8  
Old 07-17-2005, 05:06 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most welcome.
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:39 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06447 seconds
  • Memory Usage 2,271KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete