Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Album description has hyperlink...  (Read 2548 times)

0 Members and 1 Guest are viewing this topic.

scottcrew

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 29
  • God Bless!
    • Scottcrew Web Services
Album description has hyperlink...
« on: October 26, 2007, 12:07:42 am »

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?
« Last Edit: October 26, 2007, 07:59:02 am by Sami »
Logged

scottcrew

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 29
  • God Bless!
    • Scottcrew Web Services
Re: Album description has hyperlink...
« Reply #1 on: October 26, 2007, 12:12:45 am »

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:
Code: [Select]
$album_desc = get_album_desc($_GET[album]);
to
Code: [Select]
$album_desc = bb_decode(get_album_desc($_GET[album]));
It is working fine, now....
Hope this helps someone else out there...
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Album description has hyperlink...
« Reply #2 on: October 26, 2007, 07:59:30 am »

Thank you for resolving
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.