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/Code)
 Automatically strip "Edited by" when editing posts
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 13 November 2000 :  06:02:32  Show Profile
If you would like the "Edited by - Username Time" info automatically stripped from the message when you edit the message follow these directions:

All modifications are done in <b>post.asp</b>

<b>Search for this:</b>

<font size=1><pre id=code><font face=courier size=2 id=code>TxtMsg = rs("R_MESSAGE")</font id=code></pre id=code></font id=size1>

<b>Immediately after that line insert this line:</b>

<font size=1><pre id=code><font face=courier size=2 id=code>if Instr(TxtMsg, "Edited by - ") then TxtMsg = Left(TxtMsg, InstrRev(TxtMsg, "Edited by - ")-5) end if</font id=code></pre id=code></font id=size1>


<b>Search for this:</b>

<font size=1><pre id=code><font face=courier size=2 id=code>TxtMsg = rs("T_MESSAGE")</font id=code></pre id=code></font id=size1>

<b>Immediately after that line insert this line:</b>

<font size=1><pre id=code><font face=courier size=2 id=code>if Instr(TxtMsg, "Edited by - ") then TxtMsg = Left(TxtMsg, InstrRev(TxtMsg, "Edited by - ")-5) end if</font id=code></pre id=code></font id=size1>

Edited by - Richard Kinser on 13 November 2000 06:03:52
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07