Answers.Body: <blockquote>
    <p>Should I write a plugin or just modify UsersService.php to split 2 directions on saveUser?</p>
  </blockquote>
  
  <p>The first one.  The second one has many drawbacks:</p>
  
  <ol>
  <li><p>Any changes you make in <code>craft/app</code> can (and probably will) get overwritten during an update.</p></li>
  <li><p>Which means you'll have to reapply them after updating.</p></li>
  <li><p>It's not supported.</p></li>
  </ol>
  
  <p>Craft has a bunch of <a href="https://craftcms.com/docs/plugins/events-reference" rel="nofollow noreferrer">events</a> that plugins can listen to and run logic when they fire without hacking core Craft files.  In your case, it sounds like <code>onBeforeSaveUser</code> or <code>onSaveUser</code> might be what you need.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-23T14:08:32.630Z
Answers.Text: Thanks @ Jeremy-daalder @ Damon Sorry @Matt-stein, I didn't pay attention that is a new question. I will do it next time. Thanks for taking care of it.
Answers.UserDisplayName: Angela Chan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-19T22:22:21.220Z
Answers.LastActivityDate: 2017-05-19T22:22:21.220Z
Answers.UserDisplayName: Brad Bell
Body: <p>I see <a href="https://craftcms.stackexchange.com/questions/7039/whats-the-simplest-way-of-automatically-activating-verifying-user-accounts#">this thread</a> about automatically activating/verify user accounts. However, I have 2 group of users, 1 group is open public which would like to have automatically activating/verify. The 2nd group is private, need activate email and verify. Should I write a plugin or just modify UsersService.php to split 2 directions on saveUser?</p>
  
  <p>Thanks,
  Angela</p>
  
Tags: <plugin-development><users><plugins>
Title: Need difference sign up path for 2 groups
ThreadText: # Need difference sign up path for 2 groups
  
  (Asked by: username_0 on 2017-05-19)
  
  I see [this thread](https://craftcms.stackexchange.com/questions/7039/whats-the-simplest-way-of-automatically-activating-verifying-user-accounts#) about automatically activating/verify user accounts. However, I have 2 group of users, 1 group is open public which would like to have automatically activating/verify. The 2nd group is private, need activate email and verify. Should I write a plugin or just modify UsersService.php to split 2 directions on saveUser?
  
  Thanks,
  username_0
  
  **Tags:** plugin-development, users, plugins
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-05-19. Score: 0 | Accepted answer
  
  > Should I write a plugin or just modify UsersService.php to split 2 directions on saveUser?
  
  The first one. The second one has many drawbacks:
  
  1. Any changes you make in `craft/app` can (and probably will) get overwritten during an update.
  2. Which means you'll have to reapply them after updating.
  3. It's not supported.
  
  Craft has a bunch of [events](https://craftcms.com/docs/plugins/events-reference) that plugins can listen to and run logic when they fire without hacking core Craft files. In your case, it sounds like `onBeforeSaveUser` or `onSaveUser` might be what you need.
  
  > **Comments:**
  > **username_0**: Thanks @ Jeremy-daalder @ Damon Sorry @Matt-stein, I didn't pay attention that is a new question. I will do it next time. Thanks for taking care of it.  
  
  ---
  
  