MyBB Community Forums
Annoying Paperclip Speech Bubble - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: MyCodes (https://community.mybb.com/forum-117.html)
+--- Thread: Annoying Paperclip Speech Bubble (/thread-62893.html)



Annoying Paperclip Speech Bubble - punked - 2010-01-10

Using the Smiley Sign as inspiration I set on making my own Mycode and here it is

Title: Annoying Paperclip
Description: Place your text inside a speech bubble from the annoying paperclip

Regular Expression:
\[clip\](.*?)\[/clip\]

Replacement:
<table width="169" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><img src="images/cliptop.gif" /></td>
  </tr>
  <tr>
    <td background="images/clipmiddle.gif" align="center"><span style="font-size: 9pt">$1</strong></span></td>
  </tr>
  <tr>
    <td><img src="images/clipbottom.gif" /></td>
  </tr>
  <tr>
    <td><img src="images/clipbottomarrow.gif" /></td>
  </tr>
  <tr>
    <td><img src="images/clip.gif" /></td>
  </tr>
</table>

Upload all attached images to your forum 'images' directory

How to use:
[clip]I'm that silly annoying paperclip[/clip]

Result:
[Image: paperclip.jpg]


RE: Annoying Paperclip Speech Bubble - Bob Jansen - 2010-01-10

Haha this is the most pointless but coolest Mycode ever.


RE: Annoying Paperclip Speech Bubble - Lo. - 2010-01-11

(2010-01-10, 02:03 AM)Zomaian Wrote: Haha this is the most pointless but coolest Mycode ever.

I agree!


RE: Annoying Paperclip Speech Bubble - Elegant Totality - 2010-01-11

I love it! ^_^ It's fun


RE: Annoying Paperclip Speech Bubble - Disturbed - 2010-01-21

Funny code!

I added a little animation to the eyes:

[Image: clip.gif]


RE: Annoying Paperclip Speech Bubble - Fluid Mantis - 2010-03-14

This is great and I've created a modded version of it to show my own animation. However, it has a problem on different themes. The text in the bubble defaults to the theme's text colour. I want to make it a fixed colour so it blends well in light and dark themes. How can I set a colour for the text?


RE: Annoying Paperclip Speech Bubble - ladyunicornejg - 2010-03-14

ROFL! I had to add this to my site just for the fun of it - maybe I'll get people talking or even just playing with it...

Quote:I want to make it a fixed colour so it blends well in light and dark themes. How can I set a colour for the text?
Try this code instead (for the replacement):
<table width="169" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><img src="images/cliptop.gif" /></td>
  </tr>
  <tr>
    <td background="images/clipmiddle.gif" align="center"><span style="font-size: 9pt; color: #000000">$1</strong></span></td>
  </tr>
  <tr>
    <td><img src="images/clipbottom.gif" /></td>
  </tr>
  <tr>
    <td><img src="images/clipbottomarrow.gif" /></td>
  </tr>
  <tr>
    <td><img src="images/clip.gif" /></td>
  </tr>
</table>

That should make it stay black. Basically, just add "color:" and then your color in the span style code (but you have to include a ; between the font size and the color).


RE: Annoying Paperclip Speech Bubble - Fluid Mantis - 2010-03-14

I thought it was something like that but I couldn't get it right. I'm not very good when it comes to web coding! Thanks a lot for this.


RE: Annoying Paperclip Speech Bubble - User 26345 - 2010-03-14

Thanks punked Big Grin


RE: Annoying Paperclip Speech Bubble - FBI - 2010-03-15

damn! this what I am looking for.
I am thinking about creating "bubble" theme Smile