I originally posted this against the rolesignup module (http://drupal.org/node/134884) and i have modded that module to allow for role by role signup process settings (i.e. admin approved, validation email, etc).. but as i am using logintobbogan i can see that it does the validation rather than let the user.module do it

so, i think dueto lack of hooks, it would be necessary to mod the LT module as well to get this to all work... but i need it.. so i will keep looking.

as it is i have modded the LT module to check the role specific "user_register" variable; and it now puts out the correct msg depending on role... but will have to make a few more changes yet as it still is only doing the actual msg part there - not the "immediate login" part.

CommentFileSizeAuthor
#5 rolesignup.patch1019 bytesjody lynn
#4 rolesignup.txt83 KBliquidcms

Comments

liquidcms’s picture

well i have got it all working as i needed; but can't imagine this is something that would get patched into LT module.. but if anyone else has a need for what i am doing; feel free to get in touch with me.

basically i modded modules:

rolesignup now has role based settings for admin approval, validation email, auto register as with std user.module

and i re-wrote some of the LT's register function to support this

basically rather than have the reg_pass_set var be the overriding var i made in whether the user requires admin approval or not.

so, in my case i have 2 roles: member and company

- both can provide their own password
- member gets autologged in as authenticated (but because of the rolesignup module they are also alerady in the member role)
- when someone registers as company; they are not logged in (even though LT setting states this) since the new rolesignup setting states they need admin approval.

all the appropriate email get sent and the status is set correctly.. seems to work pretty well.

hunmonk’s picture

Status: Active » Closed (fixed)

no patch has been forthcoming, and this seems a bit to specific an integration to be included in the module.

Veggieryan’s picture

Hello there,
I am working on a project that needs this exact integration.
can you post you code here as a txt file or patch?
or contact me in my profile and send as text there?

I think this is very needed. as is, the two modules just break each other.

thanks!
ryan.
www.thefractal.org

liquidcms’s picture

StatusFileSize
new83 KB

Here ya go.

NOTE: i cant post a ZIP file here... so i renamed it.txt - you likely need to rename it after d/l to .zip

jody lynn’s picture

Title: should work with rolesignup module to allow for role bby role registration process » Patch logintobaggon to allow rolesignup.module usage
Version: 4.7.x-1.x-dev » 5.x-1.1
Status: Closed (fixed) » Needs review
StatusFileSize
new1019 bytes

I think this is what ptalindstrom was driving at. Logintobaggon breaks rolesignup.module's functionality- attached patch is working for me.

hunmonk’s picture

Status: Needs review » Closed (won't fix)

a patch this module-specific won't be included in any official releases of logintoboggan.