forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: dub_doctor on January 22, 2006, 04:08:57 am
-
How do you make bbcode in an image description display correctly when looking at the thumbnail page thumbnails.php? In 1.4.3 the description text appears correctly in thumbnails.php, but the bbcode is not applied. In particular, I need the image description to work as an web link from the thumbnaill page (it works correctly from displayimage.php)
I'm sure this isn't difficult to do, but I've tried and can't do it. It used to work in v1.3.
I've also scoured these boards for a solution with no luck.
-
not a valid feature request, moving to support board
-
Sorry. I wasn't sure if this was a feature request or a support inquiry.
Anyone out there know the solution to the BBcode issue?
-
For future reference, there is a sticky to help guide you to decide between a support inquiry and feature request.
Generally, a thread starting with "How do" is a support request for a current version.
-
Bump.
I've also noticed that bbcode in description doesn't work in "Last Additions" and "Random Files" on the index page.
Does anybody know how this can be fixed so that bb code is applied?
-
http://forum.coppermine-gallery.net/index.php?topic=25256.msg116346#msg116346
-
Thanks Nibbler
Looks like someone decided to disable that feature. Edit include/functions.inc.php
if ($CONFIG['caption_in_thumbview']){
$caption .= $row['caption'] ? "<span class=\"thumb_caption\">".strip_tags(bb_decode($row['caption']))."</span>" : '';
}
and remove the strip_tags
if ($CONFIG['caption_in_thumbview']){
$caption .= $row['caption'] ? "<span class=\"thumb_caption\">".bb_decode($row['caption'])."</span>" : '';
}
That was easy!