forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: cavok on November 09, 2010, 07:40:09 pm

Title: BBcode under Thumbs
Post by: cavok on November 09, 2010, 07:40:09 pm
Hello,
Text with BBcode under thumbs displayed without format.
But the same texte with BBcode diplayed correctly under intermediate pictures.
Thank you for your help.
Title: Re: BBcode under Thumbs
Post by: Αndré on November 09, 2010, 10:03:55 pm
Have you entered that bbcode tags in the title, description or both? I assume in the title?
Title: Re: BBcode under Thumbs
Post by: cavok on November 09, 2010, 10:13:17 pm
BBcode is only in the description.
Title: Re: BBcode under Thumbs
Post by: Αndré on November 10, 2010, 11:41:05 am
Please post a link to your gallery, where you have problems with the description. What exactly happens? Do you see the BBCode tags or do you see only the content and the BBCode is stripped without doing anything?
Title: Re: BBcode under Thumbs
Post by: cavok on November 10, 2010, 01:44:32 pm
Thank you for your answer, like requested, I post on my Coppermine gallery (http://decottignies.laurent.free.fr/coppermine/thumbnails.php?album=69) some pictures with BBcode on title and description where you can see the problem.
Title: Re: BBcode under Thumbs
Post by: Αndré on November 10, 2010, 04:07:11 pm
Seems that this is intended. If you want to use BBCodes in the thumbnail description, open include/functions.inc.php, find
Code: [Select]
$caption .= '<span class="thumb_caption">' . strip_tags(bb_decode($row['caption'])) . '</span>';and replace with
Code: [Select]
$caption .= '<span class="thumb_caption">' . $row['caption'] . '</span>';
I cannot test that change, as for some reason BBCode won't be processed in my gallery.
Title: Re: BBcode under Thumbs
Post by: cavok on November 10, 2010, 05:06:10 pm
Okay, this change has worked.
You can see the result on my site mentioned above.

Thank you Αndré for your very good assistance.
Title: Re: BBcode under Thumbs
Post by: Αndré on November 10, 2010, 05:27:14 pm
You can mark this thread as solved as described here (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631). Thanks.
Title: Re: BBcode under Thumbs
Post by: cavok on November 10, 2010, 06:43:09 pm
Sorry, I can't mark this thread as solved as described.
I don't see the small tick in the top right of my initial posting.
Moreover, I can't see Modify, Remove, Split. Only Quote.
However I am logged.
Title: Re: BBcode under Thumbs
Post by: Αndré on November 10, 2010, 07:17:02 pm
Moreover, I can't see Modify, Remove, Split. Only Quote.
That's intended.


Sorry, I can't mark this thread as solved as described.
I don't see the small tick in the top right of my initial posting.
Seems that something went wrong during the update of the board software.