Advanced search  

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

Pages: [1]   Go Down

Author Topic: Profile, comments how to??  (Read 2633 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.016 seconds with 20 queries.