TinyPortal

Development => Support => Topic started by: IgorS on November 05, 2024, 11:06:01 PM

Title: TinyPortal 3.0.1 - Shoutbox is not scrolled correctly by default
Post by: IgorS on November 05, 2024, 11:06:01 PM
Link to my forum: https://www.truck-spotters.eu/index.php
SMF version: SMF 2.1.4
TP version: TP 3.0.1
Default Forum Language: Polish
Theme name and version: Default Curve2
Browser Name and Version: Chrome 130.0.6723.92
Mods installed: -
Related Error messages: Shoutbox is not scrolled to the bottom when opening the page.

So, I have updated my TP from 3.0.0 to 3.0.1c and looks like default scrolling to display new messages first is not working anymore.
2.png

Previously, when I was opening my forum, Shoutbox was scrolled to the bottom, as my setting was set to "Position of new message: Bottom":
1.png

When I click to "refresh", it is scrolled correctly to display bottom messages:
3.png

Is there some way to fix this? Or maybe I am missing some setup option?
Title: Re: TinyPortal 3.0.1 - Shoutbox is not scrolled correctly by default
Post by: @rjen on November 07, 2024, 08:22:45 AM
Just checked this in my test board.

I can confirm that I see the same: in TP300 it works as expected, but in TP301 it does not.

Need to check what the cause is...
Title: Re: TinyPortal 3.0.1 - Shoutbox is not scrolled correctly by default
Post by: tino on November 07, 2024, 03:41:52 PM
It's probably a div change and the js not firing correctly.
Title: Re: TinyPortal 3.0.1 - Shoutbox is not scrolled correctly by default
Post by: IgorS on November 07, 2024, 08:41:20 PM
Yes, I was checking the logic behind scrolling and it looks the same, so probably the problem is somewhere else.

For now, I have rollback 3.0.1 to 3.0.0.
Title: Re: TinyPortal 3.0.1 - Shoutbox is not scrolled correctly by default
Post by: @rjen on November 07, 2024, 08:42:47 PM
It is in some changes made to the shoutbox layout. I will hunt it down and fix it for the next version
Title: Re: TinyPortal 3.0.1 - Shoutbox is not scrolled correctly by default
Post by: @rjen on November 11, 2024, 05:34:08 PM
Fixed it. was a simple mistake in the file TPShout.php

If you want to run TP 3.0.1 you can install it and simply upload this file to the \Sources folder in your forum
Title: Re: TinyPortal 3.0.1 - Shoutbox is not scrolled correctly by default
Post by: ramiroelliot on November 14, 2024, 04:40:45 AM
Quote from: @rjen on November 11, 2024, 05:34:08 PMFixed it. was a simple mistake in the file TPShout.php

If you want to run TP 3.0.1 you can install it and simply upload this file to the \Sources folder in your forum

Okay thank you!