Advertisement:

Author Topic: Jquery script location  (Read 1948 times)

Offline puggsy21

  • Newbie
  • *
  • Posts: 4
Jquery script location
« on: January 10, 2017, 07:51:53 PM »
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

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 54,300
  • Gender: Male
    • Kindred-999 on GitHub
Re: Jquery script location
« Reply #1 on: January 10, 2017, 08:01:54 PM »
SMF 2,0,x doesn't use jquery so it must be being called by a mod
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline puggsy21

  • Newbie
  • *
  • Posts: 4
Re: Jquery script location
« Reply #2 on: January 10, 2017, 08:21:37 PM »
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

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 18,737
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Jquery script location
« Reply #3 on: January 10, 2017, 08:23:49 PM »
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

Offline puggsy21

  • Newbie
  • *
  • Posts: 4
Re: Jquery script location
« Reply #4 on: January 10, 2017, 08:29:31 PM »
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

Offline puggsy21

  • Newbie
  • *
  • Posts: 4
Re: Jquery script location
« Reply #5 on: January 10, 2017, 08:50:17 PM »
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

Code: [Select]
// 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