Is there a setting to restrict visibility and access to a specific group, i.e. only allow moderators to use the chat functionality?
The screenshots seem to indicate it might be possible via user settings.
ADDED: Can the default setting Enable Ajax Chat: be set to Disabled to allow the admin to configure all the settings/permissions before users/members/guests can use the functionality.
Restrict to specific groups? - Ajax Chat
Restrict to specific groups?
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
-
- Community Team Member
- Posts: 2526
- Joined: Tue Mar 01, 2011 8:35 pm
- Location: Western Canada 🇨🇦
Re: Restrict to specific groups?
to restrict users/groups is in the permission system
to have chat disabled by default you need to...
disable and delete data
open spaceace\ajaxchat\migrations\install_ajaxchat.php
find
replace with
enable chat and it should be disabled
edit: wrong file to edit had been corrected
to have chat disabled by default you need to...
disable and delete data
open spaceace\ajaxchat\migrations\install_ajaxchat.php
find
Code: Select all
array('config.add', array('display_ajax_chat', '1')),
Code: Select all
array('config.add', array('display_ajax_chat', '0')),
edit: wrong file to edit had been corrected
Last edited by spaceace on Wed Feb 26, 2020 9:47 am
-
- Registered User
- Posts: 1999
- Joined: Wed Jan 30, 2008 8:50 pm
Re: Restrict to specific groups?
Thanks for the quick reply and the indication of what to change.
Added: Are you sure the changes are in
in
Added: Are you sure the changes are in
event/listener.php
and not migrations/install_ajaxchat.php
? I don't see any instances of Code: Select all
array('config.add', array('display_ajax_chat', '1')),
event/listener.php
but do find it in migrations/install_ajaxchat.php
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
-
- Community Team Member
- Posts: 2526
- Joined: Tue Mar 01, 2011 8:35 pm
- Location: Western Canada 🇨🇦
Re: Restrict to specific groups?
you are correct, sorry. was really tired after 2 days of no sleep
i will edit my post
i will edit my post
-
- Registered User
- Posts: 1999
- Joined: Wed Jan 30, 2008 8:50 pm