Technical Name |
bi_force_user_login
|
License | OPL-1 |
Introduction
Force User Login in Odoo Website elevates visitor engagement by ensuring users must authenticate before accessing certain parts of your site. By activating the “Is User Force Login” option in your website settings, all non-logged-in visitors will be greeted with a clean login popup anytime they try to explore restricted content. This enhances interaction, encourages account creation, and keeps your website's valuable content behind controlled access.
Key Features
Add a simple toggle—Enable 'Force User Login' in website configuration settings to enforce user authentication before content access.
Display a login popup whenever a non-authenticated user attempts to view restricted pages, guiding users smoothly to login or sign up.
Ensure visitors are redirected to the login page upon confirmation, preserving access context.
Seamlessly integrates with Odoo’s standard Website (website) and Discuss (mail) modules for smooth operation.
Benefits
Improves site control by gating content and driving user signups.
Boosts conversion by encouraging visitors to register before exploring.
Boosts engagement by promoting login-based interactions like commenting or purchasing.
Easy setup with minimal config and no front-end coding.
Compatibility & Technical Details
Required Modules: Website (website) and Discuss (mail)
Technical Name: bi_force_user_login
License: OPL-1 (Odoo Proprietary License v1.0)
Installation Steps (general outline):
Confirm that the Website and Discuss modules are installed in your Odoo instance.
Place the bi_force_user_login module into your Add-Ons directory.
Enable Developer Mode, update the apps list, and install the module.
Navigate to Website → Configuration → Settings and activate the “Is User Force Login” checkbox.
When a non-logged-in visitor tries to access the site, they will be prompted to log in via popup before proceeding.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.