This MOD will not allow admin duble posts, to allow it for admins use changed code here:
in file new_post.asp at line 534 you will find this code
'******************************************
'*** Anti-spam Check ***
'******************************************
and ADD this code after this code (add it at line 537)
strSQL = "SELECT "
If strDatabaseType = "SQLServer" OR strDatabaseType = "Access" Then
strSQL = strSQL & "TOP 1"
End If
strSQL = strSQL & " " & strDbTable & "Thread.Author_ID " & _
"FROM " & strDbTable & "Thread " & strDBNoLock & " " & _
"WHERE " & strDbTable & "Thread.Topic_ID = " & lngTopicID & " " & _
"ORDER BY " & strDbTable & "Thread.Message_date DESC"
If strDatabaseType = "mySQL" Then
strSQL = strSQL & " LIMIT 1"
End If
strSQL = strSQL & ";"
'Open the recordset
rsCommon.Open strSQL, adoCon
if not rsCommon.EOF then
if rsCommon("Author_ID") = lngLoggedInUserID then strReturnCode = "bump"
End if
'Clean up
rsCommon.Close
End if
then in file not_posted.asp at line 116 you will find this code
End If
REPLACE it whit this code
ElseIf strErrorCode = "bump" Then
Response.Write("You are not allowed to create bump posts. Please wait until someone replies to the thread, or edit your last post to include additional information.")
End If