PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 15th, 2008, 03:55 AM   #1 (permalink)
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
Old May 15th, 2008, 09:41 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Your actually in luck!

In Most cases you would be out of luck because its not really a problem with our software or our importer. You choose not to have those two application integrated so userid's would not be correct as you have found out.

Now enough people switched integrations to vbulletin that I wrote a little tool for that here

Reassign userid's when switching integrations to VBulletin

It was essentially written to realign photo id's after people imported phpbb2 to vbulletin etc but it works really for anything. What it does is grabs the photo username and authenticates the user against vb and grabs their info and updates the userid with whats in vbulletin or really any forum you integrate with.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 15th, 2008, 03:21 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2008
Posts: 13
hmm... I think this script will not solve the problem here.

The thing is, that after I imported all the pictures from 4images there are no usernames shown. Only after I click on
Scan Database --> resync photo/comments usernames/update comments
does Photpost show me the Usernames of the pictures. But by then the mistakes has happened.
Guess I would need to run the script on 4Images BEFORE I do the import, so that the Usernames in 4Images will get the corresponding UserID from vbulletin.

The script will porbably not work with 4Images, will it?
odsnet is offline   Reply With Quote
Old May 15th, 2008, 03:22 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2008
Posts: 13
Quote:
Originally Posted by Chuck S View Post
It was essentially written to realign photo id's after people imported phpbb2 to vbulletin etc but it works really for anything.
ok... I just found the answer
odsnet is offline   Reply With Quote
Old May 15th, 2008, 03:40 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2008
Posts: 13
Code:
Content visible to verified customers only.
ok... would have been too easy to just copy the script to my 4Images directory and run it there.
odsnet is offline   Reply With Quote
Old May 15th, 2008, 04:25 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
If works for Photopost only the script I posted.

Try redownloading the 4images importer and try doing a fresh import again clear your photopost photos table of all entries

I made a little change that might help you. The photos table of 4images if I remember right does not store a username so I added another query to grab it.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 15th, 2008, 05:21 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2008
Posts: 13
wonderful!!
You did it!
It worked!

... but now photopost doesn't show me any pics in my categories, although there are pic in them.
scan database --> Check here to recalculate photos/posts numbers and check children

does not seem to work anymore... any suggestions?
sorry for all the trouble
odsnet is offline   Reply With Quote
Old May 15th, 2008, 05:22 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2008
Posts: 13
http://evil.outdoorseiten.net
odsnet is offline   Reply With Quote
Old May 15th, 2008, 05:23 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2008
Posts: 13
oh... fixed it.
Had to save the categories again.
Everything Perfect!!!

Thanks so much, chuck!!
odsnet is offline   Reply With Quote
Old May 15th, 2008, 07:44 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Not a problem I was just gonna say if you did a reimport do the work instructed in the import thread.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 22nd, 2008, 12:45 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2008
Posts: 13
damn...

now that everything worked out fine on the backup server I get the following message when trying to import form 4images on our live-server:


Code:
Content visible to verified customers only.
any ideas what went wrong there?
I CHMODed the 4images.cnf.php to 777
The databasename, username and passwort for the database are correct....
Am I missing something obvious??


somehow it does not get access to the database, right? But to which database? the 4images or the photopost database?
odsnet is offline   Reply With Quote
Old May 22nd, 2008, 01:20 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Something in your config file is not correct for the live server with errors like that being listed.

Based on your errors the information for both 4images and Photopost are wrong. See the errors line 298-299

Thats this

Code:
Content visible to verified customers only.
That means both are wrong
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old May 23rd, 2008, 02:30 AM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2008
Posts: 13
I tried several times to type in the login information again... and then it worked.
At least I looked like it.


Importing the Users, categories and picture names seems to work.
Comments do not work and once it gets to importing the picture files I get the following message:

Code:
Content visible to verified customers only.
here is line 574.
Code:
Content visible to verified customers only.
When I the look into the admin CP of Photopost, I see no new categories... nothing.

Any ideas??
odsnet is offline   Reply With Quote
Old May 23rd, 2008, 02:35 AM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2008
Posts: 13
I had a mistake in the table prefixes.
Problem solved.

Sorry for the bother...
odsnet is offline   Reply With Quote
Old May 23rd, 2008, 09:20 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Not a problem you have a good weekend.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Import images from my old 4images gallery vBFreak Before You Buy 1 December 5th, 2007 04:14 PM
import script for 4images deathemperor Before You Buy 8 May 16th, 2006 10:17 PM
Coppermine User Import StuartDH Installs and Upgrade - vBulletin 3.0.X 12 March 20th, 2006 01:53 PM
4images import script... maniac How Do I? - vBulletin 3.0.X 1 December 20th, 2004 09:17 AM


All times are GMT -5. The time now is 01:14 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0