[PROPOSED] Versions on Editing

This forum is now closed as part of retiring phpBB2.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
User avatar
Wyld
Registered User
Posts: 7
Joined: Wed Dec 14, 2005 2:44 am
Location: Australia

[PROPOSED] Versions on Editing

Post by Wyld » Wed Dec 14, 2005 2:57 am

Greets ..

I am considering the creation of a MOD that is able to retain previous content of edited posts. My initial thoughts would be to create a new table which would contain a timestamp of the change, and the content of the previous post. Access to this data would be available via the post itself, and via the admin area. Not sure about permissions, but I think admin and moderator makes sense, with an optional "author" option.

By offloading to a seperate table, I suspect this would help provide minimal impact to the databaseand codebase, allowing it to be integrated fairly easily.

Extra hooks that I see would be needed include linking into the post deletion code to allow the deletion of previous versions of the post (would need to be incorporated into the autoprune as well).

Would also need to have the ability to delete previous versions on request of the admin or potentially mod.

If people think such a mod would be use to the community, or more importantly, have any advice or ideas on what else this mod would need to incorporate, please add your comments. I have about 5 ideas for mods and I'm in the process of documenting the conceptual workflow to produce them.

And yes, any mod that I write will work with EasyMOD where possible.
Weaving the Web since 1492

User avatar
poyntesm
Registered User
Posts: 1671
Joined: Tue Jan 18, 2005 11:19 am
Location: Dublin, Ireland
Contact:

Post by poyntesm » Wed Dec 14, 2005 9:29 am

Personally I would use a MOD like this. It has been something I had been planning to write once I had the time.

Post Reply

Return to “[2.0.x] MOD Writers Discussion”