Album description has hyperlink... Album description has hyperlink...
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Album description has hyperlink...

Started by scottcrew, October 26, 2007, 12:07:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scottcrew

I used the function and $album_desc definition described at: http://forum.coppermine-gallery.net/index.php?topic=40315.0

However, the problem is in that when {$album_desc} is rendered in the album thumbnails, it prints as plain text and the bbcode url is not interpreted.

Did I miss something in the translation?

scottcrew

Wouldn't you know it... just as I sent the post I had a flash go off in my brain...
I remembered seeing something like bb_decode in the files, so I looked for that...
Turns out all I needed to do was change:
$album_desc = get_album_desc($_GET[album]);

to
$album_desc = bb_decode(get_album_desc($_GET[album]));

It is working fine, now....
Hope this helps someone else out there...

Sami

‍I don't answer to PM with support question
Please post your issue to related board