Soft Delete

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 26352
Joined: Sat Aug 16, 2003 7:36 am

Soft Delete

Postby Extensions Robot » Fri Feb 08, 2008 8:45 pm

Modification name: Soft Delete
Author: Dugi
Modification description: Changes the current hard delete scheme to all soft deleting for posts and topics. Also includes the option to undelete posts and topics after they have been soft deleted. New permissions give the option to allow administrators and/or moderators to hard delete posts/topics after they have already been soft deleted.

Warning: A number of bugs seem to exist when using this with newer versions of phpBB, it IS NOT RECOMMENDED that you use this modification anymore.

UPDATE:

As of September 15th 2013, I (Dugi) took over development of this modification. I'm currently trying to list all bugs and feature requests and I'm going to need everyone's help for this. Once I have a list with all caught bugs and your requests, I'll fix/add them all and provide an up to date package. Hopefully I'll manage to do all this before the 3.1 release, which will have the Soft Delete feature included by default.

Refer to this topic to report bugs or request features.

Modification version: 1.0.15
Tested on phpBB version: 3.0.6

Download file: Soft Delete 1.0.15.zip
File size: 96095 Bytes

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Modifications Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Tue Oct 08, 2013 11:05 pm, edited 14 times in total.
(this is a non-active account manager for the phpBB Extensions Team)

User avatar
Paul
Extensions Team Member
Extensions Team Member
Posts: 21266
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Soft Delete

Postby Paul » Fri Feb 08, 2008 8:45 pm

Modification validated/released

Notes:
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Soft Delete

Postby EXreaction » Fri Feb 08, 2008 8:45 pm

Starting with 1.0.11, you must be running >= phpBB 3.0.1 to install this. If you are still running phpBB 3.0.0 or earlier, follow the instructions in contrib/install_phpBB300.xml

Some quick screenshots of what a post looks like when it is soft deleted:
http://www.lithiumstudios.org/forum/vie ... f=31&t=389

Support by the author is only provided at http://www.lithiumstudios.org
A small fee is required for support by the author unless otherwise specified by the author in the release topic.
Bug reports are accepted and, if confirmed as a bug, you will receive support for fixing the bug for free by the mod author.
Last edited by EXreaction on Mon Oct 06, 2008 1:14 am, edited 4 times in total.

GregorK
Registered User
Posts: 7
Joined: Thu Aug 19, 2004 12:01 pm

Re: Soft Delete

Postby GregorK » Sat Feb 09, 2008 11:37 am

Great mod!
What I found out is after you soft/hard delete a thread, the last post still shows up on the forums "LAST POST" quick link.

Here are German translations:

Code: Select all

'acl_f_delete'      => array('lang' => 'Kann eigene Beiträge weich löschen', 'cat' => 'actions'),

Code: Select all

'acl_m_delete'      => array('lang' => 'Kann Beiträge weich löschen', 'cat' => 'post_actions'),
   'acl_m_harddelete'   => array('lang' => 'Kann Beiträge hart löschen', 'cat' => 'post_actions'),

Code: Select all

$lang = array_merge($lang, array(
   'DELETED_POST_SHOW'            => 'Dieser Beitrag wurde weich gelöscht. Klick hier um den Beitrag anzuzeigen.',
   'TOPIC_SOFT_DELETED'         => 'Dieses Thema wurde gelöscht.',
));

Code: Select all

$lang = array_merge($lang, array(
   'DELETED_POST_SHOW'            => 'Dieser Beitrag wurde weich gelöscht. Klick hier um den Beitrag anzuzeigen.',
   'POST_IS_DELETED'            => 'Dieser Beitrag wurde von %1$s in %2$s weich gelöscht . Klicke %3$shier%4$s um den Beitrag wieder herzustellen.',
   'POST_SHOW_NO_JS'            => 'Du musst Javascript aktiviert haben um diesen Beitrag anzuzeigen.',
));

goethe
Registered User
Posts: 162
Joined: Fri May 11, 2007 8:26 pm

Re: Soft Delete

Postby goethe » Sat Feb 09, 2008 9:46 pm

GregorK wrote:

Code: Select all

'acl_m_delete'      => array('lang' => 'Kann Beiträge weich löschen', 'cat' => 'post_actions'),
   'acl_m_harddelete'   => array('lang' => 'Kann Beiträge hart löschen', 'cat' => 'post_actions'),



Should be:

Code: Select all

'acl_m_delete'      => array('lang' => 'Kann Beiträge weich löschen', 'cat' => 'post_actions'),
   'acl_m_harddelete'   => array('lang' => 'Kann Beiträge hard löschen', 'cat' => 'post_actions'),
I can translate German in both directions:
German to English
English to German
If you want a translation, drop me a PM.

