Yep, you're right. I just took the permission-to-delete code from inside viewtopic.php:playerfr wrote: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 thatazzurri wrote:But my moderators cant see the recycle bin, yet they can permanently delete posts. I just tried it myself.
Code: Select all
$topic_mod .= ($auth->acl_get('m_delete', $forum_id)) ? '<option value="delete_topic">' . $user->lang['DELETE_TOPIC'] . '</option>' : '';
Code: Select all
$auth->acl_get('f_delete', $forum_id) && $auth->acl_get('m_delete', $forum_id)
I will do my best to understand. If somebody understand Russian and English, please help.izstas wrote: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:
Здравствуйте! Мне бы хотелось иметь возможность выключать функцию "неполного" удаления сообщений. Можно?
Code: Select all
function recycle_post($post_id, $user_id)
{
Code: Select all
return(false);
Does your moderator have any special permissions, are they just a standard Global Moderator? Did you make sure to do both parts of the update, copy the new include file and alter that one line in "posting.php"?azzurri wrote:Hmm, I ran the update, but my moderator could still delete a post permanently.
I have non of these problems so Im guessing it must be your server or something.DJ Skitzo wrote:Hi,
I have installed this mod and everything seems to work fine apart from 2 things.
I cannot delete threads from the moderator control panel, I just get a white page, I'm pretty sure its trying to process an error but my server is configured not to display errors and I cannot change this. Secondly, if im in viewtopic and try to delete the thread using the quick mod drop down menu I get an error sayin quick mod cannot process this but it lets me delete individual posts
Okay, try this and see if it works. Open "includes/prime_recycle_bin.php" and find the line that containsazzurri wrote:Like you said, the permission system in phpbb3 is confusing, but as far as I know this user only has the global moderator rights. I just put a regular user in the global moderator group.
Yes I did do the one line update and uploaded the file to includes folder which replaced the old file.
Code: Select all
$permission = (($auth->acl_get('f_delete', get_recycle_bin())
Code: Select all
$permission = $permission && $auth->acl_gets('f_read', 'f_list', get_recycle_bin());
Damn... well, I'll look into it.DJ Skitzo wrote:Hi,
I have installed this mod and everything seems to work fine apart from 2 things.
I cannot delete threads from the moderator control panel, I just get a white page, I'm pretty sure its trying to process an error but my server is configured not to display errors and I cannot change this. Secondly, if im in viewtopic and try to delete the thread using the quick mod drop down menu I get an error sayin quick mod cannot process this but it lets me delete individual posts
Code: Select all
Parse error: syntax error, unexpected T_VARIABLE in /home/web27612/domains/mysite.com/public_html/forum/includes/prime_recycle_bin.php on line 102
Sorry, there should be a semi-colon at the end of that line I told you to add.azzurri wrote:primehalo I got:
Code: Select all
Parse error: syntax error, unexpected T_VARIABLE in /home/web27612/domains/mysite.com/public_html/forum/includes/prime_recycle_bin.php on line 102
Code: Select all
Parse error: syntax error, unexpected T_VARIABLE in /home/web27612/domains/mysite.com/public_html/forum/includes/prime_recycle_bin.php on line 102