Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: MegasXLR - maaliskuu 21, 2020, 12:26:07 IP

Otsikko: Allow http links in TinyPortal blocks ?
Kirjoitti: MegasXLR - maaliskuu 21, 2020, 12:26:07 IP
Hello everyone, it's been 1 year since I worked with SMF but now got my interest back. So I decided to start from scratch and install SMF 2.0.17 and all went well. But now I want to use TinyPortal's Blocks function to put an <iframe> on the main page. This one (it's not a virus xd): http://66.150.121.102:22006/web_toptimes/
But I get the following error:
LainaaMixed Content: The page at 'https://classicracingmta.000webhostapp.com/index.php' was loaded over HTTPS, but requested an insecure frame 'http://66.150.121.102:22006/web_toptimes/'. This request has been blocked; the content must be served over HTTPS.
And below it this one:
LainaaUncaught TypeError: jQuery(...).superfish is not a function
    at HTMLDocument.<anonymous> (index.php:13)
    at i (jquery.js?fin20:2)
    at Object.fireWith [as resolveWith] (jquery.js?fin20:2)
    at Function.ready (jquery.js?fin20:2)
    at HTMLDocument.K (jquery.js?fin20:2)Uncaught TypeError: jQuery(...).superfish is not a function
    at HTMLDocument.<anonymous> (index.php:13)
    at i (jquery.js?fin20:2)
    at Object.fireWith [as resolveWith] (jquery.js?fin20:2)
    at Function.ready (jquery.js?fin20:2)
    at HTMLDocument.K (jquery.js?fin20:2)
When I was on SMF 2.0.13 the frame showed with no problems. Is there some way to disable the https check and show my page from the unsecured IP above?
Otsikko: Re: Allow http links in TinyPortal blocks ?
Kirjoitti: vbgamer45 - maaliskuu 21, 2020, 01:10:59 IP
There is not a way to do so.
You would have to remove https:// from your main site.
Otsikko: Re: Allow http links in TinyPortal blocks ?
Kirjoitti: MegasXLR - maaliskuu 21, 2020, 01:15:02 IP
Lainaus käyttäjältä: vbgamer45 - maaliskuu 21, 2020, 01:10:59 IP
There is not a way to do so.
You would have to remove https:// from your main site.

I did that and although the iframe worked, other errors came up from the theme i was using. Now will reinstall SMF to see if I missed an option somewhere. It was fine on 2.0.13 so this is weird.
Otsikko: Re: Allow http links in TinyPortal blocks ?
Kirjoitti: m4z - maaliskuu 21, 2020, 01:46:24 IP
If you change the forum URL(s), you need to run repair_settings.php (https://wiki.simplemachines.org/smf/Repair_settings.php) afterwards.
Otsikko: Re: Allow http links in TinyPortal blocks ?
Kirjoitti: MegasXLR - maaliskuu 21, 2020, 05:28:25 IP
Lainaus käyttäjältä: m4z - maaliskuu 21, 2020, 01:46:24 IP
If you change the forum URL(s), you need to run repair_settings.php (https://wiki.simplemachines.org/smf/Repair_settings.php) afterwards.
OK, thanks!
Otsikko: Re: Allow http links in TinyPortal blocks ?
Kirjoitti: MegasXLR - maaliskuu 23, 2020, 09:01:10 AP
Got another host which isn't secure and everything's fine now :)