Hello, i'm going to use Gallery2 and want it to embedd in php-fusion.
I dont want a vissible integration, but just when there is created an account in the CMS that the user is created in Gallery as well.
I've read different articles, but don't know where to start. can sombody help me with it?
Thanks.
Posts: 8339
http://codex.gallery2.org/Integration
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 78
Isn't there somebody who can make it for me. I don't have enough skills to make it my own.
Posts: 8339
Creating a simple embed page is as easy as filling out my simple form.
But cross mapping users and handling user events between apps is something that would take considerable development time.
I'm the developer/maintainer of the Geeklog<->Gallery2 bridge which means I have a working knowledge of both appa, but I have never even laid eyes on php-fusion.
Seems were other discussions on the matter.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 78
Yes okee i understand. I found some code i maybe can use.
but php-fusion has Double md5 hashed passwords, how can is use this in:
$args['hashmethod'] = 'md5';
Posts: 8339
That should work.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 78
Hi
i've got found the following code and submutted the userdata of php-fusion.
It has input a new user in the database, but not with the same user_id as my CMS. in my CMS the user has id-> 1 and in Gallery it has -> 33
Posts: 8339
Gallery has an externalId which would be... you guessed it your CMS's userID.
Gallery cannot use your CMS's userID internally as it may conflict with an existing id.
You'll need to add the map entry so the two systems know who they are talking about.. something like:
when you create the user, you should check for an error or collision to know if he's already been created.
so when you initiate gallery you'll use your externalId like you did:
And gallery will have that mapped to a GalleryUser
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 78
Hmm can't get a clue,
When i add
i get an empty page.
But i have an other question before i continue.
I do NOT want to embedd the gallery into my cms. I want them seperately. I only want the users t be the same and a link on my CMS to the Gallery. and sending the user with it!
isn't there a easier way to do it?