when you see the middle sized view when you see the middle sized view
 

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]

Main Menu

when you see the middle sized view

Started by hubfub, February 26, 2006, 02:16:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hubfub

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 :)

Stramm

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
<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
    $pid = $CURRENT_PIC_DATA['pid'];
with
    $pid = $CURRENT_PIC_DATA['pid'];
($CURRENT_PIC_DATA['title']) ? $title=$CURRENT_PIC_DATA['title'] : $title="No name";


        '{PIC_POS}' => $pic_pos,

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

Senator

Quote from: Stramm 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

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


Senator

Quote from: Stramm on July 07, 2006, 09:05:32 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.


Stramm


Senator


wfs

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.


Stramm

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

Locking this thread now, marking as closed. This thread appears to be a garbage can where everybody drops a posting into... ;)