Unable to chat
-
I have a new install of NodeBB with 14 active plugins and a custom theme. Chat privileges are enabled for all groups, however the 'Start new chat...' option under the account profile menu never shows up. I can force it to be displayed by removing the check in the template
li class="<!-- IF !hasPrivateChat -->hidden<!-- ENDIF !hasPrivateChat -->">
however that will take away the ability of the users to restrict chat to only those they follow. Once a chat has been initiated, the 'Resume chat with...' option does show up in the profile menu.Any suggestions on where to look for the disconnect? I've already tried disabling all plugins and using a built-in theme, but no difference.
-
There is no built in way to reset privileges to defaults.
I checked the template and the start new chat should always be visible.
<!-- IF !config.disableChat --> <li class="<!-- IF !hasPrivateChat -->hidden<!-- ENDIF !hasPrivateChat -->"> <a component="account/chat" href="#">[[user:chat_with, {username}]]</a> </li> <li> <a component="account/new-chat" href="#">[[user:new_chat_with, {username}]]</a> </li> <!-- ENDIF !config.disableChat -->
The second link is the "Start New Chat" option and it doesn't have a conditional
hidden
. The first one is theContinue Chat
button and it is only visible when you already have a private chat with someone. -
@baris I tried the default theme and that didn't fix the issue. I was able to see the menu option when I installed on a new DB with the same theme and plugins installed. Is there an easy way to reset the settings? I tried
nodebb reset -s
but that didn't seem to reset the privileges to defaults. -
There is no built in way to reset privileges to defaults.
I checked the template and the start new chat should always be visible.
<!-- IF !config.disableChat --> <li class="<!-- IF !hasPrivateChat -->hidden<!-- ENDIF !hasPrivateChat -->"> <a component="account/chat" href="#">[[user:chat_with, {username}]]</a> </li> <li> <a component="account/new-chat" href="#">[[user:new_chat_with, {username}]]</a> </li> <!-- ENDIF !config.disableChat -->
The second link is the "Start New Chat" option and it doesn't have a conditional
hidden
. The first one is theContinue Chat
button and it is only visible when you already have a private chat with someone. -