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: Show user name  (Read 4303 times)

0 Members and 1 Guest are viewing this topic.

leyomm

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Show user name
« on: April 22, 2004, 03:35:40 pm »

Hello, anyone knows if is possible to show in the image information the user name and not only the album name? maybe there is a hack or a mod to do that.
or, change album names for gallery name because for me in my photograph site is more important to know who´s the owner of the picture than the album´s name...
Thank you!!!!

c u


ByzzzzZZZZZZZzzzzzZZZZZZZZZZZZZZZzzzzzzzzzzz


(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fusuarios.lycos.es%2Fleyomm2%2Fimagenes%2Fdemo.jpg&hash=86f57ef74f747230fdc1964515e3a5096d4ef402)


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Show user name
« Reply #1 on: April 22, 2004, 03:45:12 pm »

in coppermine config, take a look at the "custom fields". You can use one of them for your purpose - just label it "photographer" and it should be visible in pic info section.

GauGau
Logged

leyomm

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Show user name
« Reply #2 on: April 22, 2004, 03:49:21 pm »

yeah... i thought in it but i´m using the 4 customl fields (i´ve seen the modification to put more custom fields) but the problem is that i have 500 pictures on my DB so, i´m trying to find something easier :)

thank you for your help!!! ;)



ByzzzZZZZZZZZZzzzzzzZZZZZZZZZZZzzzzzzzzzzz
Logged

leyomm

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Show user name
« Reply #3 on: April 22, 2004, 11:52:18 pm »

I thing i have found the code line inside displayimage.php, but i don´t know what to do with that! ???
where it says "Album name" in line 8 should say user gallery name, have you got any idea to change it?

Code: [Select]
// Display picture information
function html_picinfo()
{
global $CONFIG, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA;
global $album, $lang_picinfo, $lang_display_image_php, $lang_byte_units;

$info[$lang_picinfo['Filename']]   = htmlspecialchars($CURRENT_PIC_DATA['filename']);
$info[$lang_picinfo['Album name']] = '<span class="alblink"><a href="modules.php?name=coppermine&file=thumbnails&album=' . $CURRENT_PIC_DATA['aid'] . '">' . $CURRENT_ALBUM_DATA['title'].'</a></span>';

if ($CURRENT_PIC_DATA['votes'] > 0) {
   $info[sprintf($lang_picinfo['Rating'], $CURRENT_PIC_DATA['votes'])] = '<img src="modules/coppermine/images/rating'.round($CURRENT_PIC_DATA['pic_rating']/2000).'.gif" align="absmiddle"/>';
}

thx!!!

ByzzZZZZZZZZZZZzzzzZZZZZZZZZZZZZZZzzzzzzzzzzzzzzzzzz
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Show user name
« Reply #4 on: April 23, 2004, 07:06:47 am »

ehrm, you're using the nuke port of coppermine - this board here is dedicated to the standalone version of coppermine only. Since both version differ greatly, I recommend you look for support on the nuke board - see http://forum.coppermine-gallery.net/index.php?topic=2277.0

GauGau
Logged

leyomm

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Show user name
« Reply #5 on: April 23, 2004, 07:30:04 am »

ok, thx and sorry  ;)


ByzzzzZZZZZZZZZZzzzzzzzzzzzzzzzzzZZZZZZZzzzz
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 18 queries.