The Force signin plugin allows users to force signin on specific pages, such as the home page and topics page, by displaying a signin modal. The plugin is available on GitHub and offers options like forcing signin selectively and allowing users to close the signin modal.
net_deamon created the plugin to provide a feature similar to Quora, where users are shown a signin modal instead of hiding content.
sam pointed out a similar plugin, Guest Gate, to which net_deamon responded by highlighting the differences between the two plugins. The main differences are that force-signin allows selective signin on specific pages and does not allow users to bypass the signin by closing the modal.
vinothkannans mentioned that there are actually three plugins with similar functionality, including Guest Gate and Content Lockers. He believes that having multiple plugins will give users more options to choose from and will not cause confusion.
xiasummer questioned the difference between the plugin and the built-in Discourse setting login required, which does not allow anonymous login.
The default option in discourse to force signin users is to completely hide the content behind, and show text to signin users.
If you want something like Quora, where users will be shown login modal, you can use force-signin plugin.
This plugin will show signin modal if the user is not signed in.
I totally missed this plugin…
Thanks for the link.
I installed the plugin in my local machine. Some of the differences I could find was
force-signin allows to force signin selectively on home page and/or topics page. This I could not find in guest-gate plugin
In the guest-gate, the “x button disabled” setting only disables the close button in first popup. The user can still close the “Log in” popup and bypass the signin. Compared to this, in the force-signin, the “Allow user to close signin modal” do not allow the user to close the login modal by clicking outside the modal, and also hides the close button
Other features which are not present in force-signin plugin, but I am hoping to add these in future.’
I do not show customized modal. Although I was hoping to customize the text.
I was also hoping to add the topic tracking ( like quora… Do not force signin for few topics etc )
I agree that differences may be minor, and as the guest-gate plugin development started before, it already has users and more votes.
I am planning to use this plugin in two of my discourse sites after it is complete.
Do you feel that differences are minor, and having two plugins doing almost same job will confuse users?
Actually there are three plugins . Guest Gate plugin is customized fork of my repo. My repo is simple plugin with minimal features.
Now as per @veer’s plugin request I created Content Lockers plugin. It have both Guest Locker (Gate) and Social Locker features in single place. Also I am going to add Ad Locker feature in it. (My idea is to create single plugin to all content locking options)
Please have a look at my Content Lockers repo too. So you may get more ideas.
I hope, It will not confuse users. It will give more options to choose.