coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: serg5777 on April 29, 2012, 12:12:30 PM

Title: Additional fields to describe the image (bb code)
Post by: serg5777 on April 29, 2012, 12:12:30 PM
Details please realize that the additional field may be written bb code.
This will need to relink pages galleries. Thank you :)
Title: Re: Additional fields to describe the image (bb code)
Post by: serg5777 on May 01, 2012, 10:48:48 AM
Αndrй please help and then have tried everything :)
Title: Re: Additional fields to describe the image (bb code)
Post by: ΑndrĂ© on May 02, 2012, 11:28:47 AM
Open displayimage.php, find
$info[$CONFIG['user_field' . $i . '_name']] = make_clickable($CURRENT_PIC_DATA['user' . $i]);
and replace with
$info[$CONFIG['user_field' . $i . '_name']] = make_clickable(bb_decode($CURRENT_PIC_DATA['user' . $i]));
(not tested).
Title: Re: Additional fields to describe the image (bb code)
Post by: serg5777 on May 02, 2012, 02:19:23 PM
Thank you ΑndrĂ©, works great!
Title: Re: Additional fields to describe the image (bb code)
Post by: serg5777 on May 02, 2012, 02:21:50 PM
It turns out it was all so simple  :D