Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Do not show edited by if within x minutes?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

gjs
Starting Member

5 Posts

Posted - 05 August 2009 :  16:36:12  Show Profile  Reply with Quote
Hello.

One of my forum members has asked if it is possible to not show the 'last edited by....' message in the post if they edit within say, a couple of minutes of posting the original. This will help when just correcting typos.

Has anyone got a mod for this? I searched the forum including archive, but couldnt find anything.

Many Thanks,


Greg

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 05 August 2009 :  21:15:50  Show Profile  Reply with Quote
Here you go. I wrote it for you.

Edited by - Carefree on 06 August 2009 11:14:41
Go to Top of Page

gjs
Starting Member

5 Posts

Posted - 06 August 2009 :  18:38:46  Show Profile  Reply with Quote
Excellent!

Many thanks for this Carefree - I really appreciate you spending time on it.

I couldn't get it to work straight away - I don't think it liked this:-

if MemberName=Reply_MemberName.

I changed it to:-

if getMemberName(Reply_LastEditBy)=Reply_MemberName

and it seems to work. I'm not sure if I used the right variable, so please let me know if I'm missing something here or doing this wrong!

I also moved this:-

<hr noshade size=""1"" color=""" & strForumFontColor & """>

into here:-

Response.Write "<hr noshade size=""1"" color=""" & strForumFontColor & """>Edited by - " & Reply_LastEditByName & " on " & chkDate(Reply_LastEdit, " " ,true) & "</font></td>" & vbNewLine

Otherwise, it was still bringing up the horizontal line even if there was an edit within 10 minutes and therefore not bringing up the 'last edited by...'

So it is all working now - fantastic stuff. Another example of the great support on this forum.

Thanks again,



Greg
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 13 August 2009 :  04:26:32  Show Profile  Reply with Quote
Use the strDBNTUserName variable instead.
if strDBNTUserName=Reply_MemberName
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07