2017-05-15, 08:21 PM
ive got an issue with simplelikes and SSL. Whenever someone likes something, the thread URL is warning, while the rest of the forums are secure.
I checked the console and the warning is for simplelikes getting the thumbs up image for http and not https. Where does simple like do this so i can add the "https" to it?
Found it. Its in a template not the code simplelikes_likebar. Nevermind.
I checked the console and the warning is for simplelikes getting the thumbs up image for http and not https. Where does simple like do this so i can add the "https" to it?
Quote:Mixed Content: The page at 'https://python-forum.io/Thread-what-is-this-doc-page-for' was loaded over HTTPS, but requested an insecure image 'http://python-forum.io/images/icons/thumbsup.png'. This content should also be served over HTTPS.I dont see anywhere in your plugin you call thumbsup either
metulburr@ubuntu:~/Downloads/SimpleLikes_v200$ grep -rn http
README.md:4:Simple Like System is a [MyAlerts](https://github.com/euantorano/MyAlerts) integrated plugin for [MyBB](http://mybb.com) that provides the ability for users to "like" posts on your forum.
README.md:8:* SimpleLike System relies on [Plugin Library](http://mods.mybb.com/view/pluginlibrary) to function.
README.md:9:* SimpleLikes utilises [MyBBStuff's Plugins.Core](https://github.com/MyBBStuff/Plugins.Core) library to provide essential tools.
README.md:13:Support for this plugin is provided via [MyBB Stuff](http://www.mybbstuff.com). Please post there if you have any questions or issues.
jscripts/like_system.js:31: "xmlhttp.php?action=like_post",
jscripts/like_system.min.js:18: t.post("xmlhttp.php?action=like_post", {
inc/plugins/simplelikes.php:9: * @license http://opensource.org/licenses/mit-license.php MIT license
inc/plugins/simplelikes.php:36: 'website' => 'http://www.mybbstuff.com',
inc/plugins/simplelikes.php:38: 'authorsite' => 'http://www.euantor.com',
inc/plugins/simplelikes.php:777:$plugins->add_hook('xmlhttp', 'simplelikesAjax');
inc/plugins/simplelikes.php:784: xmlhttp_error($lang->invalid_post_code);
inc/plugins/simplelikes.php:792: xmlhttp_error($lang->simplelikes_error_post_id);
inc/plugins/simplelikes.php:801: ) == 'xmlhttprequest'
inc/plugins/simplelikes.php:806: xmlhttp_error($lang->simplelikes_error_own_post);
inc/plugins/simplelikes.php:815: ) == 'xmlhttprequest'
inc/plugins/simplelikes.php:820: xmlhttp_error($lang->simplelikes_error_perms);
inc/plugins/simplelikes.php:880: ) == 'xmlhttprequest'
inc/plugins/MybbStuff/Core/ClassLoader.php:5: * @license http://opensource.org/licenses/mit-license.php MIT license
inc/plugins/MybbStuff/SimpleLikes/src/LikeManager.php:10: * @license http://opensource.org/licenses/mit-license.php MIT license
inc/plugins/MybbStuff/SimpleLikes/src/Import/Manager.php:8: * @license http://opensource.org/licenses/mit-license.php MIT license
inc/plugins/MybbStuff/SimpleLikes/src/Import/AbstractImporter.php:8: * @license http://opensource.org/licenses/mit-license.php MIT license
inc/plugins/MybbStuff/SimpleLikes/templates/likebutton.html:2: href="xmlhttp.php?action=like_post&post_id={$post['pid']}&my_post_key={$mybb->post_code}">
admin/modules/mybbstuff_likes/import.php:9: * @license http://opensource.org/licenses/mit-license.php MIT license
admin/modules/mybbstuff_likes/module_meta.php:7: * @license http://opensource.org/licenses/mit-license.php MIT license
metulburr@ubuntu:~/Downloads/SimpleLikes_v200$ grep -rn .png
metulburr@ubuntu:~/Downloads/SimpleLikes_v200$ grep -rn thumbsup
Found it. Its in a template not the code simplelikes_likebar. Nevermind.