News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

''Unsafe'' Script (HTTP) Running over HTTPS

Started by greatescape, February 13, 2016, 06:29:51 AM

Previous topic - Next topic

greatescape

Hi all,

I have an SSL certificate installed on my domain. However, there is an ''unsafe'' script running according to Google Chrome, so a silver shield appears in the address bar. I used the ''inspect'' tool to find it. This is what I found:

<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js [nofollow]"></script>

An HTTP url. I need to change it to HTTPS.

However, I have no idea where to find it. I searched through all of my .js files, cmd+f'ed ''cloud'', but zero results.

I am probably looking at the wrong place. Anyone know how to fix this?

Your help is appreciated :)

Illori

that is not called by default. if you list your mods maybe we can help you figure out which mod is adding it then you can ask that author how to modify it.

greatescape

I uninstalled recently installed mods, but it didn't solve the issue. So I suppose one of the other (still enabled) mods is causing this.
Below a list of all currently active mods on my forum:

---

2.   Topic Rating Bar   0.8.2     
3.   Activity in Profile   1.1     
4.   Country Flags   2.1 
5.   Total Time Logged In   1.0     
6.   Pretty URLs   1.1.3     
7.   @mention members   1.1.2     
8.   Add Social Media Icons To Profiles   1.2.0     
9.   RSS Feed Poster   4.2.1     
10.   Drafts      
11.   Auto Twitter Embed   1.0
12.   Add Facebook Like, Tweet, and Google +1   1.0.3a 
13.   MetaTags Modification   2.0.2 
14.   Advanced Contact Form   1.1 
15.   Login Security   1.0.3     
16.   PM Auto Responder   1.2 
17.   Additional Home Page Title   3.6
18.   SMF Trader System   1.7
19.   APImage   0.3.1 
20.   Advanced Language Menu   3.0.1 
21.   Simple Audio Video Embedder   3.5.1 
22.   Remove XHTML, RSS & WAP2 Links in Footer   v1.1     
23.   Bookmarks   2.5     
24.   Footer Menu v.1   v.1     
25.   Default Avatar by Username   1.0.0     
26.   Ad Managment   3.2     
27.   Ultimate Menu   1.0 




I know, it's a lot  :-[

Steve

Slightly off topic:

Quote from: greatescape on February 13, 2016, 07:35:27 AMI know, it's a lot  :-[

Hardly. I have 71 mods and many custom modifications on my forum and there are people here with far more than that.

Back to topic.
DO NOT pm me for support!

vbgamer45

What I do is download all the files to the computer then do a search on all files to find where it is located at
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Shambles

Quote from: greatescape
11.   Auto Twitter Embed   1.0

That's ya man.

http://custom.simplemachines.org/mods/index.php?mod=3991

It'll be in your Sources/Load.php file

greatescape

Quote from: Shambles on February 13, 2016, 10:37:55 AM
Quote from: greatescape
11.   Auto Twitter Embed   1.0

That's ya man.

http://custom.simplemachines.org/mods/index.php?mod=3991

It'll be in your Sources/Load.php file

Thanks! Found it and changed to ''https'', the HTTPs warning is gone now! :D

I could suggest a change in the mod topic, but I think most people don't use SSL, so having it changed to ''https'' might cause trouble for others.

greatescape

Quote from: vbgamer45 on February 13, 2016, 10:22:55 AM
What I do is download all the files to the computer then do a search on all files to find where it is located at

Thank you for your suggestion. I'll keep it in mind in cause a similar problem arises in the future! :D

greatescape

Quote from: Steve on February 13, 2016, 09:27:13 AM
Slightly off topic:

Quote from: greatescape on February 13, 2016, 07:35:27 AMI know, it's a lot  :-[

Hardly. I have 71 mods and many custom modifications on my forum and there are people here with far more than that.

Back to topic.

That's a relief. This is the first time I work with SMF. When I used WordPress, it was (is) advised to keep your plugins to a minimum in order not to damage/reduce the performance of your website. I guess the SMF modifications/plugins are lightweight and don't have the negative effect WP plugins have :).

Steve

Quote from: greatescape on February 13, 2016, 11:07:32 AMThanks! Found it and changed to ''https'', the HTTPs warning is gone now! :D

Marking solved then. :)
DO NOT pm me for support!

Advertisement: