# Assign new users to a group automatically

**URL:** <https://meta.discourse.org/t/assign-new-users-to-a-group-automatically/70374>\
**Category:** Development\
**Created:** [Septembre 19, 2017, 4:04 UTC](https://meta.discourse.org/t/assign-new-users-to-a-group-automatically/70374 "2017-09-19T16:04:30Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Ultim8](https://avatars.discourse-cdn.com/v4/letter/u/ebca7d/32.png) [@Ultim8](https://meta.discourse.org/u/Ultim8)\
**Post date:** [Septembre 24, 2017, 9:17 UTC](https://meta.discourse.org/t/assign-new-users-to-a-group-automatically/70374/12 "2017-09-24T21:17:50Z")

</div>

So… we now have a CSS guru on our team, he took the above example and came up with this:

> .topic-post.regular:not([class\*=\_]) .username:after {  
> content: “user verification not started”;  
> /\* … \*/  
> }

All of our group names contain an underscore ‘\_’ which massively simplified the code.

---

_[View the full topic](https://meta.discourse.org/t/assign-new-users-to-a-group-automatically/70374)._
