View Full Version : How can i disable/remove some of the bb codes ?
tijmen_4real
11-01-2008, 09:00 PM
Hi !
We are making a simple forum, not used for codes/scripters. This is why i want to disable the bb codes like php, html and code. Is there a way to do this ? If yes, how do i disable these bb codes ??
Greetz,
Tijmen :cool:
UKBusinessLive
11-02-2008, 10:20 AM
You need to go to AdminCP> Style manager > Your Style > Editor Templates > Editor_Toolbar_ on
and look for the following, which is near the end
<if condition="$show['code_bbcode']">
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_code"><img src="$stylevar[imgdir_editor]/code.gif" width="21" height="20" alt="$vbphrase[wrap_code_tags]" /></div></td>
</if>
<if condition="$show['html_bbcode']">
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_html"><img src="$stylevar[imgdir_editor]/html.gif" width="21" height="20" alt="$vbphrase[wrap_html_tags]" /></div></td>
</if>
<if condition="$show['php_bbcode']">
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_php"><img src="$stylevar[imgdir_editor]/php.gif" width="21" height="20" alt="$vbphrase[wrap_php_tags]" /></div></td>
If you delete this it should take out the Code icons from your editor, You can always replace them at a later date
REMEMBER to copy your Editor_Toolbar_ on code into word or notepad first incase you make a mistake, you be able to cut and paste it back
have fun :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.