User avatar
SecondShoe
Registered User
Posts: 48
Joined: Thu Dec 13, 2007 7:16 pm
Contact:

Re: Soft Delete

Postby SecondShoe » Mon Feb 11, 2008 1:01 am

Is this mod available for ProSilver only?
My default style is SubSilver based but there is soft_delete.js only for ProSilver. Can I use it for SubSilver?

User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: Soft Delete

Postby EXreaction » Mon Feb 11, 2008 1:30 am

It isn't too difficult for it to be made for subsilver2.

Sometime soon I will be updating the package and I'll be sure to list the changes required for subsilver2.

goethe
Registered User
Posts: 162
Joined: Fri May 11, 2007 8:26 pm

Re: Soft Delete

Postby goethe » Mon Feb 11, 2008 9:04 pm

GregorK wrote:Great mod!
What I found out is after you soft/hard delete a thread, the last post still shows up on the forums "LAST POST" quick link.

Here are German translations:

Code: Select all

'acl_f_delete' => array('lang' => 'Kann eigene Beiträge weich löschen', 'cat' => 'actions'),

Code: Select all

'acl_m_delete' => array('lang' => 'Kann Beiträge weich löschen', 'cat' => 'post_actions'),
'acl_m_harddelete' => array('lang' => 'Kann Beiträge hart löschen', 'cat' => 'post_actions'),

Code: Select all

$lang = array_merge($lang, array(
'DELETED_POST_SHOW' => 'Dieser Beitrag wurde weich gelöscht. Klick hier um den Beitrag anzuzeigen.',
'TOPIC_SOFT_DELETED' => 'Dieses Thema wurde gelöscht.',
));

Code: Select all

$lang = array_merge($lang, array(
'DELETED_POST_SHOW' => 'Dieser Beitrag wurde weich gelöscht. Klick hier um den Beitrag anzuzeigen.',
'POST_IS_DELETED' => 'Dieser Beitrag wurde von %1$s in %2$s weich gelöscht . Klicke %3$shier%4$s um den Beitrag wieder herzustellen.',
'POST_SHOW_NO_JS' => 'Du musst Javascript aktiviert haben um diesen Beitrag anzuzeigen.',
));


I've made all the necessary corrections::

Code: Select all

'acl_f_delete' => array('lang' => 'Kann eigene Beiträge weich löschen', 'cat' => 'actions'),

Code: Select all

'acl_m_delete' => array('lang' => 'Kann Beiträge weich löschen', 'cat' => 'post_actions'),
'acl_m_harddelete' => array('lang' => 'Kann Beiträge hard löschen', 'cat' => 'post_actions'),

Code: Select all

$lang = array_merge($lang, array(
'DELETED_POST_SHOW' => 'Dieser Beitrag wurde weich gelöscht. Klick hier um den Beitrag anzuzeigen.',
'TOPIC_SOFT_DELETED' => 'Dieses Thema wurde gelöscht.',
));

Code: Select all

$lang = array_merge($lang, array(
'DELETED_POST_SHOW' => 'Dieser Beitrag wurde weich gelöscht. Klick hier um den Beitrag anzuzeigen.',
'POST_IS_DELETED' => 'Dieser Beitrag wurde von %1$s in %2$s weich gelöscht . Klicke %3$shier%4$s um den Beitrag wieder herzustellen.',
'POST_SHOW_NO_JS' => 'Du muBt Javascript aktiviert um diesen Beitrag anzuzeigen haben .',
));


B = Esset
I can translate German in both directions:
German to English
English to German
If you want a translation, drop me a PM.

GregorK
Registered User
Posts: 7
Joined: Thu Aug 19, 2004 12:01 pm

Re: Soft Delete

Postby GregorK » Tue Feb 12, 2008 10:24 pm

I'm actually not very sure why you would write the german word 'hart' with a d at the end...??
well...

If you like to have the other translation from the soft_delete.php and info_mcp_soft_delete.php language file just drop me a message.

goethe
Registered User
Posts: 162
Joined: Fri May 11, 2007 8:26 pm

Re: Soft Delete

Postby goethe » Wed Feb 13, 2008 11:37 pm

GregorK wrote:I'm actually not very sure why you would write the german word 'hart' with a d at the end...??
well...

If you like to have the other translation from the soft_delete.php and info_mcp_soft_delete.php language file just drop me a message.


You online-translated didn't you. :|

hart = hard as in knock, knok (like hard-tack candy)
hard = hard copy

