stop showing edited by - Posted (1472 Views)
Senior Member
tribaliztic
Posts: 1532
1532
I'm pretty sure I've seen this, but can't find it anywhere..
I don't want the "Edited by:"-text showing when a moderator has edited a topic. Been looking in the code for the part that's excluding admins from this but can't find it either. Anyone know where it is? <
/Tribaliztic
- www.gotlandrace.se -
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Senior Member
tribaliztic
Posts: 1532
1532
I got this working, sortof.. =)
When I check the checkbox the line is showed BUT the original message is removed.. ONLY the line:
"This post was edited by " & getMemberName(MemberID) & " at " & DateToStr(strForumTimeAdjust)"
is shown... <
/Tribaliztic
- www.gotlandrace.se -
Posted
Senior Member
tribaliztic
Posts: 1532
1532
This still isn't working, this is my code at the moment:
if Request.Form("modedit") = "true" then
txtMessage = ChkString(Request.Form("Message"),"message") & " This post was edited by a moderator at " & DateToStr(strForumTimeAdjust)
txtSubject = ChkString(Request.Form("Subject"),"SQLString")
else
txtMessage = ChkString(Request.Form("Message"),"message")
txtSubject = ChkString(Request.Form("Subject"),"SQLString")


and the original message is gone and replaced by "This post was edited by a moderator at %dateandtimehere%"

any hints? <
/Tribaliztic
- www.gotlandrace.se -
Posted
Senior Member
tribaliztic
Posts: 1532
1532
This line solved it:
txtMessage = txtMessage & ChkString(Request.Form("Message"),"message") & " <br><br> Detta har blivit ändrat av en moderator den " & chkDate(DateToStr(strForumTimeAdjust)," ",true)

Thanks alot to Zuel for the help =)
<
/Tribaliztic
- www.gotlandrace.se -
You Must enter a message