Jump to content
MakeWebGames

[FREE] Avatar system by Hardcopi | ported to 1.2.x


uaktags

Recommended Posts

Original download from the creator: http://scripts.five-star.com/2011/03/avatar-1-0-released/

Original ezRPGProject.net posting: http://ezrpgproject.net/thread-102.html

I've went ahead, on my mission of testing the amount of work and issues that 1.0 developers would face migrating to ezRPG1.2.x, to port and test Hardcopi's Avatar system. For the most part, his module was ready, but I removed the static php files "anime" and "createpng" to add them as true functions for the module to use. His original was also hardcoded to pull the body elements from his server, which appears to be more of a piece of testing than something that should have been in there. He also had it so that users would use an iframe to call the anime script to load the avatar which appears to be the reason why he recommended a certain size.

Instead, of the iframe, I simply base64'd the image, through it into a hook, assigned it to a Smarty Variable, and now any template that looks for the variable can use it. Simple get magic or using the Smarty hook function, we can expand on the module even further to see other users' avatars (Profiles, Attack Pages, chats, etc)

 

https://github.com/uaktags/ez1.2.x-Modules/tree/Avatar1.0-by-Hardcopi

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...