![]() |
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 |
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); |
Thanks What are the chances the photos owners will still be right after this ??? Doug |
That would be all in how you imported them cant say. They all need to be imported with the same userid to be right |
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 |
That works for sure for any children of a parent cat |
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