Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By RealGecko on
Is there any way to create a rule that works when user account is activated?
Comments
.
... sure, you just need to configure it. You can make it temporary = time limited, send a message to the webmaster, upgrade it after n days or n messages, and so on ....
Emmmm...any clues? I only see
Emmmm...any clues? I only see that I can create rules that are triggered when new user created and when existing user updated that are not the thing I need. I need a rule that works only once, when a new user account approved by admin or when a new user logins first time and never ever again.
+1
+1
Any luck finding a solution
Any luck finding a solution for this?
possible solutions in Stack Exchange
Found this in Stack Exchange:
http://drupal.stackexchange.com/questions/30219/is-there-a-hook-after-us...
Also suggested using hook_user_presave
Try out this module...
https://www.drupal.org/project/rules_block_user