Closed (won't fix)
Project:
LoginToboggan
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
24 Oct 2006 at 10:37 UTC
Updated:
5 Sep 2009 at 05:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dwees commentedComment #2
hunmonk commentedthis is not a patch -- it's the entire file. please submit a patch in the proper unified diff format.
Comment #3
dwees commentedThis is a patch for the 5.0 version. Should be straight forward to backport this patch to the 4.7 version pretty easily.
Comment #4
hunmonk commentedpatch no longer applies.
also, do you see this as generally useful? how many sites have a need for users to pick their own roles?
auto role assignment i can understand, but i believe there are other solutions for that
Comment #5
dwees commentedWe were using it so that users could create application forms specific to their role. So a teacher could create an application for work, and a student could create an application for the school, and at the same time we could collect some profile information, and limit spam applications.
Seemed to work fine, but it is definitely a specialized situation.
Dave
Comment #6
Anonymous (not verified) commentedAn earlier contributor said: "auto role assignment i can understand, but i believe there are other solutions for that"
Can you tell me the best solution to assign a role when using Login Toboggan?
Thanks!
Comment #7
yeeloon commentedhi!
Does the above patch apply to this post http://drupal.org/node/129411#comment-620558 , whereby I'm using:
logintoboggan 5.x-1.x-dev 2007-Oct-11
Role signup5.x-1.x-dev 2007-Jun-19
... when both activated, the role signup ain't assigning any roles... but at least a message tells the user to check their email. But, when only the rolesignup is activated, user gets assigned to the role apply (that's good!) but, they get redirected to the homepage (without any message telling them to check their mail).
So, is there any advice or workaround that we can use?
Comment #8
hunmonk commentedi'm not going to add this to the official module. feel free to create your own custom hacks, though -- it is FOSS, after all ;)
Comment #9
nimi commentedDoes this patch work for Drupal 6?
Comment #10
alienzed commentedI fixed this by hacking user.module around line 2320 where it calls
$account = user_save(...
I set my role in $merge_date and voila!
Comment #11
alienzed commentedI fixed this by hacking user.module around line 2320 where it calls
$account = user_save(...
I set my role in $merge_date and voila!