forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: shadowc on April 16, 2004, 03:30:32 am

Title: Usernames to Userid
Post by: shadowc 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 ?
Title: Usernames to Userid
Post by: Joachim Müller 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
Title: Usernames to Userid
Post by: shadowc 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
Title: Re: Usernames to Userid
Post by: real1 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
Title: Re: Usernames to Userid
Post by: Joachim Müller 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