News:

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

Main Menu

Curve stopped being responsive today

Started by njtweb, August 14, 2018, 06:15:35 PM

Previous topic - Next topic

njtweb

? No idea what happened here. Just checked my site and it's not responsive anymore on mobile. It was this morning, it's not now. I haven't added or removed anything.

https://www.youthhockeyinfo.com

Mick.

Well it is responsive but something was added lately. Might want to think hard about it.

lurkalot

Might be that ad at the bottom of the page causing it, it's not displaying for me, but is giving me a horizontal scroll bar.  You could try turning it off, or move it to a lower block to see if it cures the problem.

Mick.

Quote from: lurkalot on August 14, 2018, 06:34:49 PM
Might be that ad at the bottom of the page causing it, it's not displaying for me, but is giving me a horizontal scroll bar.  You could try turning it off, or move it to a lower block to see if it cures the problem.
Google ads dont do that to my site but ive been fooled before lol. It does look like the google ads breaking it tho/

Arantor

It's not the ad. It's some misconfiguration somewhere - something is causing the following to be output to the page's <head>:

/** NON REPONSIVE THEMES **/
/** screen smaller then 900px **/
@media all and (min-width: 0px) and (max-width: 900px) {
body {
min-width:900px!important;
}
}


Note the key min-width: 0 forcing a minimum width of 900px.

njtweb

Quote from: lurkalot on August 14, 2018, 06:34:49 PM
Might be that ad at the bottom of the page causing it, it's not displaying for me, but is giving me a horizontal scroll bar.  You could try turning it off, or move it to a lower block to see if it cures the problem.

Hi, I turned off TP and removed all ads and tested before I posted. The only thing different with the site is this post that I posted today. I have made no mod changes in months. Responsive was working this morning, isn't now. https://www.youthhockeyinfo.com/index.php?topic=660

I apologize I lied, I updated TP from 1.5.0 to 1.5.1 2 days ago. Everything worked fine after upgrade.

Mick.

Im just curious why you have css injected directly to the index.templete

njtweb

Quote from: Mick. on August 14, 2018, 07:27:17 PM
Im just curious why you have css injected directly to the index.templete

Hi @ Mick, I don't have any idea how or why that is there or got there. Originally when asked if I made changes I mentioned I hadn't in months but then quickly realized I updated Tinyportal 2 days ago. I completely uninstalled TP 1.5.0 and installed 1.5.1 two days ago. Everything has worked great until a few hours ago I realized it's not responsive on my phone.

I have had 3 bot registrations, 1 for online gambling and 2 for online drugs. I quickly banned and deleted their posts in the last 24 hrs. That's it.

Mick.

as @Arantor mentioned earlier...
this may be the culprit..

/** NON REPONSIVE THEMES **/
/** screen smaller then 900px **/
@media all and (min-width: 0px) and (max-width: 900px) {
body {
min-width:900px!important;
}
}


min-width: 0px should be 320px or 480px or whatever.  Not 0px;

njtweb

Quote from: Mick. on August 14, 2018, 07:42:54 PM
as @Arantor mentioned earlier...
this may be the culprit..

/** NON REPONSIVE THEMES **/
/** screen smaller then 900px **/
@media all and (min-width: 0px) and (max-width: 900px) {
body {
min-width:900px!important;
}
}


min-width: 0px should be 320px or 480px or whatever.  Not 0px;

I searched index.template and don't see that code in it.

Mick.

Quote from: njtweb on August 14, 2018, 07:49:38 PM
Quote from: Mick. on August 14, 2018, 07:42:54 PM
as @Arantor mentioned earlier...
this may be the culprit..

/** NON REPONSIVE THEMES **/
/** screen smaller then 900px **/
@media all and (min-width: 0px) and (max-width: 900px) {
body {
min-width:900px!important;
}
}


min-width: 0px should be 320px or 480px or whatever.  Not 0px;

I searched index.template and don't see that code in it.
When i look at the source code is there. I can only think that css is in your tinyportal blocks when you added whattever code. Its cool tho.
But this...


/** NON REPONSIVE THEMES **/
/** screen smaller then 900px **/
@media all and (min-width: 0px) and (max-width: 900px) {
body {
   min-width:900px!important;
}
}

..i dont understand it.

njtweb

Ok, It's Tiny Portal. I uninstalled it and that fixed the problem.

Thank you for your help Mick and Arantor. I'll take it over to TP site to see what happened.

Mick.

Quote from: njtweb on August 14, 2018, 07:56:03 PM
Ok, It's Tiny Portal. I uninstalled it and that fixed the problem.

Thank you for your help Mick and Arantor. I'll take it over to TP site to see what happened.
Well you dont have to uninstall it. Just turn off whatever block you made or modified lately. Narrow it down. If the problem persists, then uninstall it or take the issue to TP.

njtweb

Quote from: Mick. on August 14, 2018, 08:00:34 PM
Quote from: njtweb on August 14, 2018, 07:56:03 PM
Ok, It's Tiny Portal. I uninstalled it and that fixed the problem.

Thank you for your help Mick and Arantor. I'll take it over to TP site to see what happened.
Well you dont have to uninstall it. Just turn off whatever block you made or modified lately. Narrow it down. If the problem persists, then uninstall it or take the issue to TP.

I turned off all of the blocks and it was still all jacked.

