http issues

Professional Joomla social template with metro design and JomSocial extension support.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Jun 19, 2015 10:49 pm
Reply with quote
Report this post
Hi guys, I am using ssl across the whole site and have a few issues with some links being loaded over http rather https.

they are:
http://ogp.me/ns/fb#

http://schema.org/Article

http://silktide.com/cookieconsent

http://twitter.com/share

http://pinterest.com/pin/create/button/ ... ption=home

the last two are disabled, but still being loaded.

the template I am using is m social v 3.17

any suggestions how to fix it?

thanks

Ivan
User avatar
Junior Boarder

GK User
Sat Jun 20, 2015 7:25 pm
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Mon Jun 22, 2015 12:39 am
Reply with quote
Report this post
hi,

sorry, the url is:
www.therockandwall.com

thanks

Ivan
User avatar
Junior Boarder

GK User
Thu Jun 25, 2015 2:43 pm
Reply with quote
Report this post
Lets do it step by step...
http://schema.org/Article
Is a link generated by:
/templates/gk_msocial/html/com_content/article/default.php
file.
Please modify this line:
Code: Select all
<article class="item-page<?php echo $this->pageclass_sfx?>" itemscope itemtype="http://schema.org/Article">

and change http to https.
You should also edit this file:
/templates/gk_msocial/html/com_content/archive/default_items.php
and do same change to:
Code: Select all
<article class="item-page<?php echo $this->pageclass_sfx?>" itemscope itemtype="http://schema.org/Article">

line.

Please let me know if that fixed one of the issues, then we will proceed to next one.
User avatar
Moderator

GK User
Thu Jul 02, 2015 4:17 pm
Reply with quote
Report this post
Hi Cyberek,

I have made the change in this file as suggested in
/templates/gk_msocial/html/com_content/article/default.php

and the page is now loading the https://

there were few more http:// urls though:

<li class="createdby" itemprop="author" itemscope itemtype="http://schema.org/Person">

<gavern:social><a href="http://twitter.com/share" class="twitter-share-button" data-text="<?php echo $this->item->title; ?>" data-url="<?php $cur_url; ?>" gk_tweet_btn_settings>Tweet</a></gavern:social>

<gavern:social><a href="http://pinterest.com/pin/create/button/?url=<?php echo $cur_url; ?>&amp;media=<?php echo $pin_image; ?>&amp;description=<?php echo str_replace(" ", "%20", $this->item->title); ?>" class="pin-it-button" count-layout="GK_PINTEREST_SETTINGS"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="<?php echo JText::_('TPL_GK_LANG_PINIT_TITLE'); ?>" /></a></gavern:social>

should I change them to https:// as well?


In the following file:
/templates/gk_msocial/html/com_content/archive/default_items.php

I have only this:

<?php

// no direct access
defined('_JEXEC') or die;

JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
$params = &$this->params;

?>

<?php foreach ($this->items as $i => $item) : ?>
<article itemscope itemtype="http://schema.org/Article">
<header>
<h1 itemprop="name">

any advise?

Ivan
User avatar
Junior Boarder

GK User
Mon Jul 06, 2015 11:18 am
Reply with quote
Report this post
You can change all those "http" to "https" just check if those services works with https before.
User avatar
Moderator

GK User
Mon Jul 06, 2015 7:33 pm
Reply with quote
Report this post
OK, I have updated those as well. What would be the next step to fix the rest of the URLs?


http://ogp.me/ns/fb#

http://silktide.com/cookieconsent

thanks
User avatar
Junior Boarder

GK User
Tue Jul 07, 2015 3:27 pm
Reply with quote
Report this post
From what I see ogp.me is generated by k2 not our template. Please check this file:
/plugins/system/k2/k2.php
And the last one - I don't see it on your website.
User avatar
Moderator

GK User
Thu Jul 30, 2015 9:03 pm
Reply with quote
Report this post
hi, there's no such folder. Any ideas where else it could be?
User avatar
Junior Boarder

GK User
Thu Jul 30, 2015 10:52 pm
Reply with quote
Report this post
@Oknel78 - did you look in the joomla root directory? Because plugins directory is not a part of our template.
User avatar
Administrator

GK User
Fri Jul 31, 2015 6:27 am
Reply with quote
Report this post
Yes, I did. I even did a search for k2.php file. It was found in a few folders, but not in /plugins/system/k2/ folder. I have opened them all and looked for the "ogp", but nothing was found.
User avatar
Junior Boarder

GK User
Sat Aug 01, 2015 9:18 am
Reply with quote
Report this post
You have k2 installed right?
User avatar
Moderator

GK User
Sat Aug 01, 2015 2:03 pm
Reply with quote
Report this post
I am using ZOO, that's the K2 alternative right? Sorry, I am new to the joomla stuff.
User avatar
Junior Boarder

GK User
Sun Aug 02, 2015 11:42 am
Reply with quote
Report this post
If you are not using k2, please contact the other plugin support for info on how to change http to https in their component/plugin.
User avatar
Moderator


cron