|
GravatarPluginUsage
Usage
P-Gravatar [Gravatar | Screenshots | Install, Upgrade or Uninstall | Customization | Usage] Setting your own Gravatar EmailRegistered Email methodThe first time users should receive their password notification mail as well as another Gravatar usage verification notification email. Just copy the code and paste it to Gravatar Verification Code field in profile editing page after first time login. If the user changes their registered email, plugin will automatically send new verification email to the new registered email. Meanwhile, the users' Gravatar are disabled. Additional Gravatar Email fieldEntering in registration The first time users can enter their Gravatar email in registration as well. They should receive their password notification mail as well as another Gravatar usage verification notification email. Just copy the code and paste it to Gravatar Verification Code field in profile editing page after first time login. Activating after registration or Modifying Gravatar Email Go checking your profile page and edit it. There should be an additional field called Gravatar Email. Gravatar Email will only be shown to whom has privilege to edit the user's profile. That means only Key Master, Administrator can see others' Gravatar Email. Once you save your new Gravatar Email, there should be a new Verification Code notification mail in your mailbox (registered mail). Input the 8-letter code into your profile editing page. After you save your profile with the Verification Code, you should see your Gravatar avatar in you profile page immediately. FunctionsGAGetImageURIReturns src for <img> tag.
Sample Result: http://www.gravatar.com/avatar.php?gravatar_id=9c8425c85f81798109d48e30fb1d28e4&default=http%3A%2F%2Fwww.livibetter.com%2Fit%2Fmy-plugins%2Fgravatar-default.png&size=64 GAImageURIThe echo version of GAGetImageURI Sample Result: http://www.gravatar.com/avatar.php?gravatar_id=9c8425c85f81798109d48e30fb1d28e4&default=http%3A%2F%2Fwww.livibetter.com%2Fit%2Fmy-plugins%2Fgravatar-default.png&size=64 GAGetImageReturns complete <img> tag.
Sample Result: <a href="http://www.livibetter.com/it/profile/livibetter"><img style="border: 1px solid black;" src="http://www.gravatar.com/avatar.php?gravatar_id=9c8425c85f81798109d48e30fb1d28e4&default=http%3A%2F%2Fwww.livibetter.com%2Fit%2Fmy-plugins%2Fgravatar-default.png&size=64" alt="livibetter" height="64" width="64"></a> GAImageThe echo version of GAGetImage without a link. Sample Result: <img style="border: 1px solid black;" src="http://www.gravatar.com/avatar.php?gravatar_id=9c8425c85f81798109d48e30fb1d28e4&default=http%3A%2F%2Fwww.livibetter.com%2Fit%2Fmy-plugins%2Fgravatar-default.png&size=64" alt="livibetter" height="64" width="64"> GAImageLinkThe echo version of GAGetImage with a link. Sample Result: <a href="http://www.livibetter.com/it/profile/livibetter"><img style="border: 1px solid black;" src="http://www.gravatar.com/avatar.php?gravatar_id=9c8425c85f81798109d48e30fb1d28e4&default=http%3A%2F%2Fwww.livibetter.com%2Fit%2Fmy-plugins%2Fgravatar-default.png&size=64" alt="livibetter" height="64" width="64"></a> |