# Puis-je activer mon plugin uniquement pour les personnes enregistrées sur le site ?

**URL:** <https://meta.discourse.org/t/can-i-activate-my-plugin-only-for-those-registered-on-the-site/115857>\
**Category:** Product Support\
**Created:** [Avril 24, 2019, 1:48 UTC](https://meta.discourse.org/t/can-i-activate-my-plugin-only-for-those-registered-on-the-site/115857 "2019-04-24T13:48:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![eextra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eextra/32/170266_2.png) [@eextra](https://meta.discourse.org/u/eextra)\
**Post date:** [Avril 24, 2019, 1:57 UTC](https://meta.discourse.org/t/can-i-activate-my-plugin-only-for-those-registered-on-the-site/115857/4 "2019-04-24T13:57:54Z")

</div>

> [@awesomerobot](#):
>
> .anon #whos-online { display: none; }

Okay, thanks!

I’ll check it out right away, but I already have a question.  
Why can’t I define a user group as not logged in? Other forums allow this. I mean, they give them permissions (like ipb, mybb, Vbull)

What if I want to write my own plugin that only activates for anonymous users? Is it enough for me to have a css class or something else?

---

_[View the full topic](https://meta.discourse.org/t/can-i-activate-my-plugin-only-for-those-registered-on-the-site/115857)._
