The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
Is there such a thing as an audit log for editing ? I have stopped people deleting posts but they sometimes edit (up to weeks later) and remove good content.
What I would like to see is that when an edit happens, the original post gets sent to another table or something with a date/time and a link to the original post. This should happen for EVERY edit, so if a user changes a post 3 times, there is 3 records created with the before & after post, the link and the time it happened.<
What I would like to see is that when an edit happens, the original post gets sent to another table or something with a date/time and a link to the original post. This should happen for EVERY edit, so if a user changes a post 3 times, there is 3 records created with the before & after post, the link and the time it happened.<
Posted
Yes, the first, well the first and the second - I would like the data and the date/time that it happened.
I can't understand why it would be a space hog though. even this thread has had 12 posts and only 1 edit. Surely the thread would be using more room than the edits that I want to keep ?<
I can't understand why it would be a space hog though. even this thread has had 12 posts and only 1 edit. Surely the thread would be using more room than the edits that I want to keep ?<
Posted
Anyone ?<
Posted
It's possible to do, but I don't think there's a MOD out there to do it. Essentially, you'd need a check somewhere in post_info.asp that checks that the post method is Edit_Topic, then copies the current contents of the topic field over to a TOPICS_HISTORY table (or whatever you chose to name your table). You'd then be able to query the table as you wanted in order to view past versions of posts.
As for the idea that it would be a space hog, the reason I say that is because there are often times where someone may edit the same post several times (due to typos, updated content, etc). So while I agree that not every post will be edited, you could see as much as 10% of your posts being copied into the history table due to edits. In larger databases, that is a significant amount.<
As for the idea that it would be a space hog, the reason I say that is because there are often times where someone may edit the same post several times (due to typos, updated content, etc). So while I agree that not every post will be edited, you could see as much as 10% of your posts being copied into the history table due to edits. In larger databases, that is a significant amount.<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Posted
That all sounds great, but I don't even know how to start doing it. That's why I posted here, hoping that someone would do it for me, or give me some really basic pointers on how to start.<
Posted
Well, there's a small chance my office (a state university) will be closed tomorrow due to inclement weather. If that's the case, I will try to write something up for you. No promises, though, since I won't know till morning.<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Posted
I'd like to work on this because I think it would make a good mod but I don't have the time right now.
Also, phpbb2 has a hack for this - http://www.phpbbhacks.com/download/5984 - might be worth a look. Most of thier mods/hacks are well written, but I have found a few duds. Anyway it might be a good starting point for someone.<
_-/Cripto9t\-_
Posted
Well, the office is indeed closed today. I just woke up, so give me some time to get up and around, and I'll see about tackling this.<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Posted
Awesome news
<
Posted
Posted
Thanks for that, I'll check it out and get back to you with comments.
THANK YOU VERY MUCH for the work so far




<
THANK YOU VERY MUCH for the work so far
Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
Loading...