forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: _clark_ on December 18, 2006, 05:51:30 pm

Title: Thumbnails no-show link
Post by: _clark_ on December 18, 2006, 05:51:30 pm
Hi,

I've insert this tag in a photo description:

Click here (http://forum.funghiitaliani.it/index.php?showtopic=32993&st=0)


But when I show thumbnails this link is not active...

You can see it here:
http://galleriafiori.funghiitaliani.it/index.php?cat=21
(the latest thumbnails on the right in the end of the page)

In the precedent version it works well...

you can see it here:
http://pietrocurti.funghiitaliani.it/thumbnails.php?album=6


Why?

Thank you very much...

Title: Re: Thumbnails no-show link
Post by: _clark_ on December 18, 2006, 05:52:40 pm
Hi,

I've insert this tag in a photo description:

Click here (http://www.example.it)


But when I show thumbnails this link is not active...

You can see it here:
http://galleriafiori.funghiitaliani.it/index.php?cat=21
(the latest thumbnails on the right in the end of the page)

In the precedent version it works well...

you can see it here:
http://pietrocurti.funghiitaliani.it/thumbnails.php?album=6


Why?

Thank you very much...


Title: Re: Thumbnails no-show link
Post by: _clark_ on December 18, 2006, 05:54:58 pm
Sorry,

I didn't want to write two messages...
Title: Re: Thumbnails no-show link
Post by: Tranz on December 18, 2006, 06:01:44 pm
I can't remember if this is the culprit, but try this. Edit include/functions.inc.php

FIND:
Code: [Select]
$caption .= $row['caption'] ? "<span class=\"thumb_caption\">".strip_tags(bb_decode($row['caption']))."</span>" : '';
REPLACE with:
Code: [Select]
$caption .= $row['caption'] ? "<span class=\"thumb_caption\">".bb_decode(process_smilies($row['caption']))."</span>" : '';
Title: Re: Thumbnails no-show link
Post by: Tranz on December 18, 2006, 06:06:00 pm
You really should upgrade your older gallery. Many security fixes have been released since then.
Title: Re: Thumbnails no-show link
Post by: _clark_ on December 18, 2006, 06:16:46 pm
I have alredy done the upgrade... and in the new version there is this problem...

Now I've replied the code in function.inc.php and the active link in thumbnails works well...

Thank you!