TinyPortal

Development => Support => Topic started by: darkangel on January 13, 2021, 04:23:39 AM

Title: Weird text issue and text color change for dark themes/shout box
Post by: darkangel on January 13, 2021, 04:23:39 AM
Theme name and version: GamerZ
Browser Name and Version: FireFox 84.0.2
Mods installed: TP 2.0, httpBL 2.5.1, Join Reason 1.5 and Stop Spammer 2.3.9

The shout box is up and ready,  in this dark theme I try to get the actual shout text to be #ccc. I copied the tpshout.css into theme's css folder. Any idea where to change it for dark themes?
Title: Re: Weird text issue and text color change for dark themes/shout box
Post by: darkangel on January 13, 2021, 04:24:30 AM
Has this happened to anyone using smf and php7.3:
we are having issues while typing, keys are getting hit right, But either need to enter text in notepad or  get half text written or words stuck together.

I haven't read of anything like this happening with mods or portal so am lost.
Title: Re: Weird text issue and text color change for dark themes/shout box
Post by: lurkalot on January 13, 2021, 07:48:41 AM
Quote from: darkangel on January 13, 2021, 04:23:39 AM
Theme name and version: GamerZ
Browser Name and Version: FireFox 84.0.2
Mods installed: TP 2.0, httpBL 2.5.1, Join Reason 1.5 and Stop Spammer 2.3.9

The shout box is up and ready,  in this dark theme I try to get the actual shout text to be #ccc. I copied the tpshout.css into theme's css folder. Any idea where to change it for dark themes?

In TP2.0.0 the shoutbox colours are set in the shoutbox settings.  Leaving them blank should take on the default colours for the theme in use.

Regarding the other text problems, does this do the same on the SMF default theme?

Got a link to that site?
Title: Re: Weird text issue and text color change for dark themes/shout box
Post by: darkangel on January 13, 2021, 09:03:41 PM
oops I had to remove some text and forgot to plop it back in...Yest it is in any theme.
http://www.thefantasiesattic.net/attic/index.php?action=forum (http://www.thefantasiesattic.net/attic/index.php?action=forum)
Title: Re: Weird text issue and text color change for dark themes/shout box
Post by: tino on January 13, 2021, 09:26:16 PM
Quote from: darkangel on January 13, 2021, 09:03:41 PM
oops I had to remove some text and forgot to plop it back in...Yest it is in any theme.
http://www.thefantasiesattic.net/attic/index.php?action=forum (http://www.thefantasiesattic.net/attic/index.php?action=forum)

If it's slow in the shoutbox, that suggests an issue with the server itself and not being able to handle the load, turning off auto refresh will help.

Other than that it's checking the round trip time and ensuring the routing from you to the server is decent. With a low ping and decent upload / download speeds on both ends.
Title: Re: Weird text issue and text color change for dark themes/shout box
Post by: darkangel on January 13, 2021, 11:24:07 PM
ok will test it out soon as I finally go eat sumpin. it says to set it to 0 to disable but when I do it then tells me that to set it to no less than 1
Title: Re: Weird text issue and text color change for dark themes/shout box
Post by: tino on January 13, 2021, 11:54:25 PM
Quote from: darkangel on January 13, 2021, 11:24:07 PM
ok will test it out soon as I finally go eat sumpin. it says to set it to 0 to disable but when I do it then tells me that to set it to no less than 1

I thought that bug had been fixed. Obviously not 0 is disabled though.
Title: Re: Weird text issue and text color change for dark themes/shout box
Post by: lurkalot on January 13, 2021, 11:59:44 PM
Quote from: tino on January 13, 2021, 11:54:25 PM
Quote from: darkangel on January 13, 2021, 11:24:07 PM
ok will test it out soon as I finally go eat sumpin. it says to set it to 0 to disable but when I do it then tells me that to set it to no less than 1

I thought that bug had been fixed. Obviously not 0 is disabled though.

Confirmed.  Cannot disable the auto refresh in TP 2.0.0  :'(
Title: Re: Weird text issue and text color change for dark themes/shout box
Post by: darkangel on January 14, 2021, 01:59:11 AM
I can see in the code--I think -- where to set it )maybe 2 places in the text there) to 0 but it did not work for me...I tried...LOL

line 176 and 179
                    <label for="tp_shoutbox_refresh">'.$txt['tp-shout-autorefresh'].'</label>
                        </dt>
                        <dd>
                            <input type="number" name="tp_shoutbox_refresh" id="tp_shoutbox_refresh" value="' ,$context['TPortal']['shoutbox_refresh'], '" size="6" min="0" max="60" step="1" />[br /]
                        </dd>


scroll just before that section also gives the same text if setting to 0 in admin.
Title: Re: Weird text issue and text color change for dark themes/shout box
Post by: tino on January 14, 2021, 02:02:32 AM
Quote from: lurkalot on January 13, 2021, 11:59:44 PM
Quote from: tino on January 13, 2021, 11:54:25 PM
Quote from: darkangel on January 13, 2021, 11:24:07 PM
ok will test it out soon as I finally go eat sumpin. it says to set it to 0 to disable but when I do it then tells me that to set it to no less than 1

I thought that bug had been fixed. Obviously not 0 is disabled though.

Confirmed.  Cannot disable the auto refresh in TP 2.0.0  :'(

Reopened the issue on GitHub. It's fixed in 2.1.0 not 2.0.1
Title: Re: Weird text issue and text color change for dark themes/shout box
Post by: darkangel on January 14, 2021, 02:16:13 AM
someone said to try turning off wysiwyg but I can't remember in admin where the silly setting is...LOL they said that it is very buggy in 2.0 smf
Title: Re: Weird text issue and text color change for dark themes/shout box
Post by: @rjen on January 14, 2021, 08:54:38 AM
Quote from: tino on January 14, 2021, 02:02:32 AM
Quote from: lurkalot on January 13, 2021, 11:59:44 PM
Quote from: tino on January 13, 2021, 11:54:25 PM
Quote from: darkangel on January 13, 2021, 11:24:07 PM
ok will test it out soon as I finally go eat sumpin. it says to set it to 0 to disable but when I do it then tells me that to set it to no less than 1

I thought that bug had been fixed. Obviously not 0 is disabled though.

Confirmed.  Cannot disable the auto refresh in TP 2.0.0  :'(

Reopened the issue on GitHub. It's fixed in 2.1.0 not 2.0.1

I fixed it for 2.0.1. in PR #815

@tino: can you update the release of 2.0.1 to unclude this fix?

@darkangel, attached file contains the fix for 2.0.0
Title: Re: Weird text issue and text color change for dark themes/shout box
Post by: darkangel on January 14, 2021, 05:20:12 PM
 :D :D It seems to have stopped the typing issue! Thanks guys.