[PHP] Simple Avatar Caching System

Clawed

Whats occuring?
Jun 2, 2012
51
3
Hi,

Got bored while watching Aaron do RocASE, so I decided to code this: .
I know it's not the best but it works.

---------------------------------------------------------------------------------

Setup:
Code:
1. Set you're hostname, username, password & database for your hotel database.
2. Rename to avatar.php (Canbe figure or what ever you like).
3. url.php?username={username} from database.
4. Done

---------------------------------------------------------------------------------

Usage:
Code:
avatar.php?username={username}

Extras:
Code:
&direction={direction}
&head_direction={head_direction}
&gesture={gesture}
&img_format={img_format}
&size={size}
&action={action}

Example:
Code:
avatar.php?username=Clawed&direction=3&head_direction=3&gesture=sml
 

Roper

Ancient Member
Jul 4, 2010
569
216
This is very useful and means user avatars will always show because sometimes they show as dead images i've noticed
 

Brought

更加努力
Jan 14, 2013
595
203
Thanks for this, I will be implementing this into my hotel. And I also agree with
This is very useful and means user avatars will always show because sometimes they show as dead images i've noticed
like the most recent change was that the habbo.com avatar images are no longer accessible through hotlinking so I had to change them all to .ca to make them still work.

Once again, thank you alot for this.
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,906
Cool release, I'd say it needs some improving now though due to recent releases which have all images hosted locally and getting no requests from Habbo itself. Nonetheless, good work.
 

Users who are viewing this thread

Top