Advanced Warning System
=======================

Description
-----------
This is a Port of the Advanced Warning System (AWS) by sv1ec, who deserves Full Credit
for this as he did the major work on this.


Details
-------
1 Product XML (25 Plugins, 827 Phrases, 27 Templates, 47 Settings)
1 ACP Navigation XML
1 PHP Functions File
3 Images
2 PHP Frontend Files
1 PHP Admin CP File
1 PHP Mod CP File
3 PHP Cronjob Files

Installation
------------
1) Upload the Files in Folder upload to the appropriate Directories
2) Import product-aws.xml
3) Template Edits

   In Template postbit
   FIND
   ------------------------------------------------------------------------------------------
   <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
   ------------------------------------------------------------------------------------------

   
   In Template postbit_legacy FIND
   ------------------------------------------------------------------------------------------
   <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
   ------------------------------------------------------------------------------------------

  
   ABOVE both Locations ADD  
   ------------------------------------------------------------------------------------------
  <!-- checks for warning system -->
   <if condition="THIS_SCRIPT=='showthread' AND $buttons=='1'">
	<if condition="$showwarnlink==1">
	<if condition="$vboptions['warn_allownotes']==1">
   <a href='Warn.php?do=NoteUser&id=$post[userid]&post=$post[postid]'><phrase 1="$post[username]">$vbphrase[aws_addnote_postbit]</phrase></a>&nbsp;</if>
		<a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'><phrase 1="$post[username]">$vbphrase[aws_addwarn_postbit]</phrase></a>&nbsp;
	</if>
	<if condition="$showviewwarnlink==1">
		<a href='Warn.php?do=ViewWarnings&id=$post[userid]'><phrase 1="$post[username]">$vbphrase[aws_view_warnings_info_postbit]</phrase></a>&nbsp;
	</if>
	<if condition="$showviewyourslink==1">
		<a href='Warn.php?do=ViewMyWarnings'>$vbphrase[view_your_warnings_postbit]</a> &nbsp;
	</if>
   </if>
   <if condition="THIS_SCRIPT=='showthread' AND $buttons=='0'">
	<if condition="$showwarnlink==1">
	<if condition="$vboptions['warn_allownotes']==1">
	<a href='Warn.php?do=NoteUser&id=$post[userid]&post=$post[postid]'>
	<input type="button" name="warn" value="<phrase 1='$post[username]'>$vbphrase[aws_addnote_postbit]</phrase>" accesskey="n" onClick="window.location='Warn.php?do=NoteUser&id=$post[userid]&post=$post[postid]'" class="button"></a> &nbsp;
	</if>
		<a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'> <input type="button" name="warn" value="<phrase 1='$post[username]'>$vbphrase[aws_addwarn_postbit]</phrase>"  accesskey="w" onClick="window.location='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'"class="button"></a> &nbsp;
	</if>
	<if condition="$showviewwarnlink==1">
		<a href='Warn.php?do=ViewWarnings&id=$post[userid]'><input type="button" name="warn" value="<phrase 1='$post[username]'>$vbphrase[aws_view_warnings_info_postbit]</phrase>" accesskey="v" onClick="window.location='Warn.php?do=ViewWarnings&id=$post[userid]'"class="button"></a>&nbsp;
	</if>
	<if condition="$showviewyourslink==1">
		<a href='Warn.php?do=ViewMyWarnings'><input type="button" name="warn" value="<phrase 1='$post[username]'>$vbphrase[aws_view_warnings_info_postbit]</phrase>" accesskey="v" onClick="window.location='Warn.php?do=ViewMyWarnings'"class="button"></a>&nbsp;
	</if>
   </if>
   <!-- end of warning system -->
   ------------------------------------------------------------------------------------------

   In Template postbit
   FIND
   ------------------------------------------------------------------------------------------
   <td valign="top" nowrap="nowrap">
				
				<div class="smallfont">
					<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
   ------------------------------------------------------------------------------------------

   ABOVE that ADD
   ------------------------------------------------------------------------------------------
   <!-- Show warned sign -->
   <if condition="THIS_SCRIPT=='showthread'"> 

   <if condition="$showwarnsignmgm==1">
      <!-- Mgm can click on the stop sign to see the warnings -->
      <td><A HREF="Warn.php?do=ViewPostWarnings&post=$post[postid]"  onclick="window.open('Warn.php?do=ViewPostWarnings&post=$post[postid]','','width=1000, height=500, resizable=yes, scrollbars=yes'); return false;" target="_blank"><img src="$stylevar[imgdir_misc]/warn.gif" border=0></a></td>
   </if>

   <if condition="$showwarnsign==1">
      <!-- Simple Users can only see the warn sign but not the warnings -->
      <td><img src="$stylevar[imgdir_misc]/warn.gif" border=0></td>
   </if>
   </if>

   <!-- End of show warned sign -->
   ------------------------------------------------------------------------------------------

   In Template postbit
   FIND
   ------------------------------------------------------------------------------------------
   <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if><div>$post[reputationdisplay]</div></if>
   ------------------------------------------------------------------------------------------

   BELOW that ADD
   ------------------------------------------------------------------------------------------
   <!-- Show warning points -->
   <if condition="$showpoints==1">
   <if condition="$post[alerts]>0">
   <font color="#ff0000">
   <BR><phrase 1="$post[alerts]">$vbphrase[aws_alerts]</phrase><br>
   <font color="#000000">
   </if>
   <if condition="$post[warns]>0">
   <font color="#ff0000">
   <BR><phrase 1="$post[warns]">$vbphrase[aws_warnings]</phrase><br>
   <font color="#000000">
   </if>
   <if condition="$post[warning_level]>0">
   <font color="#ff0000">
   <BR><phrase 1="$post[warning_level]">$vbphrase[aws_warning_level]</phrase><br>
   <font color="#000000">
   </if>
   <if condition="$post[warning_bans]>0">
   <font color="#ff0000">
   <BR><phrase 1="$post[warning_bans]">$vbphrase[aws_warning_bans]</phrase><br>
   <font color="#000000">
   </if>
   </if>
   <!-- End of show warning points -->
   ------------------------------------------------------------------------------------------
 
   In Template postbit
   FIND
   ------------------------------------------------------------------------------------------
   <div id="post_message_$post[postid]">$post[message]</div>
   <!-- / message -->
   ------------------------------------------------------------------------------------------

   ABOVE that ADD
   ------------------------------------------------------------------------------------------