Mick.

Quote from: njtweb on August 14, 2018, 08:03:42 PM
Quote from: Mick. on August 14, 2018, 08:00:34 PM
Quote from: njtweb on August 14, 2018, 07:56:03 PM
Ok, It's Tiny Portal. I uninstalled it and that fixed the problem.

Thank you for your help Mick and Arantor. I'll take it over to TP site to see what happened.
Well you dont have to uninstall it. Just turn off whatever block you made or modified lately. Narrow it down. If the problem persists, then uninstall it or take the issue to TP.

I turned off all of the blocks and it was still all jacked.
Alright then... It seems its a TP issue. Might want to keep it on so they can help you with it. Either take it to their site or post in their thread here, the guy is pretty active, should be able to help you out.

njtweb

Quote from: Mick. on August 14, 2018, 08:13:29 PM
Quote from: njtweb on August 14, 2018, 08:03:42 PM
Quote from: Mick. on August 14, 2018, 08:00:34 PM
Quote from: njtweb on August 14, 2018, 07:56:03 PM
Ok, It's Tiny Portal. I uninstalled it and that fixed the problem.

Thank you for your help Mick and Arantor. I'll take it over to TP site to see what happened.
Well you dont have to uninstall it. Just turn off whatever block you made or modified lately. Narrow it down. If the problem persists, then uninstall it or take the issue to TP.

I turned off all of the blocks and it was still all jacked.
Alright then... It seems its a TP issue. Might want to keep it on so they can help you with it. Either take it to their site or post in their thread here, the guy is pretty active, should be able to help you out.

Ok, good idea, I will turn it back on, thanks again it's greatly appreciated.

Mick.

Quote from: njtweb on August 14, 2018, 08:17:15 PM

Ok, good idea, I will turn it back on, thanks again it's greatly appreciated.
I would help you out but i haven't used TP in 10yrs. I have no clue what changed. Have fun brother, Lurkalot is a decent dude, he'll have you squared away in a jiff.

njtweb

Quote from: Mick. on August 14, 2018, 08:23:07 PM
Quote from: njtweb on August 14, 2018, 08:17:15 PM

Ok, good idea, I will turn it back on, thanks again it's greatly appreciated.
I would help you out but i haven't used TP in 10yrs. I have no clue what changed. Have fun brother, Lurkalot is a decent dude, he'll have you squared away in a jiff.

No problem, you guys did help by identifying TP as the issue. You're right, those guys are really cool over there at TP too. Hopefully we'll get to the bottom of it.

lurkalot

Quote from: njtweb on August 14, 2018, 07:31:51 PM
Quote from: Mick. on August 14, 2018, 07:27:17 PM
Im just curious why you have css injected directly to the index.templete

Hi @ Mick, I don't have any idea how or why that is there or got there. Originally when asked if I made changes I mentioned I hadn't in months but then quickly realized I updated Tinyportal 2 days ago. I completely uninstalled TP 1.5.0 and installed 1.5.1 two days ago. Everything has worked great until a few hours ago I realized it's not responsive on my phone.

I have had 3 bot registrations, 1 for online gambling and 2 for online drugs. I quickly banned and deleted their posts in the last 24 hrs. That's it.

Yep as advised if you could leave it running so tino can take a look.   

As said over at the TP support site, what I don't understand is why the problem only showed up today. that code hasn't changed in TP 1.5.0 and was the same in the last version you were using.  Mad isn't it.  :)

lurkalot

Just as a matter of interest, I know you said there was no setting changes.  Could you just check in Tinyportal settings that the Curve theme isn't selected in non responsive themes.  If it is then Deselect all themes and save.

If you have the responsive curve mod installed it shouldn't be selected.  If you don't have the responsive cure mod installed it should be selected.

njtweb

Quote from: lurkalot on August 15, 2018, 02:23:09 AM
Just as a matter of interest, I know you said there was no setting changes.  Could you just check in Tinyportal settings that the Curve theme isn't selected in non responsive themes.  If it is then Deselect all themes and save.

If you have the responsive curve mod installed it shouldn't be selected.  If you don't have the responsive cure mod installed it should be selected.

That was the problem Mick. I don't know how that got selected. I actually tried to de-select it by clicking that check box then save. It wouldn't de-select no matter how many times I tried to including clearing cache. I had to check the deselect all themes check box then save.

@rjen

Quote from: njtweb on August 15, 2018, 04:12:36 AM
That was the problem Mick. I don't know how that got selected. I actually tried to de-select it by clicking that check box then save. It wouldn't de-select no matter how many times I tried to including clearing cache. I had to check the deselect all themes check box then save.

From the docs:
Select non responsive themes: Tinyportal can deal with with 'Responsive' themes and (older) 'Non-responsive themes''. See this article for more information: Settings: dealing with responsive themes
Here you can specify what themes are responsive. The themes listed in the image above will not be the same as in your forum. Set the tickbox for each responsive theme. To change settings you have to select Deselect all themes, save the setting with the [Save] button under the last theme and redo all your theme settings.



That's how it works... but the question is: HOW did it get selected in the first place? You said no settings were changed ?



Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Humph

It is responsive; I just checked your site and found it is still responsive. The fault may be from your browser...

njtweb

Hi Thank you for checking this issue has been resolved.

Advertisement: