coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: tombmaster on August 04, 2004, 02:37:07 AM

Title: How to Restore old gallery user's name after integrating with IPB?? Albums OK!
Post by: tombmaster on August 04, 2004, 02:37:07 AM
Hello everyone...

I just went through a successful process of bridiging coppermind gallery 1.3.1 with I.P.B Version 2 PF2.

And have came across another problem. This problem has nothing to do with the bridge problem.

I have only one user at my gallery and after the bridging process, I lost gallery user's login name (since i am using IPB's member's database of course.)

How ever the funny thing or rather an new problem is that gallery user's albums and pictures inside his personal albums are still there and are NOT lost but user's LOGIN name is gone. ...

His User name has somehow renamed by coppermine itself and . it did work out ok with previously uploaded pics..

Now what you see is....

User gallery >Mr. x's album > friends album

wherebefore it was: Users gallery > Bush W. Bush > Friends album

Can any one tell me how to restore users name after the bridging has been done or is it simply a bug in the coppermine files. ???
Best Regards,
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: omniscientdeveloper on August 04, 2004, 04:05:51 AM
This is expected behavior, if you bridge a preexisting install of Coppermine. (you'll seem to lose user information.)
What you'll need to do is insert the users from the coppermine table into the new IPB users table, using phpMyAdmin. You'll also have to make sure that the userids match (this is very important).

I recently broke my gallery into two seperate galleries using this process. It's not that hard, if you know what you're doing.


-omni
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: tombmaster on August 04, 2004, 05:03:10 PM
Quote from: omniscientdeveloper on August 04, 2004, 04:05:51 AMI recently broke my gallery into two seperate galleries using this process. It's not that hard, if you know what you're doing.
-omni

o' boy... you are scaring me..  :o

Is there any helping tutorial available on this topic for new to coppermine gallery people like me? ??? 

QuoteYou'll also have to make sure that the userids match (this is very important).

You mean I have to insert the same coppermine user ID in IPB's tables to restore them, Am I understanding you right?

Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: Casper on August 04, 2004, 10:39:08 PM
As you only have one other user, this should be easy.  Using your database tool, open the coppermine users table, and note down the user ID of all users.  Now go to the bb users table, and make sure the user id's here match the ones in the coppermine table.  If you don't do that, your user galleries and pics will have the wrong owners.

This is not necessary if you do the bridge before you have any members and personal albums in the coppermine database.
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: tombmaster on August 05, 2004, 07:22:02 AM
Thanks for the tip...

I just checked. I don' thave that gallery user name in the forum database.. Do I need to 'add" it manually... and also should I just register him as a new user or something??

please assist.
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: Casper on August 05, 2004, 01:53:18 PM
register him, and then make sure his user number matches his coppermine id number.
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: tombmaster on August 05, 2004, 08:14:35 PM
Thanks casper. it worked.

However, how can assign this user multiple group access permissions... Like I want him to be able to see "one" album but not the "other" album.

This was possible in standalone but I seem to have hard time get around this glitch after bridging.  :\'(
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: Casper on August 05, 2004, 08:36:07 PM
I don't know IPB.  Does it allow multiple group membership?
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: tombmaster on August 05, 2004, 08:49:05 PM
Yes, It allows forum permissions such as "read", 'post', reply and upload...So I don't know how to use 'those permission' for gallery albums... since gallery albums are not listed in the forums Admin CP... only users...


So I am not sure how to get around that problem. you know what I mean?  :(
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: Joachim Müller on August 05, 2004, 08:54:04 PM
That's not what Casper asked. His question was: does IPB allow a user to be in more than one user group?

GauGau
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: Casper on August 05, 2004, 08:57:56 PM
Sorry, I'm not sure we are meaning the same things.

Can you create a new group in IPB, and can user 'Joe Bloggs' be a member of this new group AND other groups at the same time.

Coppermine uses the IPB groups, but you still have control over what each group can do in coppermine, and you can still restrict album visibility to certain groups only.

You need to click on 'groups' in coppermine, once you have integrated, to make sure the permissions are what you want.
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: tombmaster on August 05, 2004, 08:59:44 PM
OH, I am sorry... i misunderstood.

Well... to be honest, I don't think so but it has this new primary and secondry groups permission feature available for the members. But thats all..  only two groups... how about if you want to give permissions for more than 1 albums.

Like I have this member he was allowed to see only 1 album... other was allowed to see 2 and then other group who was allowed to see 3 out of 5 albums... so on and so forth....

Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: tombmaster on August 06, 2004, 04:22:25 AM
Thanks caper, the friendly ghost.  :)
Quote from: Casper on August 05, 2004, 08:57:56 PMYou need to click on 'groups' in coppermine, once you have integrated, to make sure the permissions are what you want.

you don't get permission options in "groups" link under coppermine after integeration. It's only available under "USERS" and that you can't access in gallery after integeation... and ALSO I don't think you can allow more than 1 group to your forum members either ...   :-X
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: Casper on August 06, 2004, 02:09:50 PM
You should still have the 'groups' link in the coppermine admin meny, and it should still go to coppermine groups permissions page.

If you don't have this, there is something wrong, or are you using a bridge file from another source?
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: tombmaster on August 06, 2004, 08:59:32 PM
Quote from: Casper on August 06, 2004, 02:09:50 PM
You should still have the 'groups' link in the coppermine admin meny, and it should still go to coppermine groups permissions page.

If you don't have this, there is something wrong, or are you using a bridge file from another source?

Oh my apology if I did not make myself clear before. Actually I am not worried about groups permission.

It's the users I am talking about. I want to be able to allow members to be in multiple groups and how do I do that?

Thanks for the kind help. :0
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: Casper on August 06, 2004, 09:38:40 PM
When you're bridged, that is relient on the bb groups settings.  If your bb does not support multiple group membership, there's nothing you can do, afaik.

Many boards do allow multiple group membership, and so does coppermine when used as standalone.  If IPB does not, perhaps you might think about changing to one that does, like SMF.
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: tombmaster on August 07, 2004, 04:55:54 AM
also there is another problem... user does not have owners rights to his personal album.
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: Casper on August 07, 2004, 12:27:33 PM
Did you do what I said on this post, http://forum.coppermine-gallery.net/index.php?topic=8526.msg38359#msg38359
Make sure they match.  If you changed his ID in the coppermine tables, you will also have to change the albums properties to match.
Title: Re: How to Restore old gallery user's name after integrating with IPB?? Albums O
Post by: tombmaster on August 08, 2004, 08:11:24 AM
Quote from: Casper on August 05, 2004, 01:53:18 PM
register him, and then make sure his user number matches his coppermine id number.
Yes, I did register him on the forum. In coppermine tables, his user id was 3 so i went in IPB database and modified his ID... By doing this, his personal albums shows his name now instead of previous Mr. X thingy... but still he does not see "peroerties - delete files" option on his personal album.

and also how can he grant permission for his one album to multiple groups??