Editor customization depending on user/group/boardid

Started by HelAu007, January 29, 2021, 09:40:03 AM

Previous topic - Next topic

HelAu007

Hello All
I would like to add different buttons to the editor (editor.js) depending on the user permissions(or group membership) or depending on the board where this thread is.
Any hints how i can implement this would be very nice,
Thanks in advance
Helmut

shadav

as far as I am aware there is no way to assign bbcode to only specific membergroups

you could probably hide the buttons per membergroup but anyone would still be able to manually type the bbcode and use it

Kindred

it could be done by usergroup --   you'd have to recode the BBC array to check permissions

doing it by user is not easily doable under the SMF permissions system -- nor is doing it by board.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: