News: July 9th, 2018, The Tinyportal team is pleased to announce the release of ~~ TinyPortal 1.5.1! GET IT NOW!!!

Login  |  Register
* *
TinyPortal on Twitter
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 16, 2018, 11:28:58 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 184729
  • Total Topics: 20513
  • Online Today: 38
  • Online Ever: 383
  • (January 02, 2015, 05:58:49 AM)
Users Online
Users: 3
Guests: 23
Total: 26

Skinz





amazon.com

Author Topic: Intro text bbc articles getting line feeds  (Read 161 times)

0 Members and 1 Guest are viewing this topic.

Online @rjen

  • Support Team
  • *
  • Posts: 531
    • FJR-club Nederland
Intro text bbc articles getting line feeds
« on: August 02, 2018, 03:18:58 PM »
Noticed something funny with the short text for bbc articles. It seems to be setting line feeds based on the size of the entry screen...

Example: https://test.fjr-club.nl/index.php?cat=Nieuws

I created the article on my iPhone : the short text is line feeded by the screen size : this is not intentional!
When I create the text in landscape format it does the same but with longer lines...

This does not seem to occur with html articles..,
Running TP1.5.1 on SMF2.0 at: www.fjr-club.nl
Testing TP1.5.1 on SMF2.0 at: https://test.fjr-club.nl
Testing TP1.5.1 on SMF2.1 at: https://test2.fjr-club.nl

Offline tino

  • Developer
  • *
  • Posts: 899
Re: Intro text bbc articles getting line feeds
« Reply #1 on: August 02, 2018, 04:01:19 PM »
The bbc editor is the one from SMF? Does the standard forum post exhibit the same issue?

Online @rjen

  • Support Team
  • *
  • Posts: 531
    • FJR-club Nederland
Re: Intro text bbc articles getting line feeds
« Reply #2 on: August 02, 2018, 04:08:27 PM »
The bbc editor is the one from SMF? Does the standard forum post exhibit the same issue?

No it does not. Btw the ‘ intro text field’. Does not really have a editor I believe...
It’s the one in attached screenshot...

Running TP1.5.1 on SMF2.0 at: www.fjr-club.nl
Testing TP1.5.1 on SMF2.0 at: https://test.fjr-club.nl
Testing TP1.5.1 on SMF2.1 at: https://test2.fjr-club.nl

Online lurkalot

  • Administrator
  • *
  • Posts: 4838
    • Camera Craniums
Re: Intro text bbc articles getting line feeds
« Reply #3 on: August 03, 2018, 01:13:56 AM »
The bbc editor is the one from SMF? Does the standard forum post exhibit the same issue?

No it does not. Btw the ‘ intro text field’. Does not really have a editor I believe...
It’s the one in attached screenshot...

Ooh, nasty.  @rjen, was the text in the intro copied and pasted from the text in the bbc editor above? or was it typed?  What happens if you save the article, preview it, and then grab that text from the main article and paste it into the intro?

EDIT: Ignore that last question, I can see it doesn't make a difference.  I can replicate the problem on my Laptop using Chrome Window Resizer. Here's a screenshot  of an older intro done on my laptop at full screen, and a new one using he window resizer.

And another screenshot, when I go back and visit the edit page via my laptop at normal rez.
Mick aka lurkalot.

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.3
Guitarist Guild Running SMF 2.0.15 / Tinyportal 1.4R Beta
The Garden Machinery Forum Running SMF 2.0.15 / Tinyportal 1.4R Beta

Offline tino

  • Developer
  • *
  • Posts: 899
Re: Intro text bbc articles getting line feeds
« Reply #4 on: August 03, 2018, 07:17:41 AM »

Online @rjen

  • Support Team
  • *
  • Posts: 531
    • FJR-club Nederland
Re: Intro text bbc articles getting line feeds
« Reply #5 on: August 03, 2018, 07:21:10 AM »
Ok only occurs in Chrome it seems.

https://github.com/tinoest/TinyPortal/commit/bad785e5e1566be72b30a4c8c75e77f8734c8235

Fixes the issue.

In my case it happened in Safari as well.
Mick, I found it in working on the docs site. Any chance to put the fix there ?
Running TP1.5.1 on SMF2.0 at: www.fjr-club.nl
Testing TP1.5.1 on SMF2.0 at: https://test.fjr-club.nl
Testing TP1.5.1 on SMF2.1 at: https://test2.fjr-club.nl

Online lurkalot

  • Administrator
  • *
  • Posts: 4838
    • Camera Craniums
Re: Intro text bbc articles getting line feeds
« Reply #6 on: August 03, 2018, 10:57:02 AM »
Ok only occurs in Chrome it seems.

https://github.com/tinoest/TinyPortal/commit/bad785e5e1566be72b30a4c8c75e77f8734c8235

Fixes the issue.

In my case it happened in Safari as well.
Mick, I found it in working on the docs site. Any chance to put the fix there ?

Added the fix over there now.  Though it was different line numbers from the ones shown in the repo.

It was on lines,

2253 and 2265
Mick aka lurkalot.

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.3
Guitarist Guild Running SMF 2.0.15 / Tinyportal 1.4R Beta
The Garden Machinery Forum Running SMF 2.0.15 / Tinyportal 1.4R Beta

Offline tino

  • Developer
  • *
  • Posts: 899
Re: Intro text bbc articles getting line feeds
« Reply #7 on: August 03, 2018, 11:01:21 AM »
Probably would be as that repo includes the other changes I made to the menu manager.

Online @rjen

  • Support Team
  • *
  • Posts: 531
    • FJR-club Nederland
Re: Intro text bbc articles getting line feeds
« Reply #8 on: August 03, 2018, 11:05:31 AM »
Just checked it on the shoutbox document and the problem is solved!
Running TP1.5.1 on SMF2.0 at: www.fjr-club.nl
Testing TP1.5.1 on SMF2.0 at: https://test.fjr-club.nl
Testing TP1.5.1 on SMF2.1 at: https://test2.fjr-club.nl

Online lurkalot

  • Administrator
  • *
  • Posts: 4838
    • Camera Craniums
Re: Intro text bbc articles getting line feeds
« Reply #9 on: August 03, 2018, 11:16:54 AM »
Probably would be as that repo includes the other changes I made to the menu manager.

Thanks, I thought that might be the case.  ;)

Just checked it on the shoutbox document and the problem is solved!

Cool.  Thanks for letting us know.  :tick:
Mick aka lurkalot.

Camera Craniums Running SMF 2.0.13 / Tinyportal 1.3
Guitarist Guild Running SMF 2.0.15 / Tinyportal 1.4R Beta
The Garden Machinery Forum Running SMF 2.0.15 / Tinyportal 1.4R Beta