Quantcast
Channel: MyBB Community Forums - Tutorials
Viewing all articles
Browse latest Browse all 687

[HOWTO]SSL Gravatar Avatar

$
0
0
Hey Guys,

I know this is really simple but i thought i would post it just incase, if you have done it any other way please let me know.

If you want to make the Gravatar Avatars SSL you need to edit usercp.php in the forum ROOT directory.

Then,

On line 2161: "avatar" => "http://www.gravatar.com/avatar/{$email}{$s}.jpg"

Change this too: "avatar" => "https://www.gravatar.com/avatar/{$email}{$s}.jpg"

Also in admin/modules/user/users.php :

On line 647: "avatar" => "http://www.gravatar.com/avatar/{$email}{$s}"

Change this too: "avatar" => "https://www.gravatar.com/avatar/{$email}{$s}"


P.S: I think this may have to be done before people set there avatar as it may be stored in the DB, i will investigate this further.


This will then make the avatars get requested using https keeping that green padlock on your ssl secure sites Big Grin

Regards
AsynC

Viewing all articles
Browse latest Browse all 687

Trending Articles