# サイトに登録しているユーザーのみにプラグインを有効化できますか？

**URL:** <https://meta.discourse.org/t/can-i-activate-my-plugin-only-for-those-registered-on-the-site/115857>\
**Category:** Product Support\
**Created:** [2019 年 4 月 24 日午後 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:** 3

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [2019 年 4 月 24 日午後 1:53 UTC](https://meta.discourse.org/t/can-i-activate-my-plugin-only-for-those-registered-on-the-site/115857/3 "2019-04-24T13:53:16Z")

</div>

Edit: Scratch this, see David’s post above. I didn’t realize a setting existed!

* * *

~~The simplest way would be to hide it using CSS, we add the anon class to the html tag when someone isn’t logged in.~~

```css
.anon #whos-online {
    display: none;
}

```

> [@eextra](#):
>
> Why is there no such thing as a user group or trust level (-1 ? ) for not registered - not logged in/guest users?

Because we don’t know who they are, so we couldn’t effectively put them into a group.

---

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