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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Edited by mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

rev_greg
Starting Member

USA
47 Posts

Posted - 27 March 2002 :  23:04:22  Show Profile  Visit rev_greg's Homepage  Send rev_greg an AOL message  Send rev_greg an ICQ Message
Does anyone have a mod where it shows who edited a post, and maybe sets a timelimit for how long a post can be edited after it's posted?

Thank you.

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 28 March 2002 :  02:41:28  Show Profile  Visit HuwR's Homepage
The standard Snitz already does the first thing you asked, but setting a timelimit is not something I ahave come across before.

Go to Top of Page

rev_greg
Starting Member

USA
47 Posts

Posted - 28 March 2002 :  09:39:08  Show Profile  Visit rev_greg's Homepage  Send rev_greg an AOL message  Send rev_greg an ICQ Message
Well a forum that I frequent owned by a fellow minister http://www.ulconline.com/forum has implemented an edit timelimit.

You have 20 minutes to edit your post after which time the edit function becomes disabled for that post. He also has the edited by information show up no matter how it is edited, this included by moderators and admins.

The reason he added the timelimit is because some people would post something to get the users community up in arms and then after several hours would change their post and claim innocence.



Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 28 March 2002 :  09:57:53  Show Profile  Visit HuwR's Homepage
there is an edited by MOD, which keeps the last edited by date in a seperate field, this will also be a feature in the upcoming 3.4 release.

The other part I am guessing he coded himself since I have not heard of a MOD which does this.

Go to Top of Page

rev_greg
Starting Member

USA
47 Posts

Posted - 28 March 2002 :  13:34:38  Show Profile  Visit rev_greg's Homepage  Send rev_greg an AOL message  Send rev_greg an ICQ Message
Ok, I changed a couple of things so that all activity by anyone (moving, editing, etc..) is logged into the post. I simply removed the M_LEV < 4 portion in post_info.asp where it adds the "Edited by" line.

It looks like I might have to try my hand at a mod. What I am planning on doing is adding a field to the FORUM_CONFIG_NEW table that has a timelimit for editing posts.

I'd then add a section to the features config for setting the timelimit.

Then in forum.asp and topic.asp add in coding to disable editing if not a moderator or admin after the time specified. The logic should be fairly easy but I am new to SQL.

Since the T_DATE is a long string i.e. 20020328135740 I should be able to use a datediff, but I am not sure of how exactly to do it.

Any thoughts or suggestions would be appreciated.


Added: Actually I think it might be easier to change post.asp to check how long since the post was originally posted and have it deny editing.



Edited by - rev_greg on 28 March 2002 14:24:41
Go to Top of Page
  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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07