Page 1 of 3

[ABD] Posts Historic 1.0.0

Posted: Thu Apr 24, 2008 9:54 pm
by papygourbi

Hello,
I just finished a MOD for phpBB3.0.1. It allows admin/moderator to see full history of an edited post, restore if necessary an older version, and automaticaly purge oldest versions.
This gives a way to keep trace of moderation actions overrided by user edition for exemple.

This MOD supports both english and french (I'm french so feel free to correct my english grammar) and works for the 2 base template : prosilver and subsilver2.

Don' forget to refresh the templating cache and your navigator cache if needed !

The file colour_swatch is only for prosilver for regenerating the template, else you have an error and the template DB is invalid.

This is link for downloading a zipped version : http://sd-11057.dedibox.fr/store/posts_ ... _0_RC1.zip

All comment will be welcomed.

MOD detailed description:

This MOD allows to trace topic / post history: when a moderator edits or removes a post it's hard for other moderators / admins to confirm with the initial poster if moderation was justified. However moderators/admins have to moderate quickly to handle law's concerns and avoid causing troubles to forum owner. This also allows to keep history of what poster has written and to avoid being incapable of solving complains.

Since French laws are very straight, this MOD was essential for us: I've written the code with phpBB2 for my own use, and now I've converted this to phpBB3 and decided to write it as a MOD to share it with other forum masters.

With this MOD all edited versions of post are historized inside a dedicated table in the DB with edition details (timestamp, editor, description of action ).

To access post history, the admins/moderators have a new button close to the Edit button.

For saving BD, history can be purged by removing posts older than "X" days, "X" being configurable params inside the ACP as well as purge enabling/disabling.

This MOD can also be completely enabled/disabled and after installation the mod is not activated, you must go in POST SETTINGS, there, you will find 2 new options.

Re: [RC1] Posts Historic 1.0.0

Posted: Fri Apr 25, 2008 8:32 am
by ferra1980
Great work!!! I'll try this...

Re: [RC1] Posts Historic 1.0.0

Posted: Fri Apr 25, 2008 11:09 am
by papygourbi
Thank's
don't forget to feed back the result of your test plz.

Re: [RC1] Posts Historic 1.0.0

Posted: Mon Apr 28, 2008 9:29 am
by papygourbi
Add detailled description

Re: [RC1] Posts Historic 1.0.0

Posted: Mon Apr 28, 2008 1:20 pm
by *Christian*
Great [MOD], i will bookmark this topic and wait until more feedbakc has been posted before trying it out on my test board ;)

Re: [RC1] Posts Historic 1.0.0

Posted: Mon Apr 28, 2008 1:41 pm
by papygourbi
i submit it to phpBB for validation.
I'am waiting for return.
i hope it wil be good.

Re: [RC1] Posts Historic 1.0.0

Posted: Mon Apr 28, 2008 8:29 pm
by Sunka
I install MOD, all went OK...There is not errors, double FIND same code lines ....

But, I do not see icon near EDIT button, and I do not see nothin in ACP?
I've tried to find that maybe I must install MOD in ACP, but there is nothing....No to install MOD, neither automaticly installed MOD....

I've refresh several times template, imageset, themes...purged cache, but nothing...

How to "start this MOD"

Thank you from beautiful Croatia :mrgreen:

Re: [RC1] Posts Historic 1.0.0

Posted: Mon Apr 28, 2008 8:53 pm
by papygourbi
the new icon is only visible if you are moderator or admin and if a post has been edited and if the mod is ON, by default it's OFF just after install.
the 2 new options are in ACP, in section message options. like in the screenshot.
For templating, empty the navigator cache, empty the phpBB cache (first acp page) and then refresh template, theme and image pack in styles for at least your template (better to do it for both prosilver and subsilver2)
if you use an another template you have to upgrade it yourself and do the same.

In the mod you have 4 XML (don't forget one) :
the Install.xml which is the main install
prosilver.xml and subsilver2.xml in subdirectory templates
and in the version beeing test for release, a separate fr.xml for french language. In RC1 the french is in install.xml

if it always don't work , do this simple verification in database table phpBB_config, look for this 2 configs :
'post_historic_enable' and 'post_historic_expire'
the first must be a 0 and the second a 30. Put the first one at 1 to activate the mod, then try editing a post , you should have the new button in admin/modo mode on the viewtopic.php page.

I hope it will help, and Thank you for trying the mod

PS: in style you can also see the page in cache and delete them manually, i did it for me and the options where visible in ACP.

Re: [RC1] Posts Historic 1.0.0

Posted: Mon Apr 28, 2008 10:21 pm
by Sunka
Merci...
Finnaly is working
I couldn't turn it on because I do not know where to find in ACP...

Finnaly I manage, in POST SETTINGS
You should write it in Install.xml I think there will be more users which will try to install this very good MOD, but they wouldn't read this topic from beginnig till the end and they will be stock like me! :mrgreen:

Thank you French from Croatian :mrgreen:

Re: [RC1] Posts Historic 1.0.0

Posted: Mon Apr 28, 2008 10:50 pm
by papygourbi
thank you for your nice comment.
I didn't expect to explain in xml because there is screenshot from ACP here, but i did it now

Re: [RC1] Posts Historic 1.0.0

Posted: Sat May 10, 2008 1:16 am
by Anyasha
edit: wrong post, I'm sorry :oops:

Re: [RC1] Posts Historic 1.0.0

Posted: Mon May 12, 2008 12:45 pm
by Insomniac'
Somebody for a functional link ? Thanks !

Re: [RC1] Posts Historic 1.0.0

Posted: Thu May 15, 2008 12:13 pm
by papygourbi
the link for downloading the mod should work now.

Re: [RC1] Posts Historic 1.0.0

Posted: Thu May 15, 2008 11:25 pm
by ibelphegor
Nice mod but have 2 problems.

1) I really think it's better to chose who can see the history.
For example in my board i need that only admin can see the history.

2) In phpbb3 when you make edit no one can see that you make edit only if
you write a reason. Now after enable the mod make edit without write reason
and still everyone can see "edit by XXX X time".

Regards,
uzi.

Re: [RC1] Posts Historic 1.0.0

Posted: Fri May 16, 2008 8:06 am
by papygourbi
ibelphegor wrote:Nice mod but have 2 problems.

1) I really think it's better to chose who can see the history.
For example in my board i need that only admin can see the history.

2) In phpbb3 when you make edit no one can see that you make edit only if
you write a reason. Now after enable the mod make edit without write reason
and still everyone can see "edit by XXX X time".

Regards,
uzi.
thank you to try it.
in a futur release i will add an option for choose admin only or admin and modo for choosing who can see the history, and perhaps "everybody" .

for the second point, it's because i use a part of the phpBB3 logging for knowing who edit, but i had to activate it for each edit. I don't think it's a problem, just an evolution.