Link to the mod (https://custom.simplemachines.org/index.php?mod=4299)
BBCode PermissionsA modification for SMF 2.1 that allows the admin to set permissions for BBCodes. Any standard or custom BBCodes can be given permissions using this mod.
SettingsThere are two settings to control BBCode permissions.
First, the "Restricted BBC" setting allows you to control which BBCodes will require permission to use and which will not.
Then, a separate setting is created for each restricted BBCode that allows you to set the permissions for that BBCode.
LimitationsThis modification cannot be used to remove restrictions from BBCodes that already have them. For example, the
html BBCode is
always restricted by SMF itself, and this modification does not change that.
LicenseBBCode Permissions, © 2021 Jon Stovell, is released under the MIT License. A full copy of this license is included in the package file.
ChangelogVersion 1.1:
- Hides editor buttons for disallowed BBCodes
Version 1.0:
About time this mod became available. Just dloaded it to test since I have custom bbc codes for me (admin).
One issue found...
No permissions given, the user still sees bbc codes in the post editor. When using it, it displays the code like this, [example]example[/example]. Without the output.
Permissions given, using same bbc code, then it displays the intended output.
Yup, they're restricted. Just a heads up.
Thanks, Mick. I'll fix that and post an update as soon as I can.
I've just uploaded v1.1 to fix that bug.
Yay! That's the ticket! :P
All's good. Very very very useful mod.
Excellent. Glad you like it. :)
Quote from: Sesquipedalian on January 31, 2022, 10:05:11 PMExcellent. Glad you like it. :)
We been asking for this for years lol
Awesome! 8)
There is a bug with the url tag: When the user posts a website link without the URL tag it still gets parsed as a link even with url disabled for that usergroup.
It sounds like you have the "Automatically link posted URLs" setting enabled. If that setting is enabled, then all URLs that are not contained within BBCode tags will be automatically linked, even if the url and iurl BBCodes are restricted or disabled. So if you want to restrict access to the url and iurl BBCodes, you should also disable that setting.