Category: Shitty Code

 

I actually did something useful?

Posted by Danalyn

I finally got my Title Images module updated.  Imagine that!  Anyway...word-wrapping is here!

I also fixed the stupid bug with ampersands (&) and manual spaces ( ) not converting properly...however, if your titles show weird characters and *not* &#### (where #### is a series of letters and/or numbers), then the problem is not with the module, but with the font - your font probably doesn’t have that character (those lazy font designers).

Download the module here »

Read More »

Posted on: 07.24.2008
Posted in: I'm Effing Smart, Shitty Code

EE Plugin: Encode Email

Posted by Danalyn

Expression Engine’s contact form, by default, encodes the primary email address(es) in the recipients list.  However, for the people who want to allow visitors to select contacts from a dropdown menu (like myself), this meant leaving email addresses exposed to spam bots.

I wrote the first version of this quick and dirty plugin to cloak paypal email addresses on dynamic “buy it now” forms using hex.  When the need for a dynamic contact form recipients presented itself, it took about 30 seconds to convert into this.

Read More »

Posted on: 03.08.2007
Posted in: Shitty Code
Page 1 of 3 pages  1 2 3 >