Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Profile, comments how to??  (Read 2634 times)

0 Members and 1 Guest are viewing this topic.

mhd

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Profile, comments how to??
« on: September 23, 2004, 06:23:45 am »

Hello,  I'm still trying to get familiar with Coppermine, so if anyone could help me here, or point me to where to look, would be really appreacite.

- How to make the name of author comments to link back to author profile instead of just a name?
- How to put a Send Email to This Person in a profile???
- How to put the number of comments and avarage points of a image into every thumbnail?

Thanks.
Logged

yoshikiwei

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 68
Re: Profile, comments how to??
« Reply #1 on: September 23, 2004, 06:41:55 am »

One question at a time please

heres to your first enquiry
in displayimage.php, find
Code: [Select]
        $params = array('{MSG_AUTHOR}' => $row['msg_author'],replace with
Code: [Select]
        $params = array('{MSG_AUTHOR}' => $row[author_id] >1 ? "<a href=profile.php?uid=$row[author_id]>".$row['msg_author']."</a>" : $row['msg_author'],
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 19 queries.