coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: crashnet on February 10, 2006, 02:55:12 AM

Title: Correcting member profile link on photos
Post by: crashnet on February 10, 2006, 02:55:12 AM
Hi,

I recently had a member that was accidently deleted from the member list.  I have IPB bridged with Coppermine.  The member signed up again and all of the posts/comments/photos that the member originally uploaded are all intact.  The problem is, the link to the member's profile in the photoinfo of all of the photos they submitted is the old URL, when the member is a different member number now.  Is there any way to fix this without uploading everything all over again?  Thanks for the help in advance!
Title: Re: Correcting member profile link on photos
Post by: Joachim Müller on February 10, 2006, 09:26:47 AM
needs fixing in IPB instead of coppermine. Modify the users table of IPB to give this user the old ID. Much easier than fixing many entries in coppermine's tables.
Title: Re: Correcting member profile link on photos
Post by: crashnet on February 10, 2006, 08:43:48 PM
Thanks GauGau for your response.  I actually thought of this almost immediately after posting this thread and I tried it out.  Now, it does fix and IBP problems, and it does relink the new member with their old submissions; however, when you click on that member's link to go to their profile, it goes to a Coppermine profile rather than the IPB profile it usually goes to since the two are bridged with one another.  Is there a way to fix that?
Title: Re: Correcting member profile link on photos
Post by: Joachim Müller on February 10, 2006, 09:40:04 PM
what did you actually change and what link from where to where is wrong? Post more details, with links etc.
Title: Re: Correcting member profile link on photos
Post by: crashnet on February 11, 2006, 03:20:32 AM
Quote from: GauGau on February 10, 2006, 09:40:04 PM
what did you actually change and what link from where to where is wrong? Post more details, with links etc.

I guess it would help if I weren't so vague wouldn't it.  Plus, I jumped ahead of myself and didn't think to check other members.

Here is a link to a user submitted photo:
http://www.papered.net/wallpapers/displayimage.php?album=121&pos=0

Click on Photoinfo to bring up the info and then click on the username (practiceheart).  I failed to check to see if this was gallery wide with all members, but when you click on that link, the Coppermine profile comes up and not the IPB profile for that member.  To be honest, I do not remember if the IPB Profile is supposed to come or not, as it has been a long time since I bridged the two packages.

I apologize, as I think I answered my own question.  Thanks anyway GauGau.
Title: Re: Correcting member profile link on photos
Post by: Joachim Müller on February 11, 2006, 11:09:12 PM
expected behaviour, same things happens on http://www.papered.net/wallpapers/displayimage.php?pos=-258 for another user. Not related to your previous issue (accidentally deleting a user), so what's the question.

Joachim

P.S. You're using cpg1.3.2, upgrade asap at least to cpg1.3.5!