Please Log in to join the conversation.
if ($oValue) {
if ($avatar_position=="default")
$query = "SELECT email FROM #__users WHERE id = ". (int) $_CB_framework->myId();
$_CB_database->setQuery( $query );
// some joomla versions (1.5.1, 1.0.11+ do htmlspecialchars in database!):
$email = htmlspecialchars( cbUnHtmlspecialchars( $_CB_database->loadResult() ) );
$oValue = "http://www.gravatar.com/avatar/".md5(strtolower(trim($email)))."?d=$oValue";
Please Log in to join the conversation.