Guest Gate (Sign Up Popup Plugin)


#6

I made 2 more additions today

  1. Per @Fer_Nando’s suggestion, I added a list of bots that should not open the modal. I found the list in this Stackoverflow answer
  2. I added gate_show_only_once as an option, which will, as it says, only show the user the gate once per hard refresh.

I’ll keep my eye on the poll for the next feature to add. :grin:


(Tobias Eigen) #7

Thanks for the sweet plugin! I’ve installed it on my community and really like it. :rocket:

Those are unfortunately all equally good ideas. :slight_smile: All worthy of implementation, and I couldn’t tell you the priority of each.


(Vinoth Kannan) #8

I guess no need to exclude bots here. Since Discourse uses crawler layout for bots. Also there is function to detect bots and layout. Check below


(Vinoth Kannan) #9

I appreciate this @jgujgu’s forked plugin and I recommend it because of his active development in new features. Also if anyone need simplified version of this plugin with minimal features you can still use my original repo at GitHub - vinothkannans/discourse-guest-gate: Forced login / registration popup insired by Quora. It will give you output like in screenshot below and you can configure how many topics a guest can view before displaying the guest gate.


(Fer Nando) #10

Thanks for your work!


(Veer) #11

@vinothkannans i want the same popup plugin but not for sign up, but for facebook page likes, or for twitter followers. i can pay to you for this.


Please check this.


#12

Hi!
The plugin has incorrect (outdated?) modal.hbs template:

      <div class="modal-inner-container">
        <div class="modal-header">
          <a class="close" {{action "closeModal"}}>{{fa-icon "times"}}</a>
          <h3>{{title}}</h3>
          <div class="clearfix"></div>
        </div>

The .close anchor should be wrapped in div with modal-close class.

It has several consequence:
https://meta.discourse.org/t/dialog-close-button-design/60727/?source_topic_id=56625
https://meta.discourse.org/t/dialog-and-esc-handling/60725?source_topic_id=56625

PR: fix broken layout in modal.hbs: added .modal-close by evil-shrike · Pull Request #3 · jgujgu/discourse-guest-gate · GitHub


Probably a bug relative to the close button on banner topic
#13

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


#14

Just updated to Discourse v1.9.0.beta11 +12 - this plugin breaks site.


(Wiliam Joaquim) #15

I did the installation and broke the site. :slightly_frowning_face:

The site has been left blank for members, nothing uploaded.

Only I with my admin account logged in I was able to access the site normally.

VERSION: v1.9.0.beta11 +12


#16

Once I logged out of admin I had the same issue - then couldn’t log back in. SSH in - remove plugin - rebuild.


#17

I also just removed this plugin.
After the new Discourse Update - I’m getting a blank page - because of this plugin - So, I had to remove this plugin to fix it.

@jgujgu
Thought of letting you know - so that you can fix it, if you have some free time.


I'm paying to fix the discourse-gate-plugin
(Bryan Holst) #18

I’d love to know when this works again! I’d love to have this working on my site!!


(Tobias) #19

We’re also facing the same problem after the latest update. From our end, it was possible to fix, by disabling the plugin in the Admin-panel.


(Erlend Sogge Heggen) #20

Seems like @jgujgu has abandoned this. The website he was using this on is no longer operational.

@vinothkannans are you still maintaining your original plugin for this?


(Vinoth Kannan) #21

No. But I am maintaining this plugin as a part of the below plugin

It have Guest Locker (Guest Gate) and Social Locker features.


Blank page after upgrade due to broken plugin
(Vinoth Kannan) #22

I created a PR to fix this plugin. Since OP @jgujgu is not active I forked his plugin here & merged the PR (It is working now :+1:).

As you know it already have minimal version here.


(Johan) #23

Hello, i’ve problem with this plugin, see:
https://meta.discourse.org/t/wordpress-push-post-image-fail/77730/8?u=hotfirenet

Have got an idee ?
Thanks


(Craig Davison) #24

Yeah this plugin is broken…I’m getting the same problem.


(Stephen) #25

Looks as though this was flagged as broken before you forked it, is it still known to be working? If so is it worth updating the OP?