If you wanna put a button u must edit the
smile.class.php File.
By the newest Version of Kunena you must add following code in line 304
Code:
<img class = "fb-bbcode" src="<?php echo KUNENA_LIVEUPLOADEDPATH.'/editor/'; ?>spacer.png" style="cursor: auto;" />
<img class = "fb-bbcode" src="<?php echo KUNENA_LIVEUPLOADEDPATH.'/editor/'; ?>spacer.png" style="cursor: auto;" />
<!--BUTTON [tex]:--><img class = "fb-bbcode" accesskey = "f" name = "tex" alt="TEX-Formeleingabe" onclick = "bbfontstyle('[tex]', '[/tex]');" onmouseover = "javascript:kunenaShowHelp('Öffnet den Bereich TEX für Formeln')" />
<img class = "fb-bbcode" src="<?php echo KUNENA_LIVEUPLOADEDPATH.'/editor/'; ?>spacer.png" style="cursor: auto;" />
<img class = "fb-bbcode" src="<?php echo KUNENA_LIVEUPLOADEDPATH.'/editor/'; ?>spacer.png" style="cursor: auto;" />
Put it (the code above)after the "showvideotag"
Code:
<?php if ($fbConfig->showvideotag) {?>
<span style="white-space:nowrap;">
<a href = "javascript:dE('video');" onmouseover = "javascript:kunenaShowHelp('<?php @print(_KUNENA_EDITOR_HELPLINE_VIDEO);?>')"><img src="<?php echo KUNENA_LIVEUPLOADEDPATH.'/editor/'; ?>film.png" alt="video" /></a>
</span>
<?php } ?>
I'm not an expert in php or html so i don't give you any guarantee that the code is correct.
It would be smart if you add some Editor-Page to your forum cause not everybody will know how the
latex (or tex etc) commands function.
I would be really happy if kunena in a future version - be able to support latex or "tokens"
like in phpbb 3 Forum