# 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:** 20
**Page:** 7

<div class="post-metadata">

### Author: ![Karym](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/karym/32/214046_2.png) [@Karym](https://meta.discourse.org/u/Karym)
#### Post date: [December 15, 2023, 10:04am UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/122 "2023-12-15T10:04:17Z")

</div>

Hi Don! Thank you for your very good plugin.  
I can’t get the 1st text to be large or bold.

“En t’inscrivant au forum, tu reçois la formation marketing “TROUVER DES CLIENTS”, d’une valeur de 99 euros (offerte aux membres actifs)”

Can you help me please ?

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/c/b/3cb58c255329094f3df6b7c5ade4d8abc8ea55d5.png)

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [December 15, 2023, 11:27am UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/123 "2023-12-15T11:27:02Z")

</div>

Hello @Karym 👋

You can use HTML to format the text.

For example this should make the text bold.

```plaintext
<strong>En t’inscrivant au forum, tu reçois la formation marketing “TROUVER DES CLIENTS”, d’une valeur de 99 euros (offerte aux membres actifs)</strong>

```

---

<div class="post-metadata">

### Author: ![Karym](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/karym/32/214046_2.png) [@Karym](https://meta.discourse.org/u/Karym)
#### Post date: [December 15, 2023, 11:49am UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/124 "2023-12-15T11:49:09Z")

</div>

Sorry but it doesn’t work for me. Is it here that i have to add the html ?

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/a/f/caf7c76be8070cab7ce7c88a95c119ae91f9a08e.png)

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [December 15, 2023, 11:54am UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/125 "2023-12-15T11:54:02Z")

</div>

Oh yeah the big text is not allow HTML it’s in H2 tags. So it should use the H2 style. Right now the little text allows HTML only. I’ll check this.

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [December 16, 2023, 12:51pm UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/126 "2023-12-16T12:51:19Z")

</div>

Hello 👋

I’ve made an update to this component.  
This update contains:

