How add uploader name into [] ? How add uploader name into [] ?
 

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

How add uploader name into [] ?

Started by jazmi, January 19, 2007, 12:39:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jazmi

Hi everybody?

I've been searching for hours how to put the uploader name into [] . So that the uploader's name under the thumbnail show like : [joe] instead of just joe.

Here's a link to my gallery so you'll understand why in the world i'm trying to do this...

http://www.dklik.net/galeries/index.php

Another way to solve my problem would be to show the category name instead of the uplaoder name. Is that possible?

My theme is 2bornot2b.

Thanks a LOT for all the help you gave me through this board before this question.

Gizmo

To put the brackets around the name, in functions.inc.php find
            $caption .= ($row['owner_id'] && $row['owner_name']) ? '<span class="thumb_title"><a href ="profile.php?uid='.$row['owner_id'].'">'.$row['owner_name'].'</a></span>' : '';
and replace with
            $caption .= ($row['owner_id'] && $row['owner_name']) ? '<span class="thumb_title"><a href ="profile.php?uid='.$row['owner_id'].'">['.$row['owner_name'].']</a></span>' : '';
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

jazmi

It works just perfect !!!

Thanks a lot for four time  :)

Have a nice day.

Jazmi


Qayyom

WHERE IS functions.inc.php FILE I DON'T FIND IT ANY WHERE

NEED MORE DETAILS
Qayyom Ashraf .:|:. Karachi-PK
*Image Removed*

Gizmo

Stop yelling and don't be so lazy. You obviously didn't look hard enough since there aren't that many directories to look in. Try the include directory. Next time be more polite!  >:(
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision