Previous Thread
Next Thread
Print Thread
Hop To
#265470 10/09/2022 1:10 PM
Joined: Oct 2007
Posts: 346
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 346
Likes: 8
This was posted to me in a private message.
Quote
Update. So I went back to my post and deleted the pictures and reinserted them WITH captions. Then scrolling down the thread, I opened the next picture posted and it had the caption for the last picture I posted. So it seems that the caption is sticky until someone enters one on another photo. Farther down, there's a photo I think by Martin that has no caption, so I don't know what's going on there, unless he entered a space for the caption of that picture, which I doubt. Then farther down, Tuts posted a couple pics with captions, then Martin posted another which got the caption from Tuts' last photo.
So, it appears that, if an image does not have a caption, it displays the caption from the last image that did have a caption.

Is this by design?


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB
Joined: Jun 2006
Posts: 16,253
Likes: 113
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,253
Likes: 113
Could we get a link to a page exhibiting this behavior?

Are these captions being added to an image through a gallery or attachment upload, or are these HTML inserts?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Oct 2007
Posts: 346
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 346
Likes: 8
This is the thread: https://www.stovebolt.com/ubbthread...done-on-your-bolt-today.html#Post1469936

The captions are being added to attachments in a normal forum, not a gallery forum.


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB
Joined: Oct 2007
Posts: 346
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 346
Likes: 8
No one has an answer for this?


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB
Joined: Jun 2006
Posts: 16,253
Likes: 113
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,253
Likes: 113
We are in the process of finalizing code changes for a new build with PHP8.3 capability, and Isaac has been on vacation; we'll work on seeing if there's a reason for this behavior when time permits.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
1 member likes this: Baldeagle
Joined: Mar 2023
Posts: 3
K
Stranger
Stranger
K Offline
Joined: Mar 2023
Posts: 3
Any update on this issue? It's been quite a while, and the issue kind of gums up the works a bit. Just following up for Baldeagle (I'm a moderator on the forum he's the tech guy for.)

Thanks for any update.


Global Moderator
Stovebolt.com Forums
Joined: Mar 2023
Posts: 3
K
Stranger
Stranger
K Offline
Joined: Mar 2023
Posts: 3
Another ping.
We've had to do some workarounds to keep unrelated photo captions from appearing on photos further down a thread.
An update would be appreciated.
Thanks


Global Moderator
Stovebolt.com Forums
Joined: Dec 2003
Posts: 6,541
Likes: 76
Joined: Dec 2003
Posts: 6,541
Likes: 76
This seems to be a first time reported issue with the code and I do not recall any patch in the new version that resolves it.
I could be wrong.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Mar 2023
Posts: 3
K
Stranger
Stranger
K Offline
Joined: Mar 2023
Posts: 3
Coming up on a year since this issue was reported. We've been dealing with it for way too long. It's still happening. If someone puts a caption on a photo, that same caption appears on all the photos in a thread, unless someone adds a caption to another photo, then that one gets duplicated on subsequent photos.
We'd really like to quit dealing with this. We've tried training our members to ALWAYS add a caption to their photos, but with little success.


Global Moderator
Stovebolt.com Forums
Joined: Nov 2008
Posts: 39
S
Newbie
Newbie
S Offline
Joined: Nov 2008
Posts: 39
There is a simple fix. Add the following line to the file showflat.inc.php

$file_descp = "";

Add it right before the following code.
if ($file_desc) {
$file_descp = "<p>" . $file_desc . "</p>";
}


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
HTML rendering of UBB Code / browser compatibility
by Michael_E6D9 - 12/01/2023 3:04 PM
Email Send Out
by Outdoorking - 11/30/2023 12:36 AM
Server Move
by Outdoorking - 11/24/2023 4:39 AM
Third-party spam detected & Theme Issue
by ThreadsUser - 11/22/2023 11:31 AM
Google Third-Party Spam Warning
by Morgan - 11/22/2023 7:08 AM
Who's Online Now
0 members (), 135 guests, and 203 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)