Page 1 of 2

[ABD] Move to Trashcan 2.0.5

Posted: Wed Jan 01, 2014 11:20 pm
by Danielx64
Modification Name: Move to Trashcan
Author: Danielx64
Previous Author: Drndos, Kamahl
Modification Description:: This modification adds a "Move to trash" action to Quick-mod tools. Trash forum is defined in ACP - Board Features
Modification Version:: 2.0.5

Requirements: phpBB 3.0.12

Modification Download: http://www.mediafire.com/download/37rpu ... _2_0_5.zip

Based on viewtopic.php?f=434&t=1688865

Re: [RC] Move to Trashcan 2.0.2

Posted: Thu Jan 02, 2014 6:25 pm
by ViolaF
Very good to see the trash again :D

Re: [RC] Move to Trashcan 2.0.2

Posted: Thu Jan 02, 2014 10:42 pm
by Danielx64
ViolaF wrote:Very good to see the trash again :D
Yep and this one is a lite one, been put on a diet :mrgreen:

Also I'm fixing up some more bugs plus I'm planning on adding some permissions so that people can trash their own topics :)

Re: [RC] Move to Trashcan 2.0.3

Posted: Sat Jan 04, 2014 1:32 am
by Danielx64
Updated, link in first post.

Users can now trash own topics and you can now disable the delete topic/post feature so that everything now goes to the trash.

Please note that the new permissions are set to no by default and you will need to set then.

Re: [RC] Move to Trashcan 2.0.3

Posted: Sat Jan 04, 2014 8:12 pm
by Seeeler
Great mod, this looks just what i needed :D
Please confirm if this mod sends PM (Notify Author) on topic Move to Trashcan?
If not, Please add this feature, It will be very good to notify the topic author on their topic deletion.

Re: [RC] Move to Trashcan 2.0.3

Posted: Sun Jan 05, 2014 3:00 pm
by ViolaF
congrats and tks for new version :D

Re: [RC] Move to Trashcan 2.0.3

Posted: Mon Jan 06, 2014 11:41 pm
by Danielx64
Seeeler wrote:Great mod, this looks just what i needed :D
Please confirm if this mod sends PM (Notify Author) on topic Move to Trashcan?
If not, Please add this feature, It will be very good to notify the topic author on their topic deletion.
Hi there,

No this will not let the original author knows that you have trashed the topic. I may write an addon but it will not be in the standard version as I don't want to bloat this mod.

Re: [RC] Move to Trashcan 2.0.3

Posted: Thu Jan 09, 2014 12:26 am
by Danielx64
OK mod have been sent into validation.

Re: [RC] Move to Trashcan 2.0.3

Posted: Mon Jan 20, 2014 3:34 am
by Master_Cylinder
Danielx64 wrote:Users can now trash own topics and you can now disable the delete topic/post feature so that everything now goes to the trash.
That's a very good feature but no screenshots or demo?

Re: [RC] Move to Trashcan 2.0.3

Posted: Mon Jan 20, 2014 5:12 am
by Danielx64
When I get my board up (after fixing it) I will add a demo.

Re: [RC] Move to Trashcan 2.0.3

Posted: Mon Jan 20, 2014 5:31 am
by Master_Cylinder
Danielx64 wrote:When I get my board up (after fixing it) I will add a demo.
OK, I might as well ask then...
If the OP/admin/moderator trashes the first post does it move the whole topic or just the first post, leaving the replies that might look weird?

Re: [RC] Move to Trashcan 2.0.3

Posted: Mon Jan 20, 2014 5:51 am
by Peter77sx
Hello, just wanted to report that I got this error when deleting a topic in the trash forum from the normal delete on topic. No errors deleting topics in trash forum from MCP though.
SQL ERROR [ mysql4 ]

Out of range value for column 'forum_topics_real' at row 1 [1264]

SQL

UPDATE phpbb_forums SET forum_topics_real = forum_topics_real - 1, forum_posts = forum_posts - 1, forum_topics = forum_topics - 1, forum_last_post_id = 0, forum_last_post_subject = '', forum_last_post_time = 0, forum_last_poster_id = 0, forum_last_poster_name = '', forum_last_poster_colour = '' WHERE forum_id = 14

BACKTRACE
everything else is working fine so far.

Re: [RC] Move to Trashcan 2.0.3

Posted: Mon Jan 20, 2014 10:22 am
by Danielx64
Master_Cylinder wrote:
Danielx64 wrote:When I get my board up (after fixing it) I will add a demo.
OK, I might as well ask then...
If the OP/admin/moderator trashes the first post does it move the whole topic or just the first post, leaving the replies that might look weird?
It trash the entire topic.

Re: [RC] Move to Trashcan 2.0.3

Posted: Mon Jan 20, 2014 10:24 am
by Danielx64
Peter77sx wrote:Hello, just wanted to report that I got this error when deleting a topic in the trash forum from the normal delete on topic. No errors deleting topics in trash forum from MCP though.
SQL ERROR [ mysql4 ]

Out of range value for column 'forum_topics_real' at row 1 [1264]

SQL

UPDATE phpbb_forums SET forum_topics_real = forum_topics_real - 1, forum_posts = forum_posts - 1, forum_topics = forum_topics - 1, forum_last_post_id = 0, forum_last_post_subject = '', forum_last_post_time = 0, forum_last_poster_id = 0, forum_last_poster_name = '', forum_last_poster_colour = '' WHERE forum_id = 14

BACKTRACE
everything else is working fine so far.
That's odd, I will need to look into it

Re: [RC] Move to Trashcan 2.0.3

Posted: Mon Jan 20, 2014 10:54 am
by Master_Cylinder
Danielx64 wrote:
Master_Cylinder wrote:OK, I might as well ask then...
If the OP/admin/moderator trashes the first post does it move the whole topic or just the first post, leaving the replies that might look weird?
It trash the entire topic.
Nice. I've been using the Prime Trash Bin which hasn't been updated since Feb, 2011 so I might have to try yours. Can you tell me the biggest differences, if you're familiar with Prime version?