[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!
Ideas Centre
azzurri
Registered User
Posts: 909
Joined: Fri Jul 21, 2006 7:48 pm

Re: [BETA] Prime Recycle Bin (0.1.2a) - Delete Threads To a Foru

Post by azzurri »

I just erased a users post as admin and after this the page got messed up and I got this error messages above the header:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/prime_recycle_bin.php on line 265: Undefined variable: phpbb_root_path
[phpBB Debug] PHP Notice: in file /includes/prime_recycle_bin.php on line 265: Undefined variable: topic_id
[phpBB Debug] PHP Notice: in file /includes/prime_recycle_bin.php on line 266: Undefined variable: phpbb_root_path
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4189: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3699)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4191: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3699)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4192: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3699)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4193: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3699)

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

Re: [BETA] Prime Recycle Bin (0.1.3) - Delete Threads To a Forum

Post by primehalo »

Although I wasn't able to reproduce your error, I found what should have been the problem and fixed it. The new version is 0.1.3. To update, download the new package and simply copy root/includes/prime_recycle_bin.php
to
includes/prime_recycle_bin.php
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

azzurri
Registered User
Posts: 909
Joined: Fri Jul 21, 2006 7:48 pm

Re: [BETA] Prime Recycle Bin (0.1.3) - Delete Threads To a Forum

Post by azzurri »

You are the man! Works great now. Once again, thank you for doing this.

azzurri
Registered User
Posts: 909
Joined: Fri Jul 21, 2006 7:48 pm

Re: [BETA] Prime Recycle Bin (0.1.3) - Delete Threads To a Forum

Post by azzurri »

Damn my post was erased...oh well I'll try again.

As it is now, the author of the erased post is not viewable in viewtopic. Is it meant this way?

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

Re: [BETA] Prime Recycle Bin (0.1.3) - Delete Threads To a Forum

Post by primehalo »

azzurri wrote:Damn my post was erased...oh well I'll try again.

As it is now, the author of the erased post is not viewable in viewtopic. Is it meant this way?
Yes, at least in prosilver. But I believe you can change that by opening viewtopic.php, searching for $postrow['S_IGNORE_POST'] = true;, and replacing true with false. I have not tested this, however.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

azzurri
Registered User
Posts: 909
Joined: Fri Jul 21, 2006 7:48 pm

Re: [BETA] Prime Recycle Bin (0.1.3) - Delete Threads To a Forum

Post by azzurri »

Okay. I love this mod more and more. It is a must have for all admins!

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

Re: [BETA] Prime Recycle Bin (0.1.4) - Delete Threads To a Forum

Post by primehalo »

Version 0.1.4 is now available, and is compatible with Prime Topic Moved Info. You'll need to update Prime Topic Moved Info as well. Update instructions are included in the "contrib" folder.

The Prime Topic Moved Info MOD will provide the ability to add a reason for deleting a topic, as well as a link to un-delete the topic.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

azzurri
Registered User
Posts: 909
Joined: Fri Jul 21, 2006 7:48 pm

Re: [BETA] Prime Recycle Bin (0.1.4) - Delete Threads To a Forum

Post by azzurri »

Is it possible to make it so that moderators cannot delete a post permanently, like regular users, in case you come across an evil moderator who wishes to sabotage your forum. Would be great if only admin could permanently erase the posts. The topics on the other hand are all saved in the bin so thats cool.

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

Re: [BETA] Prime Recycle Bin (0.1.4) - Delete Threads To a Forum

Post by primehalo »

azzurri wrote:Is it possible to make it so that moderators cannot delete a post permanently, like regular users, in case you come across an evil moderator who wishes to sabotage your forum. Would be great if only admin could permanently erase the posts. The topics on the other hand are all saved in the bin so thats cool.
You set up the permissions. Those users who have permission to delete in the Recycle Bin forum have permission to permanently delete posts, so if you don't want moderators to be able to permanently delete then don't give them permission to delete anything in the Recycle Bin forum.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

azzurri
Registered User
Posts: 909
Joined: Fri Jul 21, 2006 7:48 pm

Re: [BETA] Prime Recycle Bin (0.1.4) - Delete Threads To a Forum

Post by azzurri »

But single posts never reach the recycle bin forum, only threads right? So can you still set up this permission for moderators and posts? I dont know how, and also I dont want my moderators to see or know about the recycle bin (which I have managed), is this still possible while creating this permission?

User avatar
playerfr
Registered User
Posts: 851
Joined: Fri Jul 18, 2003 9:50 am
Location: France - Paris

Re: [BETA] Prime Recycle Bin (0.1.4) - Delete Threads To a Forum

Post by playerfr »

Evil Moderators :shock: lolzzzz :lol:

primehalo you are greate Moder :geek: , your mods get so much fast porgress and support. If everyone was as fast as you we will have Great Mods :D Thanks a lot :)
All kind of help for your Forums / Sites. Installing for you the forum, the Mods, creating Custom Mods : for small fee http://www.phpbbhelpers.com

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

Re: [BETA] Prime Recycle Bin (0.1.4) - Delete Threads To a Forum

Post by primehalo »

azzurri wrote:But single posts never reach the recycle bin forum, only threads right? So can you still set up this permission for moderators and posts? I dont know how, and also I dont want my moderators to see or know about the recycle bin (which I have managed), is this still possible while creating this permission?
Individual posts don't go to the Recycle Bin, but when it comes to permanently deleting them then they use the same permissions as the Recycle Bin. I did it that way because it seemed logical; if someone has permission to permanently delete a thread from the Recycle Bin then they should probably have permission to permanently delete a post no matter where it is. If you don't give anyone permission to view the Recycle Bin then nobody will be able to permanently delete posts. I believe there are other threads around these forums that discuss setting permissions.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

izstas
Registered User
Posts: 24
Joined: Thu Aug 02, 2007 4:08 pm
Location: RU
Contact:

Re: [BETA] Prime Recycle Bin (0.1.4) - Delete Threads To a Forum

Post by izstas »

Hello!
I would like to have possibility to switch off function of "incomplete" removal of posts. It is possible? :)

P.S. Use translator :)

Original Russian text:

Здравствуйте! Мне бы хотелось иметь возможность выключать функцию "неполного" удаления сообщений. Можно? :)
Sorry for my bad English ;)

azzurri
Registered User
Posts: 909
Joined: Fri Jul 21, 2006 7:48 pm

Re: [BETA] Prime Recycle Bin (0.1.4) - Delete Threads To a Forum

Post by azzurri »

But my moderators cant see the recycle bin, yet they can permanently delete posts. I just tried it myself.

User avatar
playerfr
Registered User
Posts: 851
Joined: Fri Jul 18, 2003 9:50 am
Location: France - Paris

Re: [BETA] Prime Recycle Bin (0.1.4) - Delete Threads To a Forum

Post by playerfr »

azzurri wrote:But my moderators cant see the recycle bin, yet they can permanently delete posts. I just tried it myself.
Not able to see or not able to delete is to different things, are they allowed to not delete post in that recycle bin ? check that ;)
All kind of help for your Forums / Sites. Installing for you the forum, the Mods, creating Custom Mods : for small fee http://www.phpbbhelpers.com

Locked

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