Only some Custom BBCodes to native QRInstructionopenstyles/prosilver/template/quickreply_editor.html
findCode:
onload_functions.push('init_qr();');
</script>
after addCode:
<script type="text/javascript">
var form_name = 'qr';
var text_name = 'message';
</script>
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/editor.js"></script>
find (the second find)
Code:
<form method="post" action="{U_QR_ACTION}">
replace withCode:
<form name="qr" method="post" action="{U_QR_ACTION}">
find Code:
<dd><input type="text" name="subject" id="subject" size="45" maxlength="64" tabindex="2" value="{SUBJECT}" class="inputbox autowidth" /></dd>
replace withCode:
<dd><input type="text" name="subject" id="subject" size="45" maxlength="64" tabindex="2" value="{SUBJECT}" class="inputbox autowidth" />
<input type="button" class="button2" value="youtube" onclick="bbfontstyle('[youtube]', '[/youtube]');" /></dd>
clear all caches
This example you can expand with more bbcode.
Just follow the syntax in the last
replace with and duplicate this part:
Code:
<input type="button" class="button2" value="youtube" onclick="bbfontstyle('[youtube]', '[/youtube]');" />
and change bbcode name here
Code:
value="youtube"
Code:
'[youtube]', '[/youtube]'