Quote:Make button simelar(or replace) to shcode button that generate this.I didnt do anything other than install the plugin
create a BBCode in editor
ACP -> Plugin settings -> My Insert Buttons -> add the tag
the image is defaulted to youtube, but is linked via the same name as the tag.
The image directory for them is
/var/www/python-forum.io/jscripts/sceditor/myinsertbuttonsand they must be 16px by 16px with a png extension. So my image for shcode tag is shcode.png in there.
And then to link the BBCode tag with the html (i think, not sure) is
ACP -> Configuration -> MyCode
Another option is to compare and contrast the plugin i added for the spoiler BBCode (in which does not have a button). This plugin is just this one file and converts BBCodes to the spoiler tag. But this requires php knowledge.
/var/www/python-forum.io/inc/plugins/hazSpoiler.php
Recommended Tutorials: