I have tried to set a wellcome message on "user account has been created" event but nothing happens

Also, I am using Contet profile and would like to create a new node on user creation when a user registers usinf FB connect, but it is also failing.

Any ideas?

Thank you

Comments

legendaryintern’s picture

Component: Rules Core » Rules Engine

I have also been having issues with the "User account has been created" rule specifically with checking the role of the newly registered user. I am attempting a page redirect based off the registered users role, but the redirect does not occur. Both might stem from the same "User account has been created" rule.

dleong’s picture

Hi there,

I'm having a similar problem with this rule - I would like to send out a customized email after an account with a specific role is created but the email is not being sent out. Turning on the debug feature when the rule is evaluated shows that the condition (of the user being a specific role) is returning a FALSE value.
Does this have anything to do with the rule being evaluated BEFORE the actual creation of the account? The order of the debug messages has the rule evaluation listed before the account creation message:

* Created new alias users/dpictest for user/29
*
o 0 ms "User account has been created" has been invoked.
o 0.121 ms Executing the rule "Send welcome letter" on rule set "User account has been created"
o 0.347 ms Condition "User has role(s)" evaluated to FALSE.
o 0.409 ms Evaluation of "User account has been created" has been finished.
* Created a new user account for dpictest. No e-mail has been sent.

Dennis

joekrukosky’s picture

I am also having this issue, anyone find a solution/reason?

jenna.tollerson’s picture

I was having this problem in 6.x-1.2, but I upgrade to the 2010-Jun-25 6.x-1.x-dev and it has been resolved, it seems, per a patch in #517396. I set the argument to 'registered user' and not 'acting user', and got the result I was looking for.

Thank you!
0 ms "User account has been created" has been invoked.
0.087 ms Executing the rule "Prompt to choose categories." on rule set "User account has been created"
0.249 ms Condition "User has role(s)" evaluated to TRUE.
0.351 ms Action execution: "Page redirect"
0.466 ms Action execution: "Show a configurable message on the site"
0.535 ms Evaluation of "User account has been created" has been finished.
Registration successful. You are now logged in.

joekrukosky’s picture

jenna, thanks so much. This resolved my issue as well.

klausi’s picture

Status: Active » Fixed

marking as fixed

bobjansen@gmail.com’s picture

I'm seeing this problem again with the latest stable and dev version.

bobjansen@gmail.com’s picture

Nevermind, after first completely deleting and then uploading the problem disappeared.

chyatt’s picture

Do you mean completely deleting and re-uploading the module? Or did you just delete and re-create the rule in question?

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

blueblade’s picture

same question here: Do you mean completely deleting and re-uploading the module? Or did you just delete and re-create the rule in question?

I have quite a few rules and it is a nightmare to delete all of them and reinstalling them all....please kindly let me know if there is a safe way to do that.

Many thanks!!

thaistore’s picture

doe not work for me too, i reuploaded dev module, why so many bugs?

chinita7’s picture

It's not working for me too with the latest version.
I'm trying to redirect users after account creation per role but always go to only the user account page.