Yes, exactly.panas wrote:Does the permisions offer control same as on forum ?
For example, if a member or team has only reading acces to a forum, does the same permision apply on the chat channel that responds too?
Only reading permission for them ?
That's a configuration setting:Lord Carnage wrote:one of my members is having a problem getting into the chat, everyone else can get in fine but he keeps getting logged out due to an 'invalid ip address' message.
any way to get around this? if so what line of code and what file to edit?
Code: Select all
// If true, checks if the user IP is the same when logged in:
$ajaxChatConfig['ipCheck'] = false;
That's in the FAQ:johnfosteruk wrote:Hi
can you tell me if there's anyway of installing this with the Prodooxs1 style?
No, it must be another reason. I'm sorry, but currently I have no clue what this could be if your database settings are correct.niall_sg1 wrote:Hey, I reinstalled the Chat as per your request and with the latest version.
I also used the config settings from my /config.php file in the root so I know the database settings are correct
However I still get the same message and the chat was working when I tested it. Just when I released it people could get on once then when they reopened the window it ceased to work. Could this be to do with users not logging out and only closing the window?
Code: Select all
Error!
XML parsing failed
XML parsing failed: syntax error (Line: 48, Character: 5)
Reparse document as HTML
Error:unexpected end-of-file
48: <input type="text" name="password" id="passwordField"/></div>
Code: Select all
<form action="./" method="post" enctype="application/x-www-form-urlencoded">
Code: Select all
<form action="./" name="login" method="post" enctype="application/x-www-form-urlencoded">
Did you try the demo with Opera?fem07 wrote:I tested in ie and ff... there it works fine. Do you know what causes the incompatibility with opera?
There is no "name" attribute for the form tag in the XHTML standard as far as I know.fem07 wrote:I think it is a bug... namely that the form name is missing.
[...]
To let Opera work with it without errormessage the form needs to have a name attribute
How can I point that phpBB3 authentication system madlbueimp mentioned to custom moderator groups?madblueimp wrote:Have a look at the method getValidLoginUserData() in lib/class/CustomChat.php:
Code: Select all
Select all if($auth->acl_get('a_')) $userData['userRole'] = AJAX_CHAT_ADMIN; elseif($auth->acl_get('m_')) $userData['userRole'] = AJAX_CHAT_MODERATOR; else $userData['userRole'] = AJAX_CHAT_USER;
As you can see, there is a call to the phpBB3 authentication system to check if we have a moderator ($auth->acl_get('m_')).
Just change this condition to your liking (checking if the user is a member of the desired group).
Code: Select all
CREATE TABLE ajax_shout3_shoutbox (
shout_id int(11) unsigned NOT NULL auto_increment,
shout_user_id mediumint(8) NOT NULL,
shout_time int(11) NOT NULL,
shout_ip varchar(32) character set latin1 NOT NULL,
shout_text text collate utf8_bin NOT NULL,
shout_bbcode_bitfield varchar(255) character set latin1 NOT NULL,
shout_bbcode_uid varchar(5) character set latin1 NOT NULL,
shout_bbcode_flags int(11) unsigned NOT NULL default '7',
PRIMARY KEY (shout_id)
) DEFAULT CHARSET=utf8 COLLATE=utf8_bin;