Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Feedback:
I found something that could be a bug or wrong in 7.7.5
I have added and enabled a couple boards so that they are in the portal page.
One sponsor had posted a promo with a rather large image so
I enabled News Body Image (News Block)

The text changed from (this is the actual post)
Quote
Our annual Black Friday & Cyber Monday (weekend) sale is right around the corner!

This year our discount will be 10% off all items storewide; includes parts, clothing, tools, tires, and everything else "in-stock" on the site when you spend $50USD or more

This is how it is presented in the portal page: see the & a m p ; and & q b i t ; i n - s t o c k & q u i t ; PLEASE NOTE I ADDED SPACES BETWEEN THE LETTERS HERE IN THIS POST.
Quote
Our annual Black Friday & a m p ; Cyber Monday (weekend) sale is right around the corner! This year our discount will be 10% off all items storewide; includes parts, clothing, tools, tires, and everything else & q u i t ; i n - s t o c k & q u i t ; on the site when you spend $50USD or more There will...

You can see it here http://www.britbike.com/forums/ its the
Black Friday / Cyber Monday Sale - 2020 topic

Last edited by isaac; 10/31/2020 6:40 PM. Reason: mode discussion thread, and updated topic title

Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
That is called a "News Block." It can be enabled/disabled from within Control Panel > Portal > News Body Image (News Block). It is the modern news format on portals and blogs. With the setting disabled, the portal is displayed as classic format.

Quote
News Body Image (News Block)
When enabled, this will search the news item until it finds the first image. If that image is larger than 240x240, it will display it as a "News Block" with the post text to the right of it. Text is truncated to 400 characters. All line breaks and HTML are stripped. If no image is found, the news item is displayed normally.

It was introduced in UBB.threads 7.7.2 (2019-07-02)
https://www.ubbcentral.com/changelog.php#772


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Thanks for the info but what about the text that is not presented right?
That is what I reported

Maybe I should open a bug thread for that one should I?

[Linked Image]


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
Originally Posted by Morgan
Thanks for the info but what about the text that is not presented right?
That is what I reported

Maybe I should open a bug thread for that one should I?

[Linked Image]

This is not a bug.

You have "News Block" enabled. If you do not want news blocks, disable them. If you want to continue using news blocks, the reader can click "Read More" on the news block to read more about that news item.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Isaac I just turned on the News block today to make it smaller in the portal than it looks in the classic layout
when doing that the characters & and " changed in the text and turned into unreadable & a m p and & q b i t ; i n - s t o c k & q u i t ;
this is what I reported.

I only wanted to report that.


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
Ok, I understand now. Thank you laugh

I will move this version 7.7.2 bug report out of the 7.7.5 changelog, and in to its own thread.

EIther disable News Blocks, which will fix the html-encoded characters right now. OR As an admin account, change the post on your site to "HTML and UBBCode" which should be a quick fix for right now. I'm not sure if you can do this if the post was created by a non-admin account. but...

I have a simple code update for you to do on your portal template to fix it. But I am on mobile at the moment, and wont be near a desktop for another few more hours, as it is 3:30 AM Pacific time where I'm at right now.

Again, thank you.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
1 member likes this: Morgan
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Its almost noon here so go to bed now do you hear.. wink
I'll look forward to the code update whenever you find time.
Thanks


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
I have moved this thread to its own topic, and will post a simple fix for you by the end of today 10/31 -- Halloween night activities pending onoes

the fix is simple and easy to implement, but i need to test all scenarios before posting here.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
1 member likes this: Morgan
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
Whenever its tested I look forward to the fix
Thank you for all the help you provide.
Cheers


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
FIND IN scripts/portal.inc.php
AROUND LINE 79
Code
			$bodyTXT = ubbchars(strip_tags($bodyTXT));	// All HTML is stripped

REPLACE WITH
Code
			$bodyTXT = strip_tags($bodyTXT);			// All HTML is stripped

This update will be in the next release


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
2 members like this: Gizmo, Morgan
Joined: Jun 2006
Posts: 987
Likes: 24
Old Hand
Old Hand
Joined: Jun 2006
Posts: 987
Likes: 24
It worked smile
Thank you very much!


Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php
1 member likes this: isaac

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 396 guests, and 110 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)