MyBB Community Forums

Full Version: Removing Delete Options
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'd like to remove the following:

- Delete posts from inline post moderation driopdown
- Delete thread/delete selective posts from moderation options dropdown

^ From showthead and member profiles (find all posts/threads)
The button on postbit should remain.

- Delete user from admincp
- Prune/delete users posts from admincp

But only to moderators and secondary admins, my group (4) should still see all these options.
I hope there is a quick way, thanks.
I think you would need to pair up the Template Conditionals plugin with an edit to the moderation dropdown template (don't know the template name at the top of my head)....

Maybe that's an option, I already have template conditions.
There is moderation_deleteposts, I can use an if statement for that perhaps, I'm not sure.
The if statement might be
if $mybb->user['usergroup'] == 4
//display choices
Alright, I've done delete threads/posts in the forum another way, not all I need to do is remove:

Quote:- Delete user from admincp
- Prune/delete users posts from admincp