Official support hours: from 9 AM — 6 PM Monday to Friday (GMT +2).
The support staff may not reply on technical inquiries on weekends; all requests will be answered necessarily during working days. Reply time: depending on the complexity of your issue, the answer can be provided between a few hours up to 48 hours. In the particular instances we will notify you if extra time will be required to solve the issue.

×

Notice

The forum is in read only mode.

Bug for SSL

4 years 9 months ago #313 by kirblam
Bug for SSL was created by kirblam
Hey, this issue may extend to other templates. I didn't install the latest version of Kascetic *but* I downloaded it, unzipped it and found the same issue.

In initialize.php:
$document->addStyleSheet( ' fonts.googleapis.com/css?family='.$googlefont .'' );

The hardcoding of 'http' means that any kunena page responding with HTTPS will show issues. Depending on the browser, it may not even try to render it.

Changing to
$document->addStyleSheet( '//fonts.googleapis.com/css?family='.$googlefont.'' );
...appears to fix the issue but if that's not good enough, you could detect the protocol and prepend 'https:' or 'http:' accordingly.

Thanks
JK
4 years 9 months ago #314 by Eugene S.
Replied by Eugene S. on topic Re: Bug for SSL
Dear JK,
Thank you very much for reporting about this issue.
All templates just been updated with this fix.

Have a nice day!
Eugene.

Like our extensions for Kunena?
Add your voice to the JED listing with a 100 score review: bit.ly/2cIg8pF
Thanks!
Moderators: Eugene S.