BBcode under Thumbs BBcode under Thumbs
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

BBcode under Thumbs

Started by cavok, November 09, 2010, 07:40:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cavok

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.
Coppermine 1.5.22 hosting by Free

Αndré

Have you entered that bbcode tags in the title, description or both? I assume in the title?

cavok

BBcode is only in the description.
Coppermine 1.5.22 hosting by Free

Αndré

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?

cavok

Thank you for your answer, like requested, I post on my Coppermine gallery some pictures with BBcode on title and description where you can see the problem.
Coppermine 1.5.22 hosting by Free

Αndré

Seems that this is intended. If you want to use BBCodes in the thumbnail description, open include/functions.inc.php, find
$caption .= '<span class="thumb_caption">' . strip_tags(bb_decode($row['caption'])) . '</span>';
and replace with
$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.

cavok

Okay, this change has worked.
You can see the result on my site mentioned above.

Thank you Αndré for your very good assistance.
Coppermine 1.5.22 hosting by Free

Αndré

You can mark this thread as solved as described here. Thanks.

cavok

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.
Coppermine 1.5.22 hosting by Free

Αndré

Quote from: cavok on November 10, 2010, 06:43:09 PM
Moreover, I can't see Modify, Remove, Split. Only Quote.
That's intended.


Quote from: 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.
Seems that something went wrong during the update of the board software.