<if condition="$pnotes!='' AND $vboptions['warn_allownotes']==1">
   <table border="1" width="100%" align="center" class="alt2">
   <tr>
   <td align="center" class="thead" colspan="4">
   <div class="smallfont">$vbphrase[aws_noteslist_postbit]</div>
   </td>
   </tr>
   <tr>
   <td align="center" class="smallfont" width="10%"> 
   $vbphrase[aws_note_moderator_postbit]
   </td>
   <td align="center" class="smallfont" width="15%"> 
   $vbphrase[aws_notes_time_postbit]
   </td>
   <td align="center" class="smallfont">
   $vbphrase[aws_notes_moderatornote_postbit]
   </td>
   <td width="5%" class='smallfont' align='center'>
   $vbphrase[aws_removenote_postbit]
   </td>
   </tr>
   $pnotes
   </table>
   <br>
   </if>
   ------------------------------------------------------------------------------------------

   In Template postbit
   FIND
   ------------------------------------------------------------------------------------------
   <if condition="$show['avatar']"> (this procedure is the same for postbit_legacy)
   ------------------------------------------------------------------------------------------

   REPLACE that with
   ------------------------------------------------------------------------------------------
    <if condition="$show['avatar'] AND (($vboptions[warn_avatar_thresshold]<0 AND $post[warning_level]<=$vboptions[warn_avatar_thresshold]) OR $vboptions[warn_avatar_thresshold] == 0)">

   ------------------------------------------------------------------------------------------
 
   In Template postbit
   FIND
   ------------------------------------------------------------------------------------------
   <if condition="$post['signature']">(this procedure is the same for postbit_legacy)
   ------------------------------------------------------------------------------------------

   REPLACE that with
   ------------------------------------------------------------------------------------------
   <if condition="$post['signature'] AND (($vboptions[warn_sig_thresshold]<0 AND $post[warning_level]>=$vboptions[warn_sig_thresshold]) OR $vboptions[warn_sig_thresshold]==0)">
   ------------------------------------------------------------------------------------------

   In Template postbit_legacy (
   special note for vBulletin 3.6.x users be carefull you do not alter any $template_hook variables
   FIND
   ------------------------------------------------------------------------------------------
   <if condition="$show['moderated']">
   <td class="alt2" id="td_post_$post[postid]">
   <else />
   <td class="alt1" id="td_post_$post[postid]">
   </if>
	
		<if condition="$show['messageicon'] OR $post['title']">
			<!-- icon and title -->
			<div class="smallfont">
				<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
				<if condition="$post['title']"><strong>$post[title]</strong></if>
			</div>
			<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
			<!-- / icon and title -->
		</if>
   ------------------------------------------------------------------------------------------

   REPLACE that with
   ------------------------------------------------------------------------------------------
   <if condition="$show['moderated']">
   <td class="alt2" id="td_post_$post[postid]">
   <else />
   <td class="alt1" id="td_post_$post[postid]">
   </if>
   $template_hook[postbit_messagearea_start]
	<if condition="$show['messageicon'] OR $post['title'] OR (THIS_SCRIPT=='showthread' AND $showwarnsignmgm==1) OR (THIS_SCRIPT=='showthread' AND $showwarnsign==1)">
		<TABLE width=100%><TR>
			<TD width=90%>
			<!-- icon and title -->
			<div class="smallfont">
				<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
				<if condition="$post['title']"><strong>$post[title]</strong></if>
			</div>
			<!-- / icon and title -->
			</td>
			<TD width=10% align="$stylevar[right]">
			<!-- Show warned sign -->
			<if condition="THIS_SCRIPT=='showthread'"> 
				<if condition="$showwarnsignmgm==1">
				      <!-- Mgm can click on the stop sign to see the warnings -->
				      <A HREF="Warn.php?do=ViewPostWarnings&post=$post[postid]"  onclick="window.open('Warn.php?do=ViewPostWarnings&post=$post[postid]','','width=1000, height=500, resizable=yes, scrollbars=yes'); return false;" target="_blank"><img src="$stylevar[imgdir_misc]/warn.gif" border=0></a>
				</if>
				
				<if condition="$showwarnsign==1">
				      <!-- Simple Users can only see the warn sign but not the warnings -->
				      <img src="$stylevar[imgdir_misc]/warn.gif" border=0>
				</if>
			</if>
			<!-- End of show warned sign -->
			</td>
		</tr></table>
		<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
	</if>		

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

   In Template postbit_legacy
   FIND
   ------------------------------------------------------------------------------------------
   <div id="post_message_$post[postid]">$post[message]</div>
   <!-- / message -->
   ------------------------------------------------------------------------------------------

   ABOVE that ADD
   ------------------------------------------------------------------------------------------
   <if condition="$pnotes!='' AND $vboptions['warn_allownotes']==1">
   <table border="1" width="100%" align="center" class="alt2">
   <tr>
   <td align="center" class="thead" colspan="4">
   <div class="smallfont">$vbphrase[aws_noteslist_postbit]</div>
   </td>
   </tr>
   <tr>
   <td align="center" class="smallfont" width="10%"> 
   $vbphrase[aws_note_moderator_postbit]
   </td>
   <td align="center" class="smallfont" width="15%"> 
   $vbphrase[aws_notes_time_postbit]
   </td>
   <td align="center" class="smallfont">
   $vbphrase[aws_notes_moderatornote_postbit]
   </td>
   <td width="5%" class='smallfont' align='center'>
   $vbphrase[aws_removenote_postbit]
   </td>
   </tr>
   $pnotes
   </table>
   <br>
   </if>
   ------------------------------------------------------------------------------------------

   in template postbit_legacy find

   <if condition="$show['reputation']"><div><if condition="$show['reppower']"><span id="reppower_$post[postid]_$post[userid]">$vbphrase[reppower]</span>: $post[reppower]</if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
   ----------------------------------------------------------------------------------
   below that 

   <!-- Show warning points -->
   <if condition="$showpoints==1">
   <if condition="$post[alerts]>0">
   <font color="#ff0000">
   <phrase 1="$post[alerts]">$vbphrase[aws_alerts]</phrase><br>
   <font color="#000000">
   </if>
   <if condition="$post[warns]>0">
   <font color="#ff0000">
   <phrase 1="$post[warns]">$vbphrase[aws_warnings]</phrase><br>
   <font color="#000000">
   </if>
   <if condition="$post[warning_level]>0">
   <font color="#ff0000">
   <phrase 1="$post[warning_level]">$vbphrase[aws_warning_level]</phrase><br>
   <font color="#000000">
   </if>
   <if condition="$post[warning_bans]>0">
   <font color="#ff0000">
   <phrase 1="$post[warning_bans]">$vbphrase[aws_warning_bans]</phrase><br>
   <font color="#000000">
   </if>
   </if>
   <!-- End of show warning points -->

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

   In Template MEMBERINFO
   FIND
   ------------------------------------------------------------------------------------------
   <tr>
	<td class="tcat">$vbphrase[view_profile]<span class="normal">: $userinfo[username]</span></td>
   </tr>   
   ------------------------------------------------------------------------------------------

   comment that out and replace by(note you comment it out like this)
   <!--<tr>
	<td class="tcat">$vbphrase[view_profile]<span class="normal">: $userinfo[username]</span></td>
   </tr>-->
   ------------------------------------------------------------------------------------------
  <tr>
	<td class="tcat">
 <!-- checks for warning system -->
   <span class="smallfont" style="float:$stylevar[right]">
   <if condition="THIS_SCRIPT=='member' AND $vboptions[warn_allowoffpost]==1 AND $buttons=='1'">
   <if condition="$showwarnlink==1">
   <if condition="$vboptions['warn_allownotes']==1">
   <a href='Warn.php?do=NoteUser&id=$post[userid]&post=0'><phrase 1="$userinfo[username]">$vbphrase[aws_addnote_profile_link]</phrase></a>&nbsp;</if> 
	<a href='Warn.php?do=WarnUserNoPost&id=$userinfo[userid]'><phrase 1="$userinfo[username]">$vbphrase[aws_addwarn_profile_link]</phrase></a>&nbsp;<a href='Warn.php?do=ViewWarnings&id=$userinfo[userid]'><phrase 1="$userinfo[username]">$vbphrase[aws_view_warnings_profile]</phrase></a>
   </if>
   <if condition="$showviewyourslink==1">
         <a href='Warn.php?do=ViewMyWarnings'>$vbphrase[aws_view_your_warnings_profile]</a>
   </if>
   </if>

   <if condition="THIS_SCRIPT=='member' AND $vboptions[warn_allowoffpost]==1 AND $buttons=='0'">
   <if condition="$showwarnlink==1">
   <if condition="$vboptions['warn_allownotes']==1">
   <a href='Warn.php?do=NoteUser&id=$post[userid]&post=0'><input type="button" name="warn" value="<phrase 1='$post[username]'>$vbphrase[aws_addnote_profile]</phrase>" accesskey="n" onClick="window.location='Warn.php?do=NoteUser&id=$post[userid]&post=0'"class="button"></a> &nbsp;
   </if>
<a href='Warn.php?do=WarnUserNoPost&id=$userinfo[userid]'><input type="button" name="warn" value="<phrase 1='$post[username]'>$vbphrase[aws_addwarn_profile]</phrase>" accesskey="w" class="button" onClick="window.location='Warn.php?do=WarnUserNoPost&id=$userinfo[userid]'"></a>&nbsp;<a href='Warn.php?do=ViewWarnings&id=$userinfo[userid]'><input type="button" class="button" name="warn" value="View $post[username]'s Warnings" accesskey="v" onClick="window.location='Warn.php?do=ViewWarnings&id=$userinfo[userid]'"></a>
</if>
<if condition="$showviewyourslink==1">
<a href='Warn.php?do=ViewMyWarnings'><input type="button" class="button" name="warn" value="View Your Warnings" accesskey="v" onClick="window.location='Warn.php?do=ViewMyWarnings'"></a> 
   </if>
   </if>
   </span>
   <!-- end of warning system -->
   ------------------------------------------------------------------------------------------

   In Template MEMBERINFO
   FIND
   ------------------------------------------------------------------------------------------
   <if condition="$show['profilepic']">
   ------------------------------------------------------------------------------------------

   ABOVE that ADD
   ------------------------------------------------------------------------------------------
   <td style="border-bottom:1px solid $stylevar[tborder_bgcolor]" align="$stylevar[right]" nowrap="nowrap">
   <div class="smallfont">
   <b>User ID :</b> $userinfo[userid]<br />
   <if condition="$showpoints==1">
   <if condition="$userinfo[alerts]>0">
   <font color="#ff0000">
   <phrase 1="$userinfo[alerts]">$vbphrase[aws_alerts_member_profile]</phrase><BR>
   <font color="#000000">
   </if>
   <if condition="$userinfo[warns]>0">
   <font color="#ff0000">
   <phrase 1="$userinfo[warns]">$vbphrase[aws_warnings_member_profile]</phrase><BR>
   <font color="#000000">
   </if>
   <if condition="$userinfo[warning_level]>0">
   <font color="#ff0000">
   <phrase 1="$userinfo[warning_level]">$vbphrase[aws_warninglevel_member_profile]</phrase><BR>
   <font color="#000000">
   </if>
   <if condition="$userinfo[warning_bans]>0">
   <font color="#ff0000">
   <phrase 1="$userinfo[warning_bans]">$vbphrase[aws_warningbans_member_profile]</phrase><BR>
   <font color="#000000">
   </if>
   </if>
   </td>
   ------------------------------------------------------------------------------------------

   In Template MEMBERINFO
   FIND
   ------------------------------------------------------------------------------------------
   <if condition="$show['signature']">
   <!-- signature row -->
   ------------------------------------------------------------------------------------------

   ABOVE that ADD
   ------------------------------------------------------------------------------------------
  <if condition="$pnotes!='' AND $vboptions['warn_allownotes']==1">
   <table border="1" width="100%" align="center" class="alt2">
   <tr>
   <td align="center" class="thead" colspan="5">
   <div class="smallfont">$vbphrase[aws_noteslist_profile]</div>
   </td>
   </tr>
   <tr>
   <td align="center" class="smallfont" width="10%"> 
   $vbphrase[aws_noteslist_profile_moderator]
   </td>
   <td align="center" class="smallfont" width="15%"> 
   $vbphrase[aws_noteslist_profile_time]
   </td>
   <td align="center" class="smallfont">
   $vbphrase[aws_noteslist_profile_moderator_note]
   </td>
   <td align="center" class="smallfont" width="5%">
   $vbphrase[aws_noteslist_profile_post]
   </td>
   <td width="5%" class='smallfont' align='center'>
   $vbphrase[aws_noteslist_profile_remove]
   </td>
   </tr>
   $pnotes
   </table>
   <br>
   </if>
   ------------------------------------------------------------------------------------------

   in template MEMBERINFO find
   ------------------------------------------------------------------------------------------
    <if condition="$show['profilepic']">
    -----------------------------------------------------------------------------------------

    replace with
    <if condition="$show['profilepic'] AND (($vboptions[warn_pic_thresshold]<0 AND $userinfo[warning_level]<=$vboptions[warn_pic_thresshold]) OR $vboptions[warn_pic_thresshold] == 0)">
    ------------------------------------------------------------------------------------------

   in template MEMBERINFO find
   ------------------------------------------------------------------------------------------
   <if condition="$show['avatar']">
   ------------------------------------------------------------------------------------------
   replace that width
   ------------------------------------------------------------------------------------------
   <if condition="$show['avatar'] AND (($vboptions[warn_avatar_thresshold]<0 AND $userinfo[warning_level]<=$vboptions[warn_avatar_thresshold]) OR $vboptions[warn_avatar_thresshold] == 0)">
   ------------------------------------------------------------------------------------------

   in template MEMBERINFO find
   -------------------------------------------------------------------------------------------
   <if condition="$show['signature']">
   -------------------------------------------------------------------------------------------
   replace that width
   -------------------------------------------------------------------------------------------
   <if condition="$show['signature'] AND (($vboptions[warn_sig_thresshold]<0 AND $userinfo[warning_level]>=$vboptions[warn_sig_thresshold]) OR $vboptions[warn_sig_thresshold]==0)">

in template memberlist_resultbits

find
   --------------------------------------------------------------------------------------------
   <if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['avatar']"><img src="$avatarurl" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /><else />&nbsp;</if></td></if>

   replace that with

   <if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['avatar'] AND (($vboptions[warn_avatar_thresshold]<0 AND $userinfo[warning_level]<=$vboptions[warn_avatar_thresshold]) OR $vboptions[warn_avatar_thresshold] == 0)"><img src="$avatarurl" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /><else />&nbsp;</if></td></if>

   --------------------------------------------------------------------------------------------
   if you want to have a link to Warn.php?do=ViewMyWarnings in your quick links menu then ...
   In Template navbar(no longer needed this is automated through a plugin)
   FIND
   ------------------------------------------------------------------------------------------
   <tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
   ------------------------------------------------------------------------------------------

   ABOVE that ADD(absolute this is now done automatically by a plugin)
   ------------------------------------------------------------------------------------------
   <tr><td class="thead">Warnings</td></tr>
   <tr><td class="vbmenu_option"><a href="Warn.php?$session[sessionurl]do=ViewMyWarnings">View Your Warnings</a></td></tr>		
   ------------------------------------------------------------------------------------------

   In Template pm_newpm
   FIND
   ------------------------------------------------------------------------------------------
		<fieldset class="fieldset">
			<legend>$vbphrase[recipients]</legend>
			<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
   ------------------------------------------------------------------------------------------

   ABOVE that ADD
   ------------------------------------------------------------------------------------------
   <if condition="$dualid==1">
     <fieldset>
     <legend>Sender ID</legend>
     <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
	<tr>
	<td>
	<div class="smallfont">$vbphrase[aws_warning_collector]</div>
	<select name="sender" class="smallfont">$dual_option</select>
	</td>
	</tr>
     </table>
     </fieldset>
   </if>	
   ------------------------------------------------------------------------------------------
Upgrading 3.5.x to 3.6.0
----------------------------------------------------------------------------------------------
import product-aws.xml (set allow overwrite to yes)
goto yourforums/admincp => usergroups => usergroups manager and set appriciate permissions

in template MEMBERINFO find
   ------------------------------------------------------------------------------------------
    <if condition="$show['profilepic']">
    -----------------------------------------------------------------------------------------

    replace with
    <if condition="$show['profilepic'] AND (($vboptions[warn_pic_thresshold]<0 AND $userinfo[warning_level]<=$vboptions[warn_pic_thresshold]) OR $vboptions[warn_pic_thresshold] == 0)">
    ------------------------------------------------------------------------------------------

that's the only change needed.The rest of the stuff that changed are within the sourcefiles

Note:About upgrading and your database
----------------------------------------------------------------------------------------------

Backup the folowwing MySQL tables

warnings
warning_types
warn_notes
pmtext_warned
ban_dates
user
post
thread

So you can restore them if needed 

The view banned users and the bans per user option on the 3.5.x version will show you "the administrator did not define any groups as 
banned" (or something like that)

Reason for this is that jelsoft changed the ISBANNEDGROUP permission to ISNOTBANNEDGROUP this is fixed in 3.6.0

all Done 

if you wanna have a nice looking button on the warn forms you can add this css class to

style & templates => style manager => [your style] => all syle options => Additional CSS Definitions 

.warn_button
{
    padding: 0px 3px 1px 3px;
    margin: 0;
    text-align: center;
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    background-color: #0066FF;
    border: 1px solid;
    border-color: #ffc8a4 #3f1a01 #3f1a01 #ffc8a4;
    cursor: pointer;
}

submit the form to apply the changes only the aws system will be affected

All done 


If you find anything that looks like a bug or things are not working as they should please report it at

http://www.delphiprogramming.be/forums/project.php?projectid=1

a good read would be http://www.delphiprogramming.be/forums/faq.php?faq=pt_faq#faq_pt_faq_how_post

bugreporteraccount

username:bugreporter
password:awsbug

that's all :-)