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
-
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 :)
-
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,
-
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
-
check this
http://forum.coppermine-gallery.net/index.php?topic=33374.0
-
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.
-
fixed
-
thx
-
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.
-
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
-
Locking this thread now, marking as closed. This thread appears to be a garbage can where everybody drops a posting into... ;)