so: Sie Koennen Beiträge hart löschen. (Formally, since we don't necessarily know these people. They probably are not casual friends with the phpBB interface.)
means: You can delete a hard copy of your contributions.

German is a very contextual language. I'm a member of the German National Honor Society Alpha Epselon ***, my translation is highly accurate. ;)

Your translation was very good, Gregork, but there are some things that don't seem right to me and yet that is just how they are. I keep trying to get Frau to let us re-invent the German language but she won't have it. "What would be the fun in that...?" She says.

Ooooooooooh! Crap! I forgot formalities!

Here are German translations:

I've made ALL the necessary corrections:: (it should be near perfect now. :D )

Code: Select all

'acl_f_delete' => array('lang' => 'Sie koennen eigene Beiträge weich löschen', 'cat' => 'actions'),

Code: Select all

'acl_m_delete' => array('lang' => 'Sie koennen Beiträge weich löschen', 'cat' => 'post_actions'),
'acl_m_harddelete' => array('lang' => 'Sie koennen Beiträge hard löschen', 'cat' => 'post_actions'),

Code: Select all

$lang = array_merge($lang, array(
'DELETED_POST_SHOW' => 'Dieser Beitrag wurde weich gelöscht. Klick hier um den Beitrag anzuzeigen.',
'TOPIC_SOFT_DELETED' => 'Dieses Thema wurde gelöscht.',
));

Code: Select all

$lang = array_merge($lang, array(
'DELETED_POST_SHOW' => 'Dieser Beitrag wurde weich gelöscht. Klick hier um den Beitrag anzuzeigen.',
'POST_IS_DELETED' => 'Dieser Beitrag wurde von %1$s in %2$s weich gelöscht . Klicke %3$shier%4$s um den Beitrag wieder herzustellen.',
'POST_SHOW_NO_JS' => 'Du muBt Javascript aktiviert um diesen Beitrag anzuzeigen haben .',
));


B = Esset[/quote]
I can translate German in both directions:
German to English
English to German
If you want a translation, drop me a PM.

User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: Soft Delete

Postby EXreaction » Thu Feb 14, 2008 2:35 am

I would like to keep this topic more for support for the Soft Delete Mod. If possible could you two continue the discussion in PM's until you decide on something final? :)

goethe
Registered User
Posts: 162
Joined: Fri May 11, 2007 8:26 pm

Re: Soft Delete

Postby goethe » Thu Feb 14, 2008 10:45 pm

Sure. Sorry to er, ah, interrupt.


Edit:

Here is finished translation. You may need to edit the finds and replaces. :oops:
View File
I can translate German in both directions:
German to English
English to German
If you want a translation, drop me a PM.

Pseudonym
Registered User
Posts: 173
Joined: Mon Jan 26, 2004 8:37 am

Re: Soft Delete

Postby Pseudonym » Sat Feb 16, 2008 1:58 am

EXreaction, many thanks for this excellent mod. I've always thought a soft-delete option is a much better system than an unforgiving hard-delete.

Have you considered adding any other features to this mod? With a little tweaking, it could become THE essential tool for phpbb3 moderators.

Here's how I think it could work...
When a moderator edits someone elses post, it automatically copies and soft-deletes a snapshot of the original post. That way, an archive of the unedited post is kept for reference. You'd just need to add a new column to record who deleted it.

I'd be very keen to help you develop this. I'm a good-but-not-expert php programmer (I did release one mod for phpbb2) and I'm not yet familiar with the inner workings of phpbb3. Still, if there's anything I can do, I'm happy to help.

Let me know what you think. :)

User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: Soft Delete

Postby EXreaction » Sat Feb 16, 2008 2:06 am

That would be a different mod. This mod is already larger than I like.

User avatar
primehalo
Former Team Member
Posts: 2698
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: Soft Delete

Postby primehalo » Sat Feb 16, 2008 7:54 pm

Pseudonym wrote:EXreaction, many thanks for this excellent mod. I've always thought a soft-delete option is a much better system than an unforgiving hard-delete.

Have you considered adding any other features to this mod? With a little tweaking, it could become THE essential tool for phpbb3 moderators.

Here's how I think it could work...
When a moderator edits someone elses post, it automatically copies and soft-deletes a snapshot of the original post. That way, an archive of the unedited post is kept for reference. You'd just need to add a new column to record who deleted it.

I'd be very keen to help you develop this. I'm a good-but-not-expert php programmer (I did release one mod for phpbb2) and I'm not yet familiar with the inner workings of phpbb3. Still, if there's anything I can do, I'm happy to help.

Let me know what you think. :)

Prime Post Revisions should do that.

EXreaction wrote:That would be a different mod. This mod is already larger than I like.

I hear what your saying. My Trash Bin MOD also grew way bigger than I would have liked. I'm especially disatisfied with all the template modifications it requires. Still trying to think up a way around that....
Ken F. Innes IV
My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!


Return to “[3.0.x] MOD Database Releases”

Who is online

Users browsing this forum: No registered users and 9 guests