Previous Thread
Next Thread
Print Thread
Hop To
#265470 10/09/2022 2:10 PM
Joined: Oct 2007
Posts: 361
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 361
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,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
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: 361
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 361
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: 361
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 361
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,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
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: 4
K
Stranger
Stranger
K Offline
Joined: Mar 2023
Posts: 4
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: 4
K
Stranger
Stranger
K Offline
Joined: Mar 2023
Posts: 4
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,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
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: 4
K
Stranger
Stranger
K Offline
Joined: Mar 2023
Posts: 4
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>";
}

Joined: Mar 2023
Posts: 4
K
Stranger
Stranger
K Offline
Joined: Mar 2023
Posts: 4
Originally Posted by sw55
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>";
}
I sent your fix to our IT guy and he says that it will be erased whenever the software updates. It would be really nice if a more permanent fix was implemented, as the caption carryover is STILL occurring.


Global Moderator
Stovebolt.com Forums
Joined: Oct 2007
Posts: 361
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 361
Likes: 8
I went ahead an implemented the fix. We'll see if it works and doesn't break anything.


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

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (Nightcrawler, Ruben), 446 guests, and 194 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)