Topic: request - generate gravatar randomly
like a github
ex:
maybe this ext usefully art
sorry my BAD english T___T
Have a nice day >.<
(^____^)v
Have a nice day >.<
(^____^)v
You are not logged in. Please login or register.
PunBB Forums → Feature requests → request - generate gravatar randomly
like a github
ex:
maybe this ext usefully art
http://retroavatar.appspot.com/
Just send md5(user_id) to api.
Hook would be fn_generate_avatar_markup_end
and code something like
else {
$avatar_markup = '<img src="http://retroavatar.appspot.com/api?name='.md5($user_id).'&alpha=true&fact=4" width="48" height="48" alt="no avatar"/>';
}
and you may also want to add this to your css
.useravatar img[alt="no avatar"] {
background: #fff;
border: solid 1px #ddd;
padding: .5em;
}
nice works perfect;y sir thxx very much for code , hug , handshake
PunBB Forums → Feature requests → request - generate gravatar randomly
Powered by PunBB, supported by Informer Technologies, Inc.