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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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