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)
 Post History MOD
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

muzishun
Senior Member

United States
1079 Posts

Posted - 07 February 2008 :  15:12:40  Show Profile  Visit muzishun's Homepage  Reply with Quote
By request, this MOD gives admins and moderators the ability to see past versions of an edited post. This has been tested with an Access database, but it is still a beta release. I can't guarantee that it is bug free (though I wish I could). Please post bug reports in the Mod Implementation forum and general comments here.

From the readme:
quote:
This MOD gives an admin the ability to view past versions of a post. Often times, users edit their responses, but there are times when being able to view the original post may be necessary. With this add-on, administrators can view all past versions of edited posts.


Download from SnitzBitz.

Update (2/10/08): Version 0.6b is ready. Fixed a bug in post_info.asp. I was forgetting to re-sanitize data coming from the database before it was reinserted into the POST_HISTORY table.<

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)

Edited by - muzishun on 10 February 2008 17:08:23

thelodger
Junior Member

United Kingdom
296 Posts

Posted - 08 February 2008 :  14:42:49  Show Profile  Reply with Quote
Is there something missing? I have installed, and changed code checked and all seems fine, but nothing has changed on the forum<

Edited by - thelodger on 08 February 2008 14:43:15
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 08 February 2008 :  15:21:09  Show Profile  Reply with Quote
I haven't installed this myself. But, do you see the "icon_post_history" in the topic? May be you click on that or something ;-)<
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 08 February 2008 :  17:01:34  Show Profile  Visit muzishun's Homepage  Reply with Quote
You will only be able to view the history of edits made since the MOD was installed. Any posts that are edited will have an icon next to the "Edit" icon. This will take you to the page displaying the history of the post.



If you have edited posts since installing the MOD but still do not see the icon above, can you give me a link to your site for testing?<

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

thelodger
Junior Member

United Kingdom
296 Posts

Posted - 09 February 2008 :  02:15:55  Show Profile  Reply with Quote
Ah, ok I will wait or ask someone to edit a post, I dont have the clock icon anywhere, does it not even appear till someone has made an edit? I will report back tonight after I return from work

my forum is www.forumsuperstars.com with a test account, username: poker, password: test

Cheers<

Edited by - thelodger on 09 February 2008 02:20:36
Go to Top of Page

thelodger
Junior Member

United Kingdom
296 Posts

Posted - 09 February 2008 :  13:55:48  Show Profile  Reply with Quote
Sorted thanks very much all working fine with Mysql so far.<
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 09 February 2008 :  20:54:08  Show Profile  Visit muzishun's Homepage  Reply with Quote
Glad it's working for you. To answer your question, you are correct in that the icon will not show up for a post unless there are available history entries to view. That way you don't have to worry about which posts do or don't have saved edits. The forum takes care of that for you.<

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

phy1729
Average Member

USA
589 Posts

Posted - 10 February 2008 :  11:50:10  Show Profile  Reply with Quote
In post_info.asp in the first mod block you need to sanitize all user input you should go through the rest of the mod just in case. I can't read the JS box I'm a plain text fan.

Error first reported by thelodger at 66450<

Edited by - phy1729 on 10 February 2008 16:48:09
Go to Top of Page

thelodger
Junior Member

United Kingdom
296 Posts

Posted - 10 February 2008 :  14:34:47  Show Profile  Reply with Quote
yeah I have reverted back to my back up files and the problem has gone away, so it does appear that its this mod that created the problem.<

Edited by - thelodger on 10 February 2008 14:35:06
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 10 February 2008 :  17:07:12  Show Profile  Visit muzishun's Homepage  Reply with Quote
Nice catches. There isn't actually any user input on post_info.asp, as the inserted text is retrieved via another recordset. However, that is likely still what's causing the error. I have updated the zip file at SnitzBitz. There are changes in two places of post_info.asp. The data coming from the first SELECT statement are sanitized before they are INSERTed back into the POST_HISTORY table. I don't have a forum running on a MySQL database, so please let me know if this fixes the error.<

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

thelodger
Junior Member

United Kingdom
296 Posts

Posted - 10 February 2008 :  18:13:52  Show Profile  Reply with Quote
Which file have you changed? or is it all of them? just saves me searching.<
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 10 February 2008 :  19:21:25  Show Profile  Visit bobby131313's Homepage  Reply with Quote
I've been considering this mod for a few days now, but I have a concern. Sometimes members post when they're angry and post things they may not mean, then they edit them to make the post more civil. I know I've done it.

With the icon there, I would be tempted to always look, and I'm not sure that I really want to read something that they thought better of and changed. I'm sure this is a great mod, I'm just having a little personal dilemma involving pros and cons of it.

Does any of this make sense or am I nuts?<

Switch the order of your title tags
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 10 February 2008 :  19:50:34  Show Profile  Visit muzishun's Homepage  Reply with Quote
thelodger. The only change is in post_info.asp. As I mentioned above, the only change is in the INSERT statements, where I put the data retrieved from the DB through the ChkString function to sent it to the POST_HISTORY table.


bobby, I can understand your dilemma. However, I see your example as being a reason to install this, rather than something that would prevent me from doing so. With this MOD installed, there can be no question about what someone says, even if they change it later. That being said, each person should decide what MODs and add-ons are most appropriate to their forum.

Hope that helps.<

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 10 February 2008 :  20:31:44  Show Profile  Visit bobby131313's Homepage  Reply with Quote
Yeah, there's certainly more than one way to look at it. I would just hate to read something nasty written by a great member in a bad moment, then not be able to forget it. <

Switch the order of your title tags
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 11 February 2008 :  00:10:55  Show Profile  Visit muzishun's Homepage  Reply with Quote
I definitely understand that. My general thought is that unless I have a specific need to view a post's history, I won't bother. Will that always be the case? Probably not; I am sure that I'll occasionally succumb to curiosity. However, I think once the "newness" of the feature wears off, it probably won't even come into play until it's needed.<

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

pitstraight
New Member

Australia
82 Posts

Posted - 11 February 2008 :  07:47:36  Show Profile  Reply with Quote
That's amazing muzishun, it works great but there's one thing:

The first entry in the history had the wrong time for me. Any idea why ?<
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07