Page 1 of 1

Restrict chatrooms to logged in users

PostPosted: 14 Jan 2015, 18:13
by JTrudgett
Is there an option or way to restrict chatrooms to users that are logged into my phpBB forum?

Re: Restrict chatrooms to logged in users

PostPosted: 14 Jan 2015, 22:30
by Jason
If guest chat is enabled then no, at least not from the admin panel.

Re: Restrict chatrooms to logged in users

PostPosted: 15 Jan 2015, 11:13
by JTrudgett
Thanks. I made this change which works for me.

Code: Select all
===================================================================
--- arrowchat/includes/js/arrowchat_core.dev.js   (revision )
+++ arrowchat/includes/js/arrowchat_core.dev.js   (revision )
@@ -4096,7 +4096,7 @@
             buildPopoutChatButton();
             u_is_mod == 1 && c_enable_moderation == 1 && buildModButton();
             c_notifications != 0 && buildOptionsButton();
-            c_chatrooms != 0 && buildChatroomsButton();
+            c_chatrooms != 0 && u_is_guest == 0 && buildChatroomsButton();
             buildBuddyListTab();
          }
          a('.arrowchat_powered_by').each(function(){this.style.setProperty('display','block','important');});