Looking for "File Information" code in Coppermine Looking for "File Information" code in Coppermine
 

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

Looking for "File Information" code in Coppermine

Started by Chopper, March 21, 2005, 07:37:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chopper

Hi,

I'm trying to edit a specific line of code in Coppermine. It's within the file information section that appears just below the uploaded image and rating stars (on the displayimage.php page).

The line in the File Information that I wish to edit is the link shown in read below:

Filename: Imhotep.jpg
Album name:  Chopper (some IP address #)  / Character Designs
File Size: 32 KB
Dimensions: 300 x 501 pixels
Displayed: 42 times
Favorites: Add to Favorites

What I want to do is find the code that makes up that link in order to change it so it goes to the user's PHPBB profile (rather than the Coppermine profile). I must have looked through theme.php a dozen times and I can't find it. Can someone with knowledge about all the Coppermine files tell me where the link to the username is coming from?





foulu


Chopper

Thanks foulu,

For future reference to those working on integrating userlinks within Coppermine to the PHPBB profile, here's what I did.

In displayimage.php:

Found the line:

$owner_link = '<a href ="profile.php?uid=' . $CURRENT_PIC_DATA['owner_id'] . '">'

and changed it to:

$owner_link = '<a href ="../forums/profile.php?mode=viewprofile&u=' . $CURRENT_PIC_DATA['owner_id'] . '">'

where "forums" is the the PHPBB directory that contains my profile.php file.