Qeoqrcode via SSL

More
11 years 7 months ago - 11 years 7 months ago #13133 by JingJang
Qeoqrcode via SSL was created by JingJang
Hi there,

if someone works with SSL and use the community plugin geoqrcode. This topic might be helpful for you. By default your browser shows an insecure connection when you publish this plugin. In this case it will not help you replacing the http: with https:. If you did it this way the plugin shows no qr code image.

This is the way the plugin will work with ssl:
Open your geoqrcode.php and find:
Code:
echo '<img src="http://chart.apis.google.com/chart?cht=qr&chs='.$side.'x'.$side.'&chl=geo%3A'.$row[0].'%2C'.$row[1].'" alt="Geo QR Code" width="'.$side.'px" height="'.$side.'px" title="Geo QR Code::'.JText::_('PLG_GEOQRCODE SCAN THIS').'" class="jomTips"/>';
Replace with:
Code:
echo '<img src="https://chart.googleapis.com/chart?cht=qr&chs='.$side.'x'.$side.'&chl=geo%3A'.$row[0].'%2C'.$row[1].'" alt="Geo QR Code" width="'.$side.'px" height="'.$side.'px" title="Geo QR Code::'.JText::_('PLG_GEOQRCODE SCAN THIS').'" class="jomTips"/>';

This is the solution I found and I want to share it with all who have the same issue.
Last edit: 11 years 7 months ago by JingJang.
The following user(s) said Thank You: nordmograph

Please Log in or Create an account to join the conversation.

Time to create page: 0.323 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.