Post History MOD - Posted (4554 Views)
Senior Member
muzishun
Posts: 1079
1079
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:
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)
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Junior Member
thelodger
Posts: 296
296
Is there something missing? I have installed, and changed code checked and all seems fine, but nothing has changed on the forum<
Posted
Junior Member
texanman
Posts: 410
410
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 ;-)<
Posted
Senior Member
muzishun
Posts: 1079
1079
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)
Posted
Junior Member
thelodger
Posts: 296
296
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<
Posted
Junior Member
thelodger
Posts: 296
296
Sorted thanks very much all working fine with Mysql so far.<
Posted
Senior Member
muzishun
Posts: 1079
1079
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)
Posted
Average Member
phy1729
Posts: 589
589
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<
Posted
Junior Member
thelodger
Posts: 296
296
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.<
Posted
Senior Member
muzishun
Posts: 1079
1079
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)
Posted
Junior Member
thelodger
Posts: 296
296
Which file have you changed? or is it all of them? just saves me searching.<
You Must enter a message