hello!
I ran into a little problem with the use of board 3
namely, i am running your portal software on bronies.nl, and we use the news segment.
however i find that it adds a lot of blank space (<BR>) to the text, wich makes it rather stretched out, is there any way to fix this, so the markup is the same as in the original post?
Kind regards, Merte.
extra newlines on latest news
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
-
Topic author - Active Member
- Posts: 1
- Joined: 26. February 2018 23:01
-
- Portal Professional
- Posts: 1844
- Joined: 27. July 2010 18:02
- phpBB.de User: Kirk
Re: extra newlines on latest news
Hi
Open:
Find:
Replace with:
Open:
root/ext/board3/portal/portal/fetch_posts.php
Find:
Code: Select all
$message = str_replace(array("\n", "\r"), array('<br />', "\n"), $row['post_text']);
Code: Select all
$message = str_replace(array("\n", "\r"), array("\n"), $row['post_text']);