MyBB Community Forums

Full Version: [Tutorial] My Permissions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Here is a list of actions we can block using Pirata Nervo's plugin, My Permissions.

You can use this to limit what users, or non-premium users in some cases, can do.

What is still better about this plugins, is that you can block some actions for other plugins, not just MyBB default actions, here the majority are about plugins actions.

How it works.
Block guest from seeing the FORUM/online.php?action=online section.
[attachment=27031]

After installing go to ACP -> My Permissions -> Add

Moderator Actions
Can't do IP searchs
File: modcp.php
Field: action
Value: ipsearch

Can't ban users
File: modcp.php
Field: action
Value: do_banuser

Can't edit profiles
File: modcp.php
Field: action
Value: do_editprofile

New!
Can't delete threads
File: moderation.php
Field: action
Value: deletethread (we need four, "do_deletethread", "multideletethreads", "do_multideletethreads", and this one)

Can't delete posts
File: moderation.php
Field: action
Value: deleteposts (we need four, "do_deleteposts", "multideleteposts", "do_multideleteposts", and this one)

// Thanks Wildcard
File: editpost.php
Field: action
Value: deletepost

Disable custom moderation tools by usergroup
File: moderation.php
Field: action
Value: TID (tool ID, we need to get it from the moderation tools page)

Users Actions
Can't see polls results
File: polls.php
Field: action
Value: showresults

Can't give reputation
File: reputation.php
Field: action
Value: do_add

Can't change password
File: usercp.php
Field: action
Value: do_password

Can't change email
File: usercp.php
Field: action
Value: do_email

Can't edit buddy list
File: usercp.php
Field: action
Value: do_editlists

Can't edit signature
File: usercp.php
Field: action
Value: do_editsig

Plugins Actions
Profile Albums:
Can't create albums
File: usercp.php
Field: action
Value: do_albumscreate

Can't see albums
File: member.php
Field: action
Value: albums

Can't upload images
File: albums.php
Field: action
Value: upload

Can't edit albums
File: albums.php
Field: action
Value: editalbum

Can't delete albums
File: albums.php
Field: action
Value: delete

Can't delete images
File: albums.php
Field: action
Value: deleteimage

Can't edit images
File: albums.php
Field: action
Value: editimage

Can't delete comments
File: albums.php
Field: action
Value: deletecomment

Can't edit comments
File: albums.php
Field: action
Value: editcomment

MyDownloads:
Can't comment downloads
File: comment_download.php
Field: action
Value: do_comment
(then you need to delete the comments table variable from your templates.)

Game Section:
Can't see highter scores in a game
File: games.php
Field: action
Value: scores

Can't see last champions
File: games.php
Field: action
Value: last_champs

Can't see his/her favorite games
File: games.php
Field: action
Value: favourites

Can't delete favorites
File: games.php
Field: action
Value: delete_favourite

Can't see his/her stats
File: games.php
Field: action
Value: stats

Can't save his/her settings
File: games.php
Field: action
Value: do_settings

Can't rate games
File: games.php
Field: action
Value: rate

Profile Image:
Can't upload image
File: usercp.php
Field: action
Value: new_img

Points In Posts:
Can't see achiviements
File: pointshop.php
Field: action
Value: achiviements

Can't buy items
File: pointshop.php
Field: action
Value: do_buy

Can't sell items
File: pointshop.php
Field: action
Value: do_sell

Can't buy username styles
File: pointshop.php
Field: action
Value: customname

Can't buy mysterious items
File: pointshop.php
Field: action
Value: do_mysteriousitem

Can't delete mysterious items
File: pointshop.php
Field: action
Value: do_mysteriousdelete

Can't donate points
File: pointshop.php
Field: action
Value: do_donate

Can't donate items
File: pointshop.php
Field: action
Value: do_donateitem

Thank You/Like System:
Can't give thanks/likes
File: thankyoulike.php
Field: action
Value: add

Can't remove thanks/likes
File: thankyoulike.php
Field: action
Value: del

NewPoints and its plugins:
Can't see stats
File: newpoints.php
Field: action
Value: stats

Can't donate points
File: newpoints.php
Field: action
Value: do_donate

Can't use the bank
File: newpoints.php
Field: action
Value: do_bank

Can't buy items
File: newpoints.php
Field: action
Value: do_shop

Can't buy subscriptions
File: newpoints.php
Field: action
Value: subscribe

Can't buy lottery tickets
File: newpoints.php
Field: action
Value: lottery

Pro Activity by Jazza:
Allowed groups to see activity
File: activity.php
User Groups: Select allowed groups

This plugin will block actions, not hide them, to do that I use Yumi's plugin, Template Conditionals.
Your booth are welcome.
Very nice list looks like a lot of work went into it!
+Rep too.
I have added a new action to disallow comments in the MyDownloads plugin by Pirata Nervo.
Needs to be updated to 1.3 Toungue
Done Smile

Also added three new ones, one to disable the deletion of posts, other one to disable the deletion of threads, and the last to disable custom moderation tools.
This is pretty awesome. Nice work Pirata Nervo for the plugin and Omar G. for the guide.
Indeed the plugin is awesome, it allows you to block almost anything, you just have to search the inputs.

I recall somebody asking for a way to limit custom moderation tools in a group basis, well, here it is! Big Grin
I think 1.3 now allows you to block literally everything Toungue
Very long thread and helpful too. Thanks you bb Omar <3
Pages: 1 2 3 4