After user registers (and no confirmation is required), Drupal automatically logs user in without any message. In the means of usability, this is more complex, but for D6, it should be enough to display a message.

This patch adds one line to user_register_submit() which does the thing. It's an usability improvement and i hope it gets accepted to D6.

For D7, the approach should be (Thanks to Czech usability expert, Marek Prokop):
1) Register
2) Drupal automatically logs in
3) Redirect to special page (user/register-information) which is static, displays all required information about user registration (username, email, how to log in, how to recover password, what to do now). The advantage is that this straightforwards the workflow and allows user to print/save neccessary information.

CommentFileSizeAuthor
#2 user_87.patch965 bytesmeba
user_86.patch962 bytesmeba

Comments

gábor hojtsy’s picture

Status: Active » Needs work

An obvious problem with this patch is that the text needs to be wrapped in t().

Otherwise I don't see a reason not to include a user information page displayed after login (in D6), as long as it is modular, so other modules can tie in and add/remove pieces. That could probably be a form with #item's, although that does not sound perfectly fitting this task, it could easily provide altering and themeing. Unless that page is developed I am fine with this simple solution for now.

meba’s picture

Status: Needs work » Needs review
StatusFileSize
new965 bytes

You are right. Rerolling.
I will prefer to have this committed as a first attempt and then try to implement registration page.

dries’s picture

Looks simple enough.

gábor hojtsy’s picture

Status: Needs review » Fixed

OK, committed. Opening a new issue for better reference would be great if you have an "information page" patch. That might spur some heated discussion.

meba’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)