PDA

View Full Version : Radio stats in an image



Recursion
17-03-2006, 02:37 PM
http://habtouch.roxr.com/habbostyleRADIO.gif

How would I put the stats in this image??

Thanks,
:.:Numark:.:

nets
17-03-2006, 02:42 PM
If you're going to copy my signature, atleast don't make it look crap.
Anyway I'm assuming you want to use PHP, so I suggest making a radio stats script then writeing the stats to the image with the GD (http://www.boutell.com/gd/) functions.


You can learn about using PHP with GD at: http://uk.php.net/gd

Recursion
17-03-2006, 02:58 PM
Well then sorry for using your sig.
Please can I use it?

Jamie.
17-03-2006, 04:00 PM
I'm guessing, its a little bit late too ask him, if you were to ask first :) it sometimes helps, i have no idea about the radiostats i will try find out :)


i think it also says
Copyright of forum habbo im guessing its not really yours.....

Stitch
17-03-2006, 04:30 PM
u jst make diff radio_stats.php files for each box and use iframes.
for example u put the stream title part of radio_stats.php in 1 file and put that as the iframe in ther. I duno if i explained it clearly. lol :P

nets
17-03-2006, 04:38 PM
Please can I use it?
It's just the Habbo console modified; so I didn't really make it anyway.

Recursion
17-03-2006, 04:50 PM
Thanks to everyone!

erm so if I got a radio_stats.php file and just cut the song bit out for the stream title would it still work? and the same for the current song but if I cut out the stream title and past songs?

iNicks
17-03-2006, 05:06 PM
Im thinking you would have to slice it, code it and stuff, you need to know php, html ....

Recursion
17-03-2006, 05:11 PM
this is going to be to hard to be worth it isnt it....

iNicks
17-03-2006, 05:15 PM
I can slice it for you.... and make the html code, thats it though

Recursion
17-03-2006, 05:18 PM
and then all i would have to do is insert it into the website?
Would you do it for free if yes then yes please :D

iNicks
17-03-2006, 05:21 PM
no, i could slice it, then code the layout of the mini player, you would need to find someone to code the rest

Recursion
17-03-2006, 05:28 PM
coding as in putting it into <div> </div> tags?

iNicks
17-03-2006, 05:30 PM
i mean i am going to code the mini player, like the image.... ill slice the image and code the image, you need to find someone to code all the radio things into it tho, and the frames. ill have it done when i get home later.... ill post it

Recursion
17-03-2006, 05:32 PM
ok, thanks ;)
On the image it says (c) forumhabbo but i neede to change it to Hab-Touch cos i recently got forumhabbo.roxr.com changed to habtouch.roxr.com - but code it and ill change it then...

Jamie.
17-03-2006, 08:00 PM
:l i wud be easier changing it first im guessing

nets
17-03-2006, 09:08 PM
You don't need to slice it, I've already explained that you can use GD in PHP. Practically the PHP script opens up the image, edits it how you want and then sends it to the person who requested the image.

Tomm
18-03-2006, 08:00 AM
You could slice it then use file_get_contents to open the radio_stats.php then explode or eregi to filter the data.

Jamie.
18-03-2006, 08:02 AM
You could slice it then use file_get_contents to open the radio_stats.php then explode or eregi to filter the data.
Yash, i see where ure coming from, aint seen u round this section for a while

Tomm
18-03-2006, 08:06 AM
Yash, i see where ure coming from, aint seen u round this section for a while
Lol I dont post as much as I used to since I got World Of Warcraft

Something to stop this being off topic: Its a good idea. If you dont know what to do look on www.php.net (http://www.php.net) for useage of the commands.

Jamie.
18-03-2006, 08:10 AM
Lol I dont post as much as I used to since I got World Of Warcraft

Something to stop this being off topic: Its a good idea. If you dont know what to do look on www.php.net (http://www.php.net) for useage of the commands.
Ok hope to speak again soon :) www.php.net wot he sed, *gets bak on topic* lol

RYANNNNN
18-03-2006, 08:21 AM
hab-worldfm.com (down)
does it with phpgd also..

Tomm
18-03-2006, 08:22 AM
GD it quite complicated for the new user to PHP. So if you are quite new I recomend useing my method. It may be a bit more complicated useing GD buts its alot better :)

Jackboy
18-03-2006, 09:07 AM
Right. You would need to use css for this i think. (FOR POSITIONING)

And then frames as someone said. They are very simple to do.

If push comes to shove PM me and i could do it for you :D


P.S. Im Not watching this topic :P

timROGERS
18-03-2006, 09:09 AM
LMAO at the people that keep saying use iFrames. You can't use an iframe in an image. I would make it for you, but it will take quite a while, and it's now worth it unless I get paid.

You could do a sliced version but from the first post it didn't seem like that's what you wanted. Maybe I'll write a tutorial on it some day :P

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