View Single Post
Old May 15th, 2008, 03:55 AM   #1 (permalink)
odsnet
Junior Member
Verified Customer
 
Join Date: May 2008
Posts: 13
Problem with User ID after 4Images import

Hi...

I just did the import of my 4Images gallery to photopost.
The problem now is, that the User IDs are a complete mess.

Reason:
We had vBulletin and the 4Images gallery as two seperate Homepages with sepereate registrations. Of our 8000 Users in the vbulletin only 400 wanted to use the 4Images gallery and registered there with their vbulletin nickname.

Now I have the following situation:

vBulletin forum:
Usernickname: Vivalranger
User ID in Database: 377

4Images gallery:
Usernickname: Vivalranger
User ID in Database: 22

So after the import in Photopost, all the pictures who were uploaded from the User "Vivalranger" (ID:22) were connectet with the User which has the ID:22 in the vBulltetin forum. But that is not the correct User...

I hope, I managed to explain the problem.


What can I do about this?
- would it be possible to manually change all the 400 UserIDs in 4Images to the corresponding UserID of the vbulletin forum. Or will the DB get messed up if freely change the UserIDs? (and besides that it is a hell lot of work)
- would it be possible to modify the import script so that it compares the usernames and assigns the correct ID corresponding to a Username match?


Hoping that you can help me or at least give me some advice...
Tilo
odsnet is offline   Reply With Quote