problem with https

News Show Pro GK5 - flexible, responsive and easily extendable free Joomla module support forum.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Tue Sep 08, 2015 6:42 pm
Hello,
I have my News 2 template showing a NSP module and I have a problem, if I show "links layout" mode https works perfectly, but if I add 1 "article layout" before, https says that my website is not sure.
Any help?
You can check it in:
https://www.territoriosnow.com/noticias/usa (https WRONG)
https://www.territoriosnow.com/noticias/competicion (https OK)

Thanks
User avatar
Senior Boarder

GK User
Wed Sep 09, 2015 8:12 am
There is more info on console:
Code: Select all
Mixed Content: The page at 'https://www.territoriosnow.com/noticias/usa' was loaded over HTTPS, but requested an insecure image 'http://www.gravatar.com/avatar/e7b98ed957e91e12f99c8a6082c9095e?s=16&defaul…riosnow.com%2Fmodules%2Fmod_news_pro_gk5%2Finterface%2Fimages%2Favatar.png'. This content should also be served over HTTPS.

Please edit this file:
modules/mod_news_pro_gk5/helpers/gk.utils.php
and change:
Code: Select all
   static function avatarURL($email, $size){
      return 'http://www.gravatar.com/avatar/'.md5($email).'?s='.$size.'&default='.urlencode(JURI::root().'modules/mod_news_pro_gk5/interface/images/avatar.png');
   }

to:
Code: Select all
   static function avatarURL($email, $size){
      return 'https://www.gravatar.com/avatar/'.md5($email).'?s='.$size.'&default='.urlencode(JURI::root().'modules/mod_news_pro_gk5/interface/images/avatar.png');
   }
User avatar
Moderator

GK User
Wed Sep 09, 2015 4:32 pm
Thanks Cyberek, working perfetly.
One more thing, it is possible to show the article date in the "link layout" mode?? Because I can only show title, text and image.
Thanks
User avatar
Senior Boarder

GK User
Mon Sep 14, 2015 5:31 pm
I guess not, but you can play with the settings.
User avatar
Moderator


cron