The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Remove image button editor
Hello,
I want to use a custom plugin to remove some buttons from the editor. I can remove buttons like: email,link etc. without any problems with the plugin. The only problem is the image button. Somehow I can't seem to remove that button. The plugin is use is: Hook location: editor_toolbar_start Plugin PHP Code $show['img_bbcode'] = false; It's working fine with the plugin php codes like: $show['php_bbcode'] = false; $show['code_bbcode'] = false; $show['url_bbcode'] = false; So the only problem is the image button. Can someone tell me what I'm doing wrong? |
#2
|
|||
|
|||
I don't think you need a plugin at all. Go to Forum Manager and disaollow [IMG] bbcode, forum by forum. As for [php] [html] and [code] you can set that in options > bb code settings
|
#3
|
|||
|
|||
Thanks Nerbert.
Thats a good solution. Problem is I don't want to completely disable the inline images but prefer the upload option. When the option to use the 'url' for the images is not by default in the editor I think the step to upload the images will be easier to make ( for new members). Also in some 'How To's' we use inline images to. When I disable the [IMG]bbcode these images will be gone also? |
#5
|
|||
|
|||
Thanks Nerbert, but I think I will play a bit more with the plugin.
95% of the forum are topics with images, and I don't want to lose them. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|