PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   trying to integrate existing PP into new phpbb (http://www.photopost.com/forum/photopost-pro-how-do-i/114761-trying-integrate-existing-pp-into-new-phpbb.html)

Silver_2000 July 8th, 2005 12:17 PM

trying to integrate existing PP into new phpbb
 
I have a PP gallery with over 1000 users and 2500 photos.

I have added a phpbb forum. I would like to be able to use a single user database. I have found a script that allowed me to import the users from a a csv file I exported from phpmyadmin to Phpbb and I did the needed changes to integrate the users in PP. I changed the admin group id to match.

When I try to update the usergroups in PP to reflect the phpbb usergroups it fails with this error

Error: Duplicate entry '1' for key 1
Error: Duplicate entry '2' for key 1
Error: Duplicate entry '3' for key 1

Phpbb only has 2 groups by default as far as I can tell ....

Is there anyway to get this working ?

Would some other approach make more sense ??

Thanks in advance

Doug

Chuck S July 8th, 2005 12:20 PM

You would need to clear the usergroups table of Photopost first before you can import id's with the same id

phpbb has 3 groups we need by default

INSERT INTO pp_usergroups VALUES ('1','Anonymous','','','','','',0,0,0,0,0,0,0);
INSERT INTO pp_usergroups VALUES ('2','Admin',1,1,1,'','',1,1,1,1,0,0,0);
INSERT INTO pp_usergroups VALUES ('3','Regular Users','',1,1,'','',1,1,0,1,0,0,0);

Silver_2000 July 8th, 2005 12:22 PM

Thanks

What are the chances the photos owners will still be right after this ???

Doug

Chuck S July 8th, 2005 12:29 PM

That would be all in how you imported them cant say. They all need to be imported with the same userid to be right

Silver_2000 July 8th, 2005 02:36 PM

Thanks
Think I got it ...

when setting category permissions for new user groups the
"Check box to apply these settings and permissions to all children"

check box seems to be ignored ... sure would be a time saver if that worked... Any ideas where to look for a problem with that ??

Doug

Chuck S July 8th, 2005 02:39 PM

That works for sure for any children of a parent cat

Silver_2000 July 8th, 2005 02:44 PM

If I have Parent cat and 3 child cats and make a permission change in the parent the check boxes are NOT reflected in the children unless I go change them manually ...

Something is broke - its not working ... I was hoping for a pointer as to where to look for issue ...

Thanks in advance

Doug


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

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97