Hi Carknee, This probably isn't what you need, because I don't think you can stop them by limiting edits.
They could just copy and paste a new one, right?
Anyway someone might want it, so I'll post it. I wrote and tested this real quick, and it seems to work.
What it does is hide the edit icon from the author (unless they are admin or mod) after 1 edit.
By just hiding the icon they can probably get around it by doctoring up the url.
In topic.asp find these lines around line 194
elseif lcase(strNoCookies) = "1" then
AdminAllowed = 1
ForumChkSkipAllowed = 0
else
AdminAllowed = 0
ForumChkSkipAllowed = 0
end if
Right after that add this code
if Topic_LastEditBy <> "" then
if Topic_LastEditBy <> Topic_Author then
Topic_NoBumpName = getMemberName(Topic_LastEditBy)
else
Topic_NoBumpName = chkString(Member_Name,"sqlString")
end if
if (AdminAllowed <> 1) and (Topic_NoBumpName = strDBNTUserName) then
NoBump = 1
end if
end if
Then around line 821 find this code
if AdminAllowed = 1 or TMember_ID = MemberID then
if ((Cat_Status <> 0) and (Forum_Status <> 0) and (Topic_Status <> 0)) or (AdminAllowed = 1) then
Response.Write " <a href=""post.asp?" & ArchiveLink & "method=EditTopic&REPLY_ID=" & Topic_ID & "&TOPIC_ID=" & Topic_ID & "&FORUM_ID=" & Forum_ID & """>" & getCurrentIcon(strIconEditTopic,"Edit Topic","align=""absmiddle"" hspace=""6""") & "</a>" & vbNewLine
end if
end if
Replace that first line of code with this line of code
if (AdminAllowed = 1 or TMember_ID = MemberID) and (NoBump <> 1)then
This is only for the topics. You can add the NoBump variable to replies if you want.