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: Usernames to Userid  (Read 3519 times)

0 Members and 1 Guest are viewing this topic.

shadowc

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Usernames to Userid
« on: April 16, 2004, 03:30:32 am »

How do i find out my users userid.

My idea is to put a link under each user in my forum (SMF) to thier personal gallery in coppermine, but how do i get the userid from the username or can i use the username direct ?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Usernames to Userid
« Reply #1 on: April 16, 2004, 08:21:20 am »

When using bbs integration, coppermine uses the user database of your forum (smf). You'll have to modify smf code, so this is simply the wrong board to post your question in.

GauGau
Logged

shadowc

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Usernames to Userid
« Reply #2 on: April 16, 2004, 11:16:17 pm »

For your information.

I have solved the problem with users personal gallery and coppermine, i added this code in Display.template.php after the avatar code.

// Add for personal gallery

echo '
', '<a href="http://www.edgeflyfishing.com/coppermine/index.php?cat=', $message['member']['id']+10000, '"/>Personal Gallery</a><br />';

// End

You can check it out in any post in my forum.
http://www.edgeflyfishing.com/forum
Logged

real1

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Usernames to Userid
« Reply #3 on: September 15, 2004, 01:31:24 am »

Hi, i'm currently using nuke with phpbb forum, but i can't seem to find that file
Quote from: shadowc
Display.template.php
can i do that on nuke with phpbb. Thank's.


P.S. Coppermine Gallery really ROCKS!

CU
Paulo ;D
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Usernames to Userid
« Reply #4 on: September 15, 2004, 09:23:50 am »

hard to say for us here, since this board only deals with the standalone version of coppermine, not the nuked version. We have no experience with nuked installs.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 18 queries.