The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
||||
|
||||
![]()
If your bbCode is defined to have a graphic image, it will only automatically display in the full editor. Furthermore, the button will display for all users. Even if you have advanced permissions to prevent the use, the button still displays.
View this article about adding buttons to the editor: https://vborg.vbsupport.ru/showthread.php?t=97295 You will use a slight modification... The button code for you will change Code:
<if condition="can_moderate(0,'',$bbuserinfo[userid])"> <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_BBCODE"><img src="$stylevar[imgdir_editor]/YOURBUTTONIMAGE" width="21" height="20" alt="$vbphrase[YOURALTPHRASE]" /></div></td> </if> You will also want to edit more than just the editor_toolbar_on template, since this is the full editor. You will also edit postbit_quickedit. Note: If you edit these templates this way, you should remove the image in the bbcode manager that is associated with the bbcode (or else the button will appear 2 times in your full editor). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|