Customization needed for login and registering users.

himanshug

Joined: 2009-08-29
Posts: 2
Posted: Mon, 2009-09-21 15:06

Hello Everyone,

I am newbie for Gallery 2.3 and PHP as well. I am trying to provide a login screen and two types registration options i.e. one as general and other as family. I want all my family members to be registered in one group and all other general public under another 'registered' group.

Also, I don't want people to see edit permission option for groups under "Edit Permission", people should just see an option to allow/disallow individual users to play with their albums.

I kindly request you to help/guide me in right direction.

Regards,
Himanshu

Login or register to post comments
rve66

Joined: 2009-09-10
Posts: 31
Posted: Mon, 2009-09-21 16:58

Hi Himanshu,

as far as I can see right now you can only do this using admin rights and moderate registration.

So far I have done things like this

- create group A (family)
- create group B

now registrations come in
- user A (family)
- user B
- user C (family)

I add user A and C in group A
I add user B in group B

Now I have following albums
- Album A
- Subalbum AA
- Subalbum BB
- Album B
- Album C

Now I add GROUP A to view all Album A and subalbum AA and CC
- I allow user A to make additions in subalbum AA but only view to GROUP A ;
- I allow user C to make additions in subalbum BB but only view to GROUP A ;

Now I add GROUP B to view all Album B and subalbums
- I allow user B to make changes in album B and view GROUP B ;

Album C I make public

Hope this makes sence to you!
Its just how you implement it. At this moment I did not took time to see if I could change the user module.
For now it is fine for me because it's not taking to much time to maintain this procedure and making a adjusted
module would take some time to do so.

Hope this will be of help in a way.

Ruud

Login or register to post comments
himanshug

Joined: 2009-08-29
Posts: 2
Posted: Tue, 2009-09-22 09:03

Thanks very much Ruud... :), But here I would like to ask one thing, if its possible to automatically assign my family to assign to "Family" group instead of manually assigning them through admin login??

Any answers would appreciable.

Thanks in advance.

Regards,
Himanshu

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 3132
Posted: Tue, 2009-09-22 11:47

Couldn't you simply have two separate galleries?

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

Login or register to post comments
rve66

Joined: 2009-09-10
Posts: 31
Posted: Tue, 2009-09-22 17:47

fastest way would be as suprsidr is telling just create two galleries.

Mod work could be done here but would it work? I think not. How would one know somebody registring is actualy family?
So how would you think at registration someone could be put into family or in the other group? You just do not know right, its just someone wanting to register.
Only thing registration is 'activation by admin' and admin is puting user into correct group.
I realy do not see other option next to suprsidr's option.

As told I am using same and so far it's working perfect for me because the admin time is nothing (and with the e-mail notification you already know when somebody is registring right) Ok, it could be a problem if one is having a verry huge family and every one of them want to show photo's thru your website right! But still how do you know who is registring right!

Hope I made it clear.

Ruud

Login or register to post comments