MyBB Community Forums

Full Version: Smiley Sign MyCode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I've seen this mycode used on other sites and thought it would be fun to use it on my own site.

Title: Smiley Sign
Description: Place your text inside a smiley sign
Regular Expression:
\[smiley\](.*?)\[/smiley\]
Replacement:
<table width="108" border="0" cellspacing="0">
<tr>
<td width="110" align="center"><img src="/images/top.gif"/></td>
<table width="120" border="2" cellspacing="0" background="#FFFFFF">
<td width="110" align="center" bordercolor="black"><strong><span style="font-size: 10pt">$1</strong></span></td>
</tr>
</table>
<table width="110"><img src="/images/smilie.gif"/>
</tr>
</table>

How to use:
[smiley]Your Text Here[/smiley]
Result: [attachment=14087]

Upload images to "/images" directory
[attachment=14105]
That's pretty cool Toungue
Does everybody have the smiley?
(2009-06-03, 10:00 PM)Pirata Nervo Wrote: [ -> ]Does everybody have the smiley?

I don't... I tried it and all I get is a box with text but no smiley.

Cheers,
Gene
Probably because you're missing the images that it's trying to load Toungue
That's nice thanks! Big Grin
(2009-06-03, 10:08 PM)MattRogowski Wrote: [ -> ]Probably because you're missing the images that it's trying to load Toungue

Hi Matt,

I assumed as much so would you be kind enough to attach them to a post?

Cheers,
Gene
That's good job
xD That's an awesome code!
Gordie, can you upload the smiley plis?
Pages: 1 2 3