Hi,
A few days ago, I wanted to do a dynamic signature, which contains my data from 3 websites. I succeded, and this "Big ugly wthe" signature was on my signature for a few days.
But just a day after, I wanted to do a small and not too ugly thing instead, and modify my code so other users might be able to get one.
I got the idea of an userbar. It's a small 350x20 px bar, normaly with a small text, saying for exemple "osu! user".
But here I just did a dynamic userbar, with all needed data, so you and other people can easily see your osu statistics.
I fetch data from http://osu.ppy.sh/pages/include/profile ... u=$id&m=$g (where $id is your osu! user id and $g the gamemode id) and store them in a database.
When the image is called, the site read the data stored in the database, if the data is more than 3 hours old, it reads again on osu! website and, in each case it generate the image.
The image is always generated, nothing more than the police, the empty images and the php pages are on the server.
I'm using a free hosting service which only give 10MB of storage, so regenerate the image from the database is the only solution.
But I think this isn't important to regular users
Here is the url : http://userbar.arnold0.com
The pages are white with black text, no desing, but that's not important, the important is the result, the userbars ^^
So don't mind these white pages, the site is fonctionnal
And the availlable userbars :
Hope you enjoy
PS : If peppy ask me, I may change the time before fetching data again. (Actualy it's 3h).
A few days ago, I wanted to do a dynamic signature, which contains my data from 3 websites. I succeded, and this "Big ugly wthe" signature was on my signature for a few days.
But just a day after, I wanted to do a small and not too ugly thing instead, and modify my code so other users might be able to get one.
I got the idea of an userbar. It's a small 350x20 px bar, normaly with a small text, saying for exemple "osu! user".
But here I just did a dynamic userbar, with all needed data, so you and other people can easily see your osu statistics.
I fetch data from http://osu.ppy.sh/pages/include/profile ... u=$id&m=$g (where $id is your osu! user id and $g the gamemode id) and store them in a database.
When the image is called, the site read the data stored in the database, if the data is more than 3 hours old, it reads again on osu! website and, in each case it generate the image.
The image is always generated, nothing more than the police, the empty images and the php pages are on the server.
I'm using a free hosting service which only give 10MB of storage, so regenerate the image from the database is the only solution.
But I think this isn't important to regular users
Here is the url : http://userbar.arnold0.com
The pages are white with black text, no desing, but that's not important, the important is the result, the userbars ^^
So don't mind these white pages, the site is fonctionnal
And the availlable userbars :
Hope you enjoy
PS : If peppy ask me, I may change the time before fetching data again. (Actualy it's 3h).