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 How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 21st, 2005, 06:38 AM   #1 (permalink)
Registered User
 
Join Date: Apr 2005
Posts: 2
Question How do I integrate an existing PP installation with an existing Ipb installation?

Hi to all...

I have a self-running PP 5.03 installation and a self-running IPB 2.0.3 installation, both with their own users database.

I want to integrate PP to the Forum in order to have a unique login system to my users.

I've read that i need to alter user ids in order to have the same one id both in gallery that in forum.

I'm preparing to write the script for doing that.
Can anyone help me to schedule the operation the script have to do?

This is what i've thought:
1. Scan pp_user and retrieve all user ids.
2. Scan ibf_members and retrieve all user ids.
3. Scan for users with same username both in gallery that in forum
3a. If username in unique, just import member details from gallery db to forum db.
3b. If there is same nick in the gallery and in the forum then i have to assign the forum id to the gallery id.
4. Scan pp_comments and pp_photos and change userid field to the new one i have in forum db.

Is that right?
If i'm missing some passage...please let me know...i think this might be useful for other people too

Sorry for my bad english...thanks a lot to everyone who could help me
petrucci is offline   Reply With Quote
Old April 21st, 2005, 06:48 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
That would be complicated to say the least when you have two databases populated

Basically the script would have to work like this

Load the pp_users table and scan the ibp members table to update the photos and comments tables as well as categories table for personal albums userid's and if a user record is not matched and updated the script would then in turn for that records write the user data to ibp members table retreive the new userid and then update the photopost tables

After all this then you can switch your integration settings.

Not an easy script to design. When starting with a clean slate its easy just to write over the users table to members table
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 21st, 2005, 07:00 AM   #3 (permalink)
Registered User
 
Join Date: Apr 2005
Posts: 2
Thanks Omegatron for your reply...

Well, actually this is the situation:

Gallery:
Registered Users 4,377
Comments/Ratings 11,552

Forum:
Registered Users 4,023

It's not simple, anyway I want to do it...



I write down the script...and I will ask here as i have problems...
petrucci is offline   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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any discounts for existing customers ? SaN-DeeP Before You Buy 5 August 20th, 2006 07:00 PM
RP Installation MySQL error on existing zipData Table Jeremy ReviewPost Installation & Upgrades 4 November 20th, 2005 10:54 PM
Overwriting existing pics glorify Installs and Upgrade - vBulletin 3.0.X 3 July 16th, 2005 06:38 PM
trying to integrate existing PP into new phpbb Silver_2000 Photopost Pro How Do I...? 6 July 8th, 2005 02:44 PM
PhotoPost look like you existing site riptorn Before You Buy 9 September 26th, 2004 05:51 PM


All times are GMT -5. The time now is 03:34 PM.

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