[MODDB] Prime Trash Bin - Keep deleted topics & posts

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm
Location: Mainz, Germany
Name: Dukagjin Surdulli
Contact:

Re: [BETA] Prime Trash Bin - Keep deleted topics & posts

Post by Dugi » Sun Aug 29, 2010 11:27 am

Everything seems to be dead, including the demo board etc. Any way of getting the MOD online? I'd like to download it. Thank you.
PM me for custom extension pricing / My validated MODs / My MODs in development

AleksAnders
Registered User
Posts: 5
Joined: Thu Jun 24, 2010 1:44 pm

Re: [BETA] Prime Trash Bin - Keep deleted topics & posts

Post by AleksAnders » Thu Sep 16, 2010 9:35 am

primehalo wrote:You can't, posts stay in their topics. Only topics can be set to be automatically moved to the Trash forum
Yes, posts stay in the topic. And there is a wrong information about the last message in the topiclist if I delete last post (not permanently)... :(

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

Re: [BETA] Prime Trash Bin - Keep deleted topics & posts

Post by primehalo » Fri Sep 17, 2010 11:47 pm

AleksAnders wrote:In the topic list there is always the date and a link to the last post. But if the last post is deleted, the forum still shows information about the deleted message (date, author) and the topic is not marked as read (of course if you do not delete the message permanently).. :(

Can you tell me please how to make that the information about the last post would be taken from the last existing post in the topic, but not deleted?

Thanks.
AleksAnders wrote:And there is a wrong information about the last message in the topiclist if I delete last post (not permanently)... :(
That should have been fixed awhile ago. I just installed the MOD on a fresh board using AutoMOD. I tried various combination of fake-deleting the last post, and the LAST POST information shown on the forum list was always updated, correctly showing information about the most recent non-fake-deleted post.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

capitocapito
Registered User
Posts: 1
Joined: Tue Sep 21, 2010 10:01 pm

Re: [BETA] Prime Trash Bin - Keep deleted topics & posts

Post by capitocapito » Tue Sep 21, 2010 10:06 pm

How hard would it be to have an option to take deleted posts and split them into the trash bin forum? That would be great as an option, and I would prefer that function over the current method (just for archival purposes).

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

Re: [BETA] Prime Trash Bin - Keep deleted topics & posts

Post by primehalo » Wed Sep 22, 2010 12:21 am

I know a few people have requested this feature, but unfortunately I currently have no plans to add new features to this MOD. I am unsure how difficult it would be, though the board has the ability to split posts out into a new topic so theoretically it should be possible to implement without adding a whole lot of new code. I just don't really want to spend my free time doing that.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

pebumen
Registered User
Posts: 137
Joined: Tue Apr 20, 2010 3:50 pm
Location: Poland

Re: [BETA] Prime Trash Bin - Keep deleted topics & posts

Post by pebumen » Fri Oct 01, 2010 6:37 am

how to make hidden posts look this:
SCREEN 1:
http://i53.tinypic.com/t6t1ew.jpg

in paint edit:
SCREEN 2:
http://i51.tinypic.com/2wn4gb8.jpg

please help me


Polish translation (pl):
http://www.przeklej.pl/plik/pl-rar-0021fg82v4cg2j6

to download - click on Image

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

Re: [BETA] Prime Trash Bin - Keep deleted topics & posts

Post by primehalo » Fri Oct 01, 2010 6:41 pm

Open includes/prime_trash_bin.php and find this line:

Code: Select all

    define('MINIMIZE_DELETED_POST', true);        // Show the bare minimum? (Otherwise, show everything but the actual message.)    
Change true to false.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

User avatar
AHTEPO
Registered User
Posts: 37
Joined: Fri Feb 08, 2008 7:00 pm
Location: Russia, KRD

Re: [BETA] Prime Trash Bin - Keep deleted topics & posts

Post by AHTEPO » Sun Oct 10, 2010 8:54 am

Hello Primehalo!
When your great mod will work with the standard auto-pruning feature of the forum? ;)

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

Re: [BETA] Prime Trash Bin - Keep deleted topics & posts

Post by primehalo » Mon Oct 11, 2010 8:06 am

It should, as fake-deleted topics and posts are still just topics and posts, but then I've never actually tested the auto-prune feature.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

User avatar
AHTEPO
Registered User
Posts: 37
Joined: Fri Feb 08, 2008 7:00 pm
Location: Russia, KRD

Re: [BETA] Prime Trash Bin - Keep deleted topics & posts

Post by AHTEPO » Wed Oct 13, 2010 3:50 pm

Not work, but it actual!

WascallyWabbit
Registered User
Posts: 170
Joined: Sun Mar 16, 2008 1:17 pm
Contact:

Re: [BETA] Prime Trash Bin - Keep deleted topics & posts

Post by WascallyWabbit » Fri Oct 15, 2010 4:01 pm

I just had a strange issue popup. When I delete a post, the full content of the post still shows in the viewtopic. But, after deletion when using the MCP, it shows the what is expected.....the undelete, view deleted, etc...... If I delete the post view viewtopic again, then it permanently deletes it as expected. So, everything is working except it is not showing the post correctly, when using the "fake" delete, in the viewtopic component. But, everywhere else it shows correctly. I have checked the edits and they look ok, not sure what is going on. Any help would be most appreciated.......TIA

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

Re: [BETA] Prime Trash Bin - Keep deleted topics & posts

Post by primehalo » Sat Oct 16, 2010 8:32 am

I would suggest re-checking the edits dealing with viewtopic once again, both the PHP edits and the template edits. Make sure you cleared the cached and refreshed the templates.

In order to do anything else, I'd need a login to your forum so I could try it out myself.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

Avdon
Registered User
Posts: 186
Joined: Tue Jun 02, 2009 4:55 pm
Location: Germany
Name: Danny Alkhaldy

Re: [BETA] Prime Trash Bin - Keep deleted topics & posts

Post by Avdon » Tue Oct 19, 2010 2:06 pm

Users are still able to post new posts, after the deletion of a topic, by using the native quick replay.

tco_tm
Registered User
Posts: 1
Joined: Sun Oct 24, 2010 9:04 pm

Re: [BETA] Prime Trash Bin - Keep deleted topics & posts

Post by tco_tm » Sun Oct 24, 2010 9:29 pm

stanger wrote:Hello prime.
Your MOD is very good,but i have some troubles.
After install MOD and using 'db_install.php' I had the old problem that has been discussed already in this forum. [...]

Permissions --> Permission Roles --> Moderator Roles There i can change if moderators can delete posts completely and if they are able to "undelete" posts or topics. But when i came to this window these options are always at "no", although i change them to "yes".
If I turn: "Can postings delete completely" to "yes" and submit this option, i got this error:

Code: Select all

SQL ERROR [ mysqli ]

Duplicate entry '11-0' for key 1 [1062]

SQL

INSERT INTO phpbb3_acl_roles_data (role_id, auth_option_id, auth_setting) VALUES (11, 32, 1), (11, 34, 1), (11, 0, 1), (11, 35, 1), (11, 40, 1), (11, 0, 1), (11, 31, 1)

BACKTRACE
[...]
please help solve this problem ... :(
I have been facing exactly the same problem for last few hours. :evil:
The solution is to delete cache of acl_roles_data table (it is stored on disk).

The problem is that after installation of this mod, cache does not hold information about new ACL Options (undelete/permanent delete) which are coming from permissions form. The phpBB logic cannot pair names of those options with database entries and is setting its id to "0" - 3rd and 6th row in your query.

When deleting cache make sure that you made it right. On my heavy loaded environment it was impossible to do it without stopping httpd service. This forum says, that acl cache is refreshed with every permission change, user registration and under few other circumstances, but for some reason only manual file deletion purged the cache. :?

primehalo - thanks for this mod! :)

User avatar
Mark1200
I've Been Banned!
Posts: 145
Joined: Mon Jul 19, 2010 9:34 am
Location: The Netherlands
Name: Mark

Re: [BETA] Prime Trash Bin - Keep deleted topics & posts

Post by Mark1200 » Mon Oct 25, 2010 8:27 am

Wow! This MOD is great, i have installed it with AutoMOD and got no problemems. When come it in the modDB?

Locked

Return to “[3.0.x] MODs in Development”