minutes have passed. If you want to change the minimum time (eg. 1440=1 day), change the
to your desired time. If you want to eliminate consecutive replies without regard to time passed, then delete this portion of that line:
Look for the following lines (appx 233-236):
case "Reply", "ReplyQuote", "TopicQuote"
if ((blnCStatus = 0) or (blnFStatus = 0) or (blnTStatus = 0)) and (AdminAllowed = 0) then
Go_Result "You have attempted to Reply to a Locked Topic"
end if
After them, insert these:
if not mLev>2 then
strSql = "SELECT T_LAST_POST_AUTHOR, T_LAST_POST FROM " & strActivePrefix & "TOPICS WHERE TOPIC_ID = " & strRqTopicID
set rsLP = my_Conn.Execute(strSql)
intLastPost = datediff("n",ChkDate(rsLP("T_LAST_POST"),"",true),strForumTimeAdjust)
if MemberID = rsLP("T_LAST_POST_AUTHOR") and intLastPost < 30 Then
Go_Result "Consecutive replies not allowed, edit your last post in this thread."
end if
rsLP.Close
set rsLP = Nothing
end if
Look for the following line (appx 1092):
Sub QuickReply()
After it, insert these:
if not mLev>2 then
strSql = "SELECT T_LAST_POST_AUTHOR, T_LAST_POST FROM " & strActivePrefix & "TOPICS WHERE TOPIC_ID = " & TopicID
set rsLP = my_Conn.Execute(strSql)
intLastPost = datediff("n",ChkDate(rsLP("T_LAST_POST"),"",true),strForumTimeAdjust)
if MemberID = rsLP("T_LAST_POST_AUTHOR") and intLastPost < 30 Then
Go_Result "Consecutive replies not allowed, edit your last post in this thread."
end if
rsLP.Close
set rsLP = Nothing
end if