zhangy Posted December 26, 2008 Share Posted December 26, 2008 Hi, I am trying to use gravatar on a forum but I dont know where to begin. If anyone has experience using gravatar I would appreciate any help you can give. gravatar provides the following code: //Assume the following data: $email = "someone@somewhere.com"; $default = "http://www.somewhere.com/homestar.jpg"; $size = 40; //You can construct your gravatar url with the following php code: $grav_url = "http://www.gravatar.com/avatar.php? gravatar_id=".md5( strtolower($email) ). "&default=".urlencode($default). "&size=".$size; I dont know what to do with it. I assume it goes into the form processing script but how for example to get the users email from the form entry into "$email"? If anyone knows anything about implementing Gravatar implementation please help! Quote Link to comment https://forums.phpfreaks.com/topic/138472-gravatar-implementation/ Share on other sites More sharing options...
zhangy Posted January 1, 2009 Author Share Posted January 1, 2009 ...anyone? Quote Link to comment https://forums.phpfreaks.com/topic/138472-gravatar-implementation/#findComment-727407 Share on other sites More sharing options...
zhangy Posted January 7, 2009 Author Share Posted January 7, 2009 :'( Quote Link to comment https://forums.phpfreaks.com/topic/138472-gravatar-implementation/#findComment-731448 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.