Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Additional fields to describe the image (bb code)  (Read 3606 times)

0 Members and 1 Guest are viewing this topic.

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Широкоформатные обои для рабочего стола
Additional fields to describe the image (bb code)
« 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 :)
Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Широкоформатные обои для рабочего стола
Re: Additional fields to describe the image (bb code)
« Reply #1 on: May 01, 2012, 10:48:48 am »

Αndrй please help and then have tried everything :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Additional fields to describe the image (bb code)
« Reply #2 on: May 02, 2012, 11:28:47 am »

Open displayimage.php, find
Code: [Select]
$info[$CONFIG['user_field' . $i . '_name']] = make_clickable($CURRENT_PIC_DATA['user' . $i]);and replace with
Code: [Select]
$info[$CONFIG['user_field' . $i . '_name']] = make_clickable(bb_decode($CURRENT_PIC_DATA['user' . $i]));(not tested).
Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Широкоформатные обои для рабочего стола
Re: Additional fields to describe the image (bb code)
« Reply #3 on: May 02, 2012, 02:19:23 pm »

Thank you Αndré, works great!
Logged

serg5777

  • Coppermine frequent poster
  • ***
  • Country: ru
  • Offline Offline
  • Gender: Male
  • Posts: 171
    • Широкоформатные обои для рабочего стола
Re: Additional fields to describe the image (bb code)
« Reply #4 on: May 02, 2012, 02:21:50 pm »

It turns out it was all so simple  :D
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 21 queries.