[ABD] Posts Historic 1.0.0

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
papygourbi
Registered User
Posts: 15
Joined: Thu Apr 24, 2008 9:50 pm

[ABD] Posts Historic 1.0.0

Post 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.
Last edited by papygourbi on Mon Apr 28, 2008 10:56 pm, edited 2 times in total.
User avatar
ferra1980
Registered User
Posts: 48
Joined: Tue Nov 07, 2006 10:18 am

Re: [RC1] Posts Historic 1.0.0

Post by ferra1980 »

Great work!!! I'll try this...
User avatar
papygourbi
Registered User
Posts: 15
Joined: Thu Apr 24, 2008 9:50 pm

Re: [RC1] Posts Historic 1.0.0

Post by papygourbi »

Thank's
don't forget to feed back the result of your test plz.
User avatar
papygourbi
Registered User
Posts: 15
Joined: Thu Apr 24, 2008 9:50 pm

Re: [RC1] Posts Historic 1.0.0

Post by papygourbi »

Add detailled description
User avatar
*Christian*
I've Been Banned!
Posts: 884
Joined: Sat Nov 03, 2007 1:35 pm
Location: Location, Location.

Re: [RC1] Posts Historic 1.0.0

Post 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 ;)
Proud owner of Bertie 3.0
:: No support via PM or IM ::
User avatar
papygourbi
Registered User
Posts: 15
Joined: Thu Apr 24, 2008 9:50 pm

Re: [RC1] Posts Historic 1.0.0

Post by papygourbi »

i submit it to phpBB for validation.
I'am waiting for return.
i hope it wil be good.
User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca

Re: [RC1] Posts Historic 1.0.0

Post 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:
User avatar
papygourbi
Registered User
Posts: 15
Joined: Thu Apr 24, 2008 9:50 pm

Re: [RC1] Posts Historic 1.0.0

Post 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.
User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca

Re: [RC1] Posts Historic 1.0.0

Post 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:
User avatar
papygourbi
Registered User
Posts: 15
Joined: Thu Apr 24, 2008 9:50 pm

Re: [RC1] Posts Historic 1.0.0

Post 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
Anyasha
Registered User
Posts: 704
Joined: Mon Aug 07, 2006 4:02 am
Name: Anyasha

Re: [RC1] Posts Historic 1.0.0

Post by Anyasha »

edit: wrong post, I'm sorry :oops:
Kiss me, I'm Polish!
Insomniac'
Registered User
Posts: 51
Joined: Tue Sep 11, 2007 11:37 pm

Re: [RC1] Posts Historic 1.0.0

Post by Insomniac' »

Somebody for a functional link ? Thanks !
User avatar
papygourbi
Registered User
Posts: 15
Joined: Thu Apr 24, 2008 9:50 pm

Re: [RC1] Posts Historic 1.0.0

Post by papygourbi »

the link for downloading the mod should work now.
ibelphegor
Registered User
Posts: 453
Joined: Wed Oct 24, 2007 8:37 am

Re: [RC1] Posts Historic 1.0.0

Post 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.
User avatar
papygourbi
Registered User
Posts: 15
Joined: Thu Apr 24, 2008 9:50 pm

Re: [RC1] Posts Historic 1.0.0

Post 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.
Locked

Return to “[3.0.x] Abandoned MODs”