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

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

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

3 Mi Piace

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

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

1 Mi Piace

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

3 Mi Piace

@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 Mi Piace

Some news about this bug?
Please remove it.

1 Mi Piace

Kindly fix this bug someone please !

1 Mi Piace

I forked the plugin and removed the footer.

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

6 Mi Piace

Has anyone tested this
is this working perfectly?

1 Mi Piace

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

1 Mi Piace

Which of the forks are you using?

1 Mi Piace

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

Thank you for reporting this.

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

4 Mi Piace

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

Push fixed it. Thanks.

3 Mi Piace

@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 Mi Piace

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