Guest Gate (Sign Up Popup Plugin)

It seems this works.

/* hide please sign in */

div.modal-header h3 { display: none !important }

/* darker background */

div.modal-backdrop { opacity: 0.98; }
3 « J'aime »

Is there anything unique about the Guest Gate modal which will allow the “Please Sign up!” H3 to be changed without also changing the standard “Log in” and “Create New Account” H3s?

4 « J'aime »

Is there a way to prevent modal to popup on Help category?

3 « J'aime »

Is there a way to customize it so it works as an age-gate, it would be very useful as there’s no age-gate solution for discourse as far as I know.

4 « J'aime »

Still one of my favorite plugins. Any ideas on we could track signups via the guest gate?

1 « J'aime »

I’m still keen to find out about this :slight_smile:

3 « J'aime »

@jgujgu
@Shrike
@vinothkannans

Could you please remove the bottom block that says “Log in | Create New Account”

Reason:
Users are clicking on that link and then in the next screen, they are finding the close button. That way they click on the close button and read the content without registering for an account.

6 « J'aime »

Some news about this bug?
Please remove it.

1 « J'aime »

Kindly fix this bug someone please !

1 « J'aime »

I forked the plugin and removed the footer.

If you want to use it here’s the repo:

6 « J'aime »

Has anyone tested this
is this working perfectly?

1 « J'aime »

Yes. I install and run the official plugin (not thé fork). The popin works.

1 « J'aime »

Which of the forks are you using?

1 « J'aime »

Guest Gate a planté lors de la dernière mise à niveau de Discourse : 2.9.0.beta1

Erreur : Impossible de trouver le module discourse/lib/clean-dom importé de discourse/plugins/guest-gate/discourse/initializers/guest-gate

1 « J'aime »

Merci d’avoir signalé cela.

Je pense que cleanDOM n’est plus nécessaire (@cvx pouvez-vous confirmer ?) donc j’ai poussé une correction.

4 « J'aime »

La logique de nettoyage du DOM est appelée automatiquement sur routeDidChange, il ne devrait donc pas être nécessaire de la déclencher manuellement.

(Pour mémoire, le changement qui a involontairement cassé les choses était : DEV: Refactor clean-dom by CvX · Pull Request #15609 · discourse/discourse · GitHub)


Au fait, j’ajouterai GitHub - communiteq/discourse-guest-gate: Forced login / registration popup insired by Quora à GitHub - discourse/all-the-plugins afin que les futures régressions ne passent pas inaperçues !

6 « J'aime »

Push l’a corrigé. Merci.

3 « J'aime »

@michaeld la dernière mise à jour de discourse l’a encore fait planter.

Je travaillerai là-dessus plus tard cette semaine ou la semaine prochaine. En attendant, ne mettez pas à jour ou ne désactivez pas Ember CLI.

5 « J'aime »

Déjà mis à jour et je ne suis pas sûr si désactiver ember CLI ne casse pas autre chose, donc j’attendrai patiemment un correctif pour la porte.

1 « J'aime »