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 إعجابات

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 إعجابات

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

3 إعجابات

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 إعجابات

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

إعجاب واحد (1)

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

3 إعجابات

@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 إعجابات

Some news about this bug?
Please remove it.

إعجاب واحد (1)

Kindly fix this bug someone please !

إعجاب واحد (1)

I forked the plugin and removed the footer.

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

6 إعجابات

Has anyone tested this
is this working perfectly?

إعجاب واحد (1)

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

إعجاب واحد (1)

Which of the forks are you using?

إعجاب واحد (1)

Guest Gate crashed as of latest discourse upgrade: 2.9.0.beta1

Error: Could not find module discourse/lib/clean-dom imported from `discourse/plugins/guest-gate/discourse/initializers/guest-gate

إعجاب واحد (1)

Thank you for reporting this.

I think cleanDOM is not needed anymore (@cvx can you please confirm?) so I pushed a fix.

4 إعجابات

Clean DOM logic is automatically called on routeDidChange so there should be no need to trigger it manually.

(For the record, the unintentionally breaking change was: DEV: Refactor clean-dom by CvX · Pull Request #15609 · discourse/discourse · GitHub)


Btw. I’ll add https://github.com/communiteq/discourse-guest-gate to GitHub - discourse/all-the-plugins so the future regressions won’t fall through the cracks!

6 إعجابات

Push fixed it. Thanks.

3 إعجابات

@michaeld latest discourse update crashed it again.

Will work on this later this or next week. In the meanwhile, don’t update, or disable Ember CLI.

5 إعجابات

Already updated and i’m not sure if disabling ember CLI dont break something else so I’ll be patiently waiting for a push fix for the gate.

إعجاب واحد (1)