TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

December 13, 2024, 08:36:32 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,443
  • Total Topics: 21,252
  • Online today: 161
  • Online ever: 6,457 (November 30, 2024, 02:40:09 PM)
Users Online
  • Users: 1
  • Guests: 169
  • Total: 170
  • @rjen

TinyPortal 3.0.1 - Shoutbox is not scrolled correctly by default

Started by IgorS, November 05, 2024, 11:06:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IgorS

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.
You cannot view this attachment.

Previously, when I was opening my forum, Shoutbox was scrolled to the bottom, as my setting was set to "Position of new message: Bottom":
You cannot view this attachment.

When I click to "refresh", it is scrolled correctly to display bottom messages:
You cannot view this attachment.

Is there some way to fix this? Or maybe I am missing some setup option?

@rjen

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...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

tino

It's probably a div change and the js not firing correctly.

IgorS

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.

@rjen

It is in some changes made to the shoutbox layout. I will hunt it down and fix it for the next version
Running Latest TP on SMF2.1 at: www.fjr-club.nl

@rjen

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
Running Latest TP on SMF2.1 at: www.fjr-club.nl

ramiroelliot

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!