Jquery script location

Started by puggsy21, January 10, 2017, 07:51:53 PM

Previous topic - Next topic

puggsy21

Hi all wondering if someone can help me i have just installed this forum to my site and noticed that the jquery file its pulling in from the header is using http but my site is using https i have been into index.template.php but couldnt find it.

I just need to find out what page is making the call to require jquery so i can just alter the http to https

Any help and replies are gratefully appreciated

Kindred

SMF 2,0,x doesn't use jquery so it must be being called by a mod
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

puggsy21

Thanks for the quick reply, ok i only have 2 mods installed which are pretty URL's and Tinyportal other than that its all SMF

vbgamer45

I am guessing tinyportal since prettyurls doesn't use jquery.
I just checked the source of tinyportal.net and it has jquery calls.
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

puggsy21

Ok thanks for the info and checking that out for me, so now its a case of trying to find out which page is making the call for putting the jquery script into the header

puggsy21

Ok fixed, thanks to this topic  ;D http://www.simplemachines.org/community/index.php?topic=506732.20 which i just found from writing so many different variations of my question.

anyone else thats interested to know the file to alter this is TPortal.php

// Load JQuery if it's not set (anticipated for SMF2.1)
if (!isset($modSettings['jquery_source']))
$context['html_headers'] .= '
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>';


Which is located within the sources folder of the main forum directory

Thansk for the responses guys and im going to mark this as resolved and hope it helps others that may have the same problem

Advertisement: