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 лайк