Think code.
#1
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 Toungue Im kinda new at this so if you guys have any suggestions please do say so.


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;" >&nbsp;
$1&nbsp;</div><img src="http://www.phpbb3bbcodes.com/images/think.gif" alt="" /></td></tr></table>




It will come out looking like    


Like i said im new at this so i would love some comments Big Grin
Reply
#2
You missed something:

\[think\](.*?)\[/think\]
Regards,
Manuel

Don't ask me for support over PM, please.
Reply
#3
Hmmmmm sorry im new... where do i put that? If i put it in example the code doesn't work. Im kinda confused on where to put it.
Reply
#4
Thats the equaiton you put in the ACP i think...
I'm not here often, shoot a PM or whatever if you want my discord.
Reply
#5
haha sorry >< where in the acp? I am in the mycode section right now. Thanks for your help.
Reply
#6
Thats the MyCode Expression...
I'm not here often, shoot a PM or whatever if you want my discord.
Reply
#7
It's mostly the thing you called "Example".
That is the expression MyBB needs to detect that this is a MyCode and to replace it with the replacement.
Regards,
Manuel

Don't ask me for support over PM, please.
Reply
#8
Okie thanks all i figured out what was happening i was using the Easy MyCode and so it didn't do it like that Big Grin but now i disabled that and i will do it like this thanks all Big Grin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)