Re: "invisible mode" an undesired user option
Posted by
Hugo <Nabble> on
URL: https://support.nabble.com/invisible-mode-an-undesired-user-option-tp7580615p7580670.html
The "invisible mode" is just a cookie that we set in the user's browser. So one way to disable it is to add an override like this:
<override_macro name="js_basic_site_functions" requires="servlet">
Nabble.deleteCookie('visible');
</override_macro>
This will not remove the feature from the advanced settings page, but will make it unusable. Whoever tries to become invisible will be forced to be visible again when the next page loads. Is this good enough? The advanced settings page hasn't been templated yet, so customizations are not possible.