forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: hubfub on February 26, 2006, 02:16:03 pm

Title: when you see the middle sized view
Post by: hubfub 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 :)
Title: Re: when you see the middle sized view
Post by: 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
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,
Title: Re: when you see the middle sized view
Post by: Senator 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
Title: Re: when you see the middle sized view
Post by: Stramm on July 07, 2006, 09:05:32 pm
check this
http://forum.coppermine-gallery.net/index.php?topic=33374.0
Title: Re: when you see the middle sized view
Post by: Senator 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.

Title: Re: when you see the middle sized view
Post by: Stramm on July 07, 2006, 11:48:43 pm
fixed
Title: Re: when you see the middle sized view
Post by: Senator on July 08, 2006, 08:32:17 am
thx
Title: Re: when you see the middle sized view
Post by: wfs 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.

Title: Re: when you see the middle sized view
Post by: Stramm 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
Title: Re: when you see the middle sized view
Post by: Joachim Müller 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... ;)