What do you think, will it okay for you? :3
that solution has XSS vulnerability
I want to prevent spam posts with disabling post setting. Only "Global Moderators" and "administrator" can post topics.
How do I change the setting?
Just select a category you want to apply this restriction to (if you want it to work globally, you can select any category and just copy its settings to all) and remove "create topics" privilege from everyone but Global Moderators.
@oplik0 Thank you!