Guest Gate Theme Component

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

1 Like

Hello @Karym :wave:

You can use HTML to format the text.

For example this should make the text bold.

<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>

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

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.

2 Likes

Hello :wave:

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.

:warning: I will update the 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.


2 Likes

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

2 Likes

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 which is not contains the new core changes.

1 Like

But maybe this?

1 Like

I tested it on Ember 5.

2 Likes

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

2 Likes

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

2 Likes

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

Hello :wave:

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

3 Likes

Another update with new feature. :tada: 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

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


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.

2 Likes

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

1 Like

Hi @Don, what is Glimmer? :blush:

Glimmer Components - Octane Upgrade Guide - Ember Guides :slight_smile:

4 Likes

@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! :partying_face:

4 Likes

I am thinking of this change wasn’t the best idea :confused: 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. :thinking:

2 Likes