Correcting member profile link on photos Correcting member profile link on photos
 

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]

Main Menu

Correcting member profile link on photos

Started by crashnet, February 10, 2006, 02:55:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

crashnet

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!

Joachim Müller

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.

crashnet

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?

Joachim Müller

what did you actually change and what link from where to where is wrong? Post more details, with links etc.

crashnet

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.

Joachim Müller

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!