Loading...
 
Features / Usability

Features / Usability


Re: Notify user of registration by admin

posts: 1563 Germany

Hello Jörg,

user trackers to get extra user information indeed seem a bit tricky to setup and use.

I have a project myself where I need it (a conference website and registration tool).

I suggest you not to try to build something in the user tracker what is existing in the default code anyway.

When you create a user in /tiki-adminusers.php, tab "Add a new user" there is an option to tick a box with the text besides:
O Send an email to the user in order to allow him to validate his account

When you tick this box, the newly created user will be sent an e-mail by your website with a validation link. By clicking this link the user validates his account, meaning he confirms to the website that he will be using this account and it is not set up by a third party against his consent.

There is another tick box with the text:
O User must change password at next login

So given, you set a password for the user (which is mandatory) and tick both boxes, the user will be sent to the website (by clicking on the validation link) and there be asked to set a password without the need to even know the password you have given to this user temporarily.

Conclusion: in this setup, the system administrator does not know the password of the user, after the user has validated his account by himself.

This setup works independantly of an optional user tracker and in my mind there is absolutely no need to rebuild this in the user tracker.

Part of your use case now is, that you want to add users by a cvs file - kind of batch upload users.

For the batch version you do not need the tab "Add new user" but the tab right beside it "Import". There you have the same options:
CSV file layout:
login,password,email,groups,default_group,realName
user1,pass1,email1,group1,group1
user2,pass2,email2,"group1,group2",group1

Only login, password, email are mandatory.Use an empty password for automatic password generation. Use same login and email if the login use email. Groups are separated by comma. With group name with comma, double the comma.

Existing Users: O Overwrite O Don't overwrite
O Overwrite groups
O Create groups
O User must change password at first login
O Send an email to the user in order to allow him to validate his account

In your case you should use these options:

Existing Users: O Overwrite X Don't overwrite
O Overwrite groups
O Create groups
X User must change password at first login
X Send an email to the user in order to allow him to validate his account

For users who register themselves (and this is the point, where a user tracker applies active at the time of user (self) registration you can set these options in /tiki-admin.php?page=login

There you must set:

X Users can register Reset to default
X Validate new user registrations by email

and for the user tracker:

X Use tracker to collect more user information Reset to default
(Use the "Admin Groups" page to select which tracker and fields to display)

=> you need to create the user tracker (I presume you did that already ;-) ) and to "connect" the usertracker and to choose the relevant fields (asked at registration) in "/tiki-admingroups.php" - for the group "Registered".

There are no comments at this time.