Answers.Body: <p>Off the top of my head, the pseudocode would be something like:</p>
  
  <ol>
  <li>Listen for the <code>EVENT_BEFORE_SAVE_ELEMENT</code> event.</li>
  <li>Check if it's a new user registration.</li>
  <li>If so, check the user group status.</li>
  <li>Apply account activation email logic based on #3.</li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-09-13T23:32:19.323Z
Answers.LastActivityDate: 2019-09-13T23:47:44.843Z
Answers.LastEditDate: 2019-09-13T23:47:44.843Z
Answers.UserDisplayName: Brad Bell
Body: <p>I am developing a website which is having two user groups. The users of first user group will have self activation email with account activation link while second user group will be activated by admin after registration. As there is Users Setting for "Verify email addresses?" but we can't do it for specific user group. Is there any solution for it? Please suggest if possible with plugin.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-09-09T21:19:37.907Z
Comments.Text: I'm not aware of an existing plugin that would do this, but are you comfortable writing one?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-09-10T05:18:00.007Z
Comments.Text: Thanks Brad, could you please give me some idea if there is any event or hook we can control it.
Comments.UserDisplayName: Bhashkar Yadav
Tags: <craft3><user-groups><activation>
Title: Disable activation link email for a specific user group
ThreadText: # Disable activation link email for a specific user group
  
  (Asked by: username_0 on 2019-09-07)
  
  I am developing a website which is having two user groups. The users of first user group will have self activation email with account activation link while second user group will be activated by admin after registration. As there is Users Setting for "Verify email addresses?" but we can't do it for specific user group. Is there any solution for it? Please suggest if possible with plugin.
  
  **Tags:** craft3, user-groups, activation
  
  > **Comments:**
  > **username_1**: I'm not aware of an existing plugin that would do this, but are you comfortable writing one?  
  > **username_0**: Thanks username_1, could you please give me some idea if there is any event or hook we can control it.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-09-13. Score: 1
  
  Off the top of my head, the pseudocode would be something like:
  
  1. Listen for the `EVENT_BEFORE_SAVE_ELEMENT` event.
  2. Check if it's a new user registration.
  3. If so, check the user group status.
  4. Apply account activation email logic based on #3.
  
  
  ---
  
  