(09-05-2015, 03:29 AM)apinto Wrote: To edit the Avatar you can look into
https://github.com/sentora/sentora-core/....class.php
Around line 57 and the function is on line 107.
Actually it checks for https like I thought:
PHP Code:/**
* Detects the correct protocol to use when building the Gravatar image URL, this prevents SSL errors if the panel is being hosted over SSL.
* @return string The protocol prefix.
*/
private static function getCurrentProtocol()
{
if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) {
return 'https://';
} else {
return 'http://';
}
}
I greatly appreciate your this reply too But really, you are a great helpful person I must admit
I tried defaulting the theme, didn't really help as it also loads the gravatar in http protocol.
I will look into that core file you have suggested and will give a feedback here.
Thank you so much.