PDA

View Full Version : habLetters // Turn text into Habbo letter thingies.



lolwut
09-08-2007, 08:25 PM
Well yeah, title's got it all in.

Just a 30 line PHP script to turn a user provided variable into a bunch of cool letters, like a Habbo text generator thing.
Currently only got the Lido Style font on it because I wasn't bothered enough...

If you don't know what the Lido font is, then;
http://h4bb0.freehostia.com/habletters/Lido/a.gif
http://h4bb0.freehostia.com/habletters/Lido/b.gif
http://h4bb0.freehostia.com/habletters/Lido/c.gifIf they don't load, that's my fault, try the script out.

In the future I intent to provide the code to copy it to websites and forums.
Like;
Copy this code to get the images to show on a forum: theirurl[IMG]
But that's only if I'm really bored and I doubt it'd be used much anyway?

And I definatley intent to release a whole bunch more fonts.
All I need to do is upload them and add a drop down box to select the font and change that into a variable thingy to make it change URL font thingies... Argh I've lost myself.

[I] v1.0 Released if people tell me if they like it or not, and please, be constructive with criticism.

Fonts need to be hosted by you, and don't worrry, there's a config.php page which is the only bit you need to edit.

Puhleeese note: I know HabboMeadow and a few other places have the exact same script (pretty much) and I didn't take it or anything.
I coded it myself when a friend suggested it would be a good idea for my Habbo site.


http://h4bb0.freehostia.com/habletters/index.php

Sunny.
09-08-2007, 08:59 PM
Looks like you hvnt uploaded the images.

Aflux
09-08-2007, 09:03 PM
Yup, it doesn't work.

Invent
09-08-2007, 09:08 PM
The exact script to do this was released not that long ago :P

lolwut
09-08-2007, 09:18 PM
Okay thanks all.
I'm aware of bugs.

I'll try to fix now. :P

Thanks again

Invent
09-08-2007, 09:20 PM
"http://h4bb0.freehostia.com/habLetters/Lido/d.gif" - 404

lolwut
09-08-2007, 09:53 PM
Oooo... I see now.
It's because the server is really sensitive to the way I typed the URL.
I was telling it to go to x/habLetters/x and the folder was actually x/habletters/x

I've fixed it now.

See if it works please guys?

http://h4bb0.freehostia.com/habletters/

Btw I've also fixed the bug where if you pressed Try Again on the second page it'd take you to a 404, same problem as above.
Fixed now.

lolwut
09-08-2007, 10:03 PM
Btw, Invent, +Rep for helping<3

Edited by Mattps22004 (Forum Moderator): Please do not double post. Please edit your previous post.

Sunny.
10-08-2007, 10:17 AM
Works fine :)

Scania
10-08-2007, 06:20 PM
Looks nice, well done.

Want to hide these adverts? Register an account for free!