Topic: HTTPS problems
Hi guys
I have been having a problem with setting up monstra on HTTPS this is what i have found to be causing problems.
Firstly with regards to the gavatar it needs to point to the HTTPS site for security I have done a patch for this
In plugins/box/users/users.plugin.php
/** * Get Gravatar * * <code> * <img src="<?php echo Users::getGravatarURL('monstra@monstra.org', 64); ?>" alt=""> * </code> * * @param string $email Email * @param integer $size Image Size */ public static function getGravatarURL($email, $size) { if( isset($_SERVER['HTTPS'] ) ) { return 'https://secure.gravatar.com/avatar/'.md5(strtolower(trim($email))).'?size='.$size; } else { return 'http://www.gravatar.com/avatar/'.md5(strtolower(trim($email))).'?size='.$size; } }
I still have a problem where by the admin backend connects to monstra.org for a version update?
this could be a problem as I see monstra does not run HTTPS
I would suggest getting a SSL key and have the option for both HTTP and HTTPS to allow users to setup HTTPS websites. if it's a cost problem startssl offer a really good service.
otherwise maybe a option to disable version checking?