1. Suits to the new core modal changes.
2. I converted the footer links to button (`btn-transparent`). (This way we can removed the js which controlled the links to show the modal.
3. I removed the external logins (social logins) from guest gate modal. (I try to keep it more clean… this section required to use a _hacky_ js which always crashed on updates…so I think it’s better to remove.) There is not too much reason to keep this on the guest gate modal since if user clicks to the login or signup buttons the external login buttons will be on the those modals.
4. I made the big text to HTML safe.
5. I added a new setting to change separately the footer text color (this is the `or` text). Previously it used the footer links color.

* * *

> ⚠ I will update the [stable](https://github.com/VaperinaDEV/discourse-guest-gate-theme-component/tree/stable) version too. This update removed the method which wasn’t available on stable Discourse version. So now with a little more change it can compatible with the stable version too.

* * *

[https://github.com/VaperinaDEV/discourse-guest-gate-theme-component/pull/22](https://github.com/VaperinaDEV/discourse-guest-gate-theme-component/pull/22)

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [January 3, 2024, 12:59pm UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/127 "2024-01-03T12:59:09Z")

</div>

It appears the component is currently broken @Don. I’m testing this on a site that was updated yesterday

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

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [January 3, 2024, 1:34pm UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/128 "2024-01-03T13:34:14Z")

</div>

Hello, It seems to be work for me on `tests-passed` latest Discourse. Is that site on `stable`?

The theme component has a [stable version](https://github.com/VaperinaDEV/discourse-guest-gate-theme-component/tree/stable) which is not contains the new core changes.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [January 3, 2024, 3:27pm UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/129 "2024-01-03T15:27:41Z")

</div>

But maybe this?

> [@Preparing for Discourse's upgrade to Ember 5](https://meta.discourse.org/t/preparing-for-discourses-upgrade-to-ember-5/287211/32):
>
> I’ve updated the first post here with a couple of new pieces of information: We now have an approximate timeline. We intend to make Ember 5 the default in tests-passed next week. On our hosting, it’ll be enabled for ‘standard tier’ sites starting from 15th January, and then Business tier sites starting 22nd January. We’ve introduced a new UI warning banner to provide a more prominent warning to admins about incompatible themes/plugins in advance of the upgrade. This feature was merged tod…

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [January 3, 2024, 3:29pm UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/130 "2024-01-03T15:29:51Z")

</div>

I tested it on Ember 5.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [January 3, 2024, 3:33pm UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/131 "2024-01-03T15:33:43Z")

</div>

I rebuilded an hour ago and I don’t get any errors, including guest gate.

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [January 3, 2024, 5:13pm UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/132 "2024-01-03T17:13:25Z")

</div>

I reinstalled the component again and now it no longer gives me errors

---

<div class="post-metadata">

### Author: ![John\_Vawn](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@John\_Vawn](https://meta.discourse.org/u/John_Vawn)
#### Post date: [April 16, 2024, 11:55am UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/133 "2024-04-16T11:55:52Z")

</div>

Hi, I want to create a theme component that calls guest gate modal when user clicks on something. Is it possible? @Don

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [August 18, 2024, 9:36am UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/134 "2024-08-18T09:36:20Z")

</div>

Hello 👋

I’ve made an update 🎉  
This update convert Guest Gate to Glimmer and added back the social logins to the modal.

[https://github.com/VaperinaDEV/discourse-guest-gate-theme-component/pull/23](https://github.com/VaperinaDEV/discourse-guest-gate-theme-component/pull/23)

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [August 18, 2024, 11:49am UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/135 "2024-08-18T11:49:41Z")

</div>

Another update with new feature. 🎉 This update contains a two new settings where you can set up the guest gate modal visibility. Up to now the modal only can show on topics. Now you can add whatever URL you want to.

On the first two settings.  
Default settings is same how it works until now.

 ![Screenshot 2024-08-18 at 13.45.27](https://global.discourse-cdn.com/meta/original/4X/2/e/a/2ea54decad7fc1caa08bc0b9be201c5acffa43fb.png)

There is a setting for URLs where the modal should not render.  
For example if you set up show it every topic except this.

[https://github.com/VaperinaDEV/discourse-guest-gate-theme-component/pull/24](https://github.com/VaperinaDEV/discourse-guest-gate-theme-component/pull/24)

* * *

> Be careful if you set up `*` to `url for show` setting than you have to exclude **every** url where it should not show.

I’ve added some URLs to avoid unexpected behavior.  
[https://github.com/VaperinaDEV/discourse-guest-gate-theme-component/commit/940a206261b9df2b8ba00651f5bf83458b652777](https://github.com/VaperinaDEV/discourse-guest-gate-theme-component/commit/940a206261b9df2b8ba00651f5bf83458b652777)

---

<div class="post-metadata">

### Author: ![patrickemin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrickemin/32/520162_2.png) [@patrickemin](https://meta.discourse.org/u/patrickemin)
#### Post date: [August 18, 2024, 1:39pm UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/136 "2024-08-18T13:39:29Z")

</div>

Thanks @Don , I’d like to add a URL for “url for hide” for my category admin announcement, I am not sure of the syntax, my category is [https://mysite.com/c/admin-announces-administrateur/5](https://mysite.com/c/admin-announces-administrateur/5)

---

<div class="post-metadata">

### Author: ![patrickemin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrickemin/32/520162_2.png) [@patrickemin](https://meta.discourse.org/u/patrickemin)
#### Post date: [August 18, 2024, 9:57pm UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/137 "2024-08-18T21:57:35Z")

</div>

Hi @Don, what is Glimmer? 😊

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [August 29, 2024, 10:28am UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/138 "2024-08-29T10:28:33Z")

</div>

[https://guides.emberjs.com/release/upgrading/current-edition/glimmer-components/](https://guides.emberjs.com/release/upgrading/current-edition/glimmer-components/) 🙂

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [August 29, 2024, 10:29am UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/139 "2024-08-29T10:29:22Z")

</div>

@Don, really appreciate this Theme Component.

It really does seem to help getting signups!

Edit: Looking at the stats it looks like my sign-ups have doubled each of the two prior months so far (and the component wasn’t even installed for the entire month).

So I guess I’m seeing \> 100% improvement on sign-ups. Noice! 🥳

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [August 29, 2024, 3:57pm UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/140 "2024-08-29T15:57:52Z")

</div>

I am thinking of this change wasn’t the best idea 😕 I think it would be better to handle the show settings with discovery routes, categories, tags and maybe keep the url for hide to fine tuning. 🤔

---

<div class="post-metadata">

### Author: ![KhoiUSA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/khoiusa/32/373010_2.png) [@KhoiUSA](https://meta.discourse.org/u/KhoiUSA)
#### Post date: [February 4, 2025, 4:48pm UTC](https://meta.discourse.org/t/guest-gate-theme-component/225107/141 "2025-02-04T16:48:53Z")

</div>

Hello @Don, I noticed that Discourse kept giving me a notice regarding a plugin or theme that may require updating as for the new FontAwesome 6 icons. I found it to be that the Guest Gate Theme Component still uses the `sign-in-alt` icon rather than the newer `right-to-bracket` icon, maybe that’s something you could change? It can be overridden in the settings anyways though which is what I did to get that warning to go away. Thanks. 🙂

[Previous page](https://meta.discourse.org/t/guest-gate-theme-component/225107.md?page=6)

[Next page](https://meta.discourse.org/t/guest-gate-theme-component/225107.md?page=8)
