PDA

View Full Version : Disable editor for select usergroups?


Reclusion
05-11-2015, 11:05 AM
Hey

I've been nodding my Vbulletin, but currently stuck as I want to only allow the WYSIWYG editor to only be used by selected usergroup Ids, since I can't see an option in default Vbulletin.

Any help is appreciated..

Thanks!

QSTR
05-11-2015, 02:08 PM
You can try to overwrite some options in:
vBulletinHook::fetch_hook('editor_construct')
like:

$this->setToolbar()
$this->editor_type()


But I think, just setToolbar will do the job.
If user it not in your special group, set it to 0.

Try it.