Ability to Auto Set Chroot and User Home at Register?

tptphoto

Joined: 2011-10-11
Posts: 2
Posted: Tue, 2011-10-11 19:18

I am hoping that someone can help me out. I am using the register module in conjunction with the user_home and user_album modules, as well as using the user chroot module (which by the way i happen to love).

I was wondering if there is a way currently, as well as thinking of a way to add a snippet of code to the modules, so that at the time of register the following happens:

-User registers, is placed into their own "auto: username" group [register module does this by default if a default group is not set]
-User album is created [module already creates this at time of register]
-Automatically set user home page as user album
-Automatically set user Chroot at register

So... basically what i am requesting is if anyone knows of a way to possibly auto chroot the user to their user album at time of registration rather than having to go into the users/groups and setting it manually.

I have already removed the "URL" field form at time of registration, so i would not have that to worry about - the system could simply automatically set the home/chroot at time of registration.

Thanks!

Additional Forum Thread with Same Post/Question:
[module / user_chroot ] feedbacks & bugreport