Here you go.
Code:
In vbcode_language.js find
----------
php_text = "Insert text with PHP syntax highlighting";
----------
After that add
----------
disable_text = "Insert DISABLE vBcode tag into your message";
----------
In vbcode_buttons template find
----------
<input type="button" class="bginput" value="PHP" title="PHP CODE" onclick="vbcode(this.form,'PHP','')" onmouseover="stat('php')">
----------
After that add
----------
<input type="button" class="bginput" value="DISABLE" title="DISABLE VBCODE" onclick="vbcode(this.form,'DISABLE','')" onmouseover="stat('disable')">
--------
Quote:
Originally posted by afterlab
Very useful hack, but how can I go about adding a button along with the others up top (when posting and private messaging) to use this "disable" code.
Thanks for the great hack, FireFly.
|