# Guest Gate (Sign Up Popup Plugin)

**URL:** <https://meta.discourse.org/t/guest-gate-sign-up-popup-plugin/56625>\
**Category:** Plugin\
**Tags:** deprecated\
**Created:** [2017年一月30日 23:39 UTC](https://meta.discourse.org/t/guest-gate-sign-up-popup-plugin/56625 "2017-01-30T23:39:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jgujgu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jgujgu/32/64012_2.png) [@jgujgu](https://meta.discourse.org/u/jgujgu)\
**Post date:** [2017年一月30日 23:39 UTC](https://meta.discourse.org/t/guest-gate-sign-up-popup-plugin/56625/1 "2017-01-30T23:39:37Z")

</div>

> **In April 2022, the Guest Gate plugin was converted into a theme component by @Don. This plugin is now #deprecated.**

> [@Guest Gate Theme Component](https://meta.discourse.org/t/guest-gate-theme-component/225107):
>
> Hello wave This theme component is created from [Guest Gate (Sign Up Popup Plugin)](https://meta.discourse.org/t/guest-gate-sign-up-popup-plugin/56625/). It can lock topics for anon visitors with a modal and force them to Sign Up or Login. The component can be use for an alert modal, encouraging visitors to sign up but allowing them to close the modal (for this, leave the dismissable false setting unchecked). Options include changing the number of topics that can be viewed before the modal is displayed. Tip: If you use the …

* * *

This is a more permanent post for a plugin that @vinothkannans created and I forked recently. Many thanks to @vinothkannans for doing the hard work of wiring up the main logic, @ljpp for stirring the original conversation, and @DiscourseMetrics.com for providing the impetus behind a customized modal.

**You have two main gate options:**

1. Generic gate
2. Custom gate

**And tertiary options:**

1. Number of topic views until gate displays. After the gate first appears, it appears randomly between 1 and this number.
2. Disable x button
3. Various styling options for custom gate

Here is a screenshot of the admin panel:

 ![](https://global.discourse-cdn.com/meta/original/3X/a/0/a0b4028cfefc2b4aa32826729c5d3fc114b94880.png)

And of the plugin in action:

 ![](https://global.discourse-cdn.com/meta/original/3X/d/4/d4fd37004ef70d7f6f6c92a0dc52e8480995bf45.png)

 ![](https://global.discourse-cdn.com/meta/original/3X/0/e/0e5b6453f8336608c59b1669d09e6d8ebbc4da15.png)

The desire for a plugin like this was discussed [in this topic](https://meta.discourse.org/t/more-aggressive-method-for-asking-users-to-register-call-to-action/56040). I hope to add functionality as time goes on, but here is a short list:

- Timer
- Inverse Timer (Read time \> t)
- Display on every page
- Stubbornness (after x many times closed, give up asking during this session/use default discourse functionality)
- Track how often it gets closed, other metrics
- Track whether user signed up through overlay (could just put user in specific group)
- Appear given a specific url (eg [https://yourdiscourse.com?iscool&referrer=reddit](https://yourdiscourse.com?iscool&referrer=reddit)). Like an invite link, but could put signups in particular group, like the above

---

_[View the full topic](https://meta.discourse.org/t/guest-gate-sign-up-popup-plugin/56625)._
