MyBB Community Forums

Full Version: Own "mycode" parser + SCEditor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Recently I created for my forum a little plugin that adds some "mycodes". But there's so much trouble with getting it to work that I need your help. 

I'm using two html tags to create image as download link for files, and here is everything okay, parsing is smooth and nothing breaks until... Until I wanted to add this mycode to SCEditor. I added it to work, but how I can block parsing other mycodes? I'm using html "a" and "img" tags and they're automatically converted to url and img mycodes...
use regular expresions to parse your codes to only take your parts of code.