Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2018-06-17 23:22:15

blabla
Member
Registered: 2018-05-30
Posts: 5

Moderator delete

Hello, is it possible to hide the link delete a post from moderators?
I want only the admin to delete a post.

Thanks

Last edited by blabla (2018-06-17 23:22:57)

Offline

#2 2018-06-18 02:05:57

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,171
Website

Re: Moderator delete

Administration -> User groups -> edit Moderators -> Delete posts = NO

Offline

#3 2018-06-18 10:44:33

blabla
Member
Registered: 2018-05-30
Posts: 5

Re: Moderator delete

I know but when :
"Allow users in this group to delete their own messages" is checked NO and,
"Allow users in this group to delete their own discussions (and any responses)" is checked NO

the moderator can still delete his own posts if he moderates the forum
It can also delete those of others.

I want the moderator can never delete his posts and those of others even if he moderates the forum only edit, post, report and quote.

Last edited by blabla (2018-06-18 10:45:43)

Offline

#4 2018-06-19 20:14:00

blabla
Member
Registered: 2018-05-30
Posts: 5

Re: Moderator delete

Finally I find a solution and it's work for me!!!

Delete in Viewtopic line 325

$post_actions[] = '<li class="postdelete"><span><a href="delete.php?id='.$cur_post['id'].'">'.$lang_topic['Delete'].'</a></span></li>';

Modify in moderate line 150

<p class="buttons"><?php if ($pun_user['g_id'] == PUN_ADMIN) { ?><input type="submit" name="delete_posts_comply" value="<?php echo $lang_misc['Delete'] ?>"<?php echo $button_status ?> /><?php } ?>

Modify in moderate line 758

<p class="buttons"><?php if ($pun_user['g_id'] == PUN_ADMIN) { ?><input type="submit" name="delete_topics_comply" value="<?php echo $lang_misc['Delete'] ?>"<?php echo $button_status ?> /><?php } ?>

Offline

Board footer

Powered by FluxBB