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: when you see the middle sized view  (Read 8064 times)

0 Members and 1 Guest are viewing this topic.

hubfub

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
when you see the middle sized view
« on: February 26, 2006, 02:16:03 pm »

hi guys im just wondering when usee the medium sized view of a photo it shows the title and the description but not the user who posted the photo

how do i make it to that it shows the user who posted the photo

thanks :)
« Last Edit: August 11, 2006, 02:39:05 pm by GauGau »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: when you see the middle sized view
« Reply #1 on: February 26, 2006, 04:36:11 pm »

from your sample/theme.php copy the var $template_img_navbar and the function theme_html_img_nav_menu over to the theme you're using
now add a line where it's appropriate in template_img_navbar similar to
Code: [Select]
<strong><br />{PIC_TITLE}</strong> from <a href="profile.php?uid={OWNER_ID}"><strong>{OWNER_NAME}</strong></a>

in function theme_html_img_nav_menu replace
Code: [Select]
    $pid = $CURRENT_PIC_DATA['pid'];with
Code: [Select]
    $pid = $CURRENT_PIC_DATA['pid'];
($CURRENT_PIC_DATA['title']) ? $title=$CURRENT_PIC_DATA['title'] : $title="No name";

Code: [Select]
        '{PIC_POS}' => $pic_pos,
with
Code: [Select]
        '{PIC_POS}' => $pic_pos,
        '{OWNER_NAME}' => $CURRENT_PIC_DATA['owner_name'],
        '{OWNER_ID}' => $CURRENT_PIC_DATA['owner_id'],
        '{PIC_TITLE}' => $title,

Senator

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
Re: when you see the middle sized view
« Reply #2 on: July 07, 2006, 07:25:45 pm »

from your sample/theme.php copy the var $template_img_navbar and the function theme_html_img_nav_menu over to the theme you're using
now add a line where it's appropriate in template_img_navbar similar to

Hello, iám trying this, but i don understand exactly what are you meaning with the above instructions. Can you explain it otherwise please.

Greetings Senator
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt

Senator

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
Re: when you see the middle sized view
« Reply #4 on: July 07, 2006, 11:31:38 pm »

check this
http://forum.coppermine-gallery.net/index.php?topic=33374.0

Thankyou, that what iám looking for, i've installed the pluggin, but it works not correctly.

Above al the midlesized pics, het shows the name Quest.

When i loggin i see above all the pics my loginname. And not the original uploadersname.

Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: when you see the middle sized view
« Reply #5 on: July 07, 2006, 11:48:43 pm »

fixed

Senator

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
Re: when you see the middle sized view
« Reply #6 on: July 08, 2006, 08:32:17 am »

thx
Logged

wfs

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 95
Re: when you see the middle sized view
« Reply #7 on: August 11, 2006, 09:15:43 am »

Hello,

I uploaded the pic_poster_zip to my site.

It didn't work - I still see the file numbers instead of filenames.

did I do it correctly - I unzipped the files to my root folder?

Pse advise.

thanks.

Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: when you see the middle sized view
« Reply #8 on: August 11, 2006, 09:30:49 am »

read on how to install plugins in the documentation. The initial thread doesn't have to do with that plugin. So if you have problems with it, it's better to post in the plugins board

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: when you see the middle sized view
« Reply #9 on: August 11, 2006, 02:38:55 pm »

Locking this thread now, marking as closed. This thread appears to be a garbage can where everybody drops a posting into... ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 21 queries.