# Guest Gate Theme Component

**URL:** <https://meta.discourse.org/t/guest-gate-theme-component/225107>\
**Category:** Theme component\
**Created:** [April 23, 2022, 8:31pm UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107 "2022-04-23T20:31:54Z")\
**Posts on this page:** 1\
**Showing post:** 149

<div class="post-metadata">

**Author:** ![DenisDoroshchuk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/denisdoroshchuk/32/516109_2.png) [@DenisDoroshchuk](https://meta.discourse.org/u/DenisDoroshchuk)\
**Post date:** [August 5, 2025, 7:14am UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/149 "2025-08-05T07:14:54Z")

</div>

Hello @Don  
Thank you for the component. We use your plugin on the forum [https://community.escapecollective.com/](https://community.escapecollective.com/). But we have a problem: when setting the **max\_guest\_topic\_views** parameter to more than **1** (in our case, **3** ), the modal window appears for a moment and then immediately disappears. I believe this is because Discourse performs a “soft” page refresh (Ember SPA routing) when loading JS, and at that moment the view counter is reset and the modal window disappears immediately. I think this happened after updating Discourse to version 3.5.0.beta9-dev. Please help me figure this out.

![ezgif-5e4b84ca418b8a](https://global.discourse-cdn.com/meta/original/4X/d/f/c/dfc3661950a15db4162268f8a4f9ba375127ffbb.gif)

---

_[View the full topic](https://meta.discourse.org/t/guest-gate-theme-component/225107)._
