2009-08-23, 03:38 PM
Its a simple thing that i took from http://www.phpbb3bbcodes.com/ and tweeked a little to make it work with mybb i don't know if any one already did this but i did a search and it didn't find it so HAHA Im kinda new at this so if you guys have any suggestions please do say so.
Title:
Short description:
Regular expression:
Replacement:
It will come out looking like [attachment=15107]
Like i said im new at this so i would love some comments
Title:
think bubble
Short description:
Put some text into a bubble with a thinking dude
Regular expression:
\[think\](.*?)\[/think\]
Replacement:
<table border="0" cellpadding="0" cellspacing="0"><tr><td style="margin: 0;padding: 0;border: 0;"><div style=" background-color: #FFEBD5;color: #000000; -moz-border-radius: 16px; -webkit-border-radius: 16px; border: 1px solid #FFFFFF; padding: 4px;font-size: 1em;" >
$1 </div><img src="http://www.phpbb3bbcodes.com/images/think.gif" alt="" /></td></tr></table>
It will come out looking like [attachment=15107]
Like i said im new at this so i would love some comments