BBCode toolbar

Posted Mar 6th, 2009 by Rich

I’m using PunBB 1.3 for the Irish Discworld Convention I decided to install the official toolbar, which you can see in use on that site, for adding bbcode to posts. If you test it out you can see that it doesn’t function as well as it could. It is also still present if javascript is not enabled. Not good.

So I set about trying to create a BBCode toolbar that is inserted unobtrusively, and is only there and functional if javascript is enabled. My starting point was to revisit the markdown toolbar I created some years ago. It needed a few changes and additions, and considering how bad my javascript skills are, I rehashed available code. This was far easier than trying to code from scratch – especially for the additional things I wanted added in.

3 days later I’ve finally managed to release a demo over on quirm.net.

With some changes to the necessary php scripts I would hope that this could be ported over to other forums fairly easily.


Be the first to comment on this post.


Leave a Reply

Enter Your Details:


You may write the following basic XHTML Strict in your comments:
<a href="" title=""></a> · <acronym title=""></acronym> · <abbr title=""></abbr>
<blockquote cite=""></blockquote> · <code></code> · <strong></strong> · <em></em>

  • If you’re a first-time commenter, your response will be moderated.
  • If your response includes a link, it will require moderator approval.
Enter Your Comments:

Comments will be sent to the moderation queue.