I've got a problem with giving admin rights to specified groups of users on my chat. It's integrated with phpBB3 (newest version, if I remember correctly, 3.0.12). I have followed instructions in Documentation and set the parameters as follows:
- Code: Select all
Before parameters section:
$grupaCzat = $user->data['group_id'];
$ajdiCzat = $user->data['user_id'];
blah blah blah... integration, parameters... blah blah blah
if($grupaCzat == 1724 OR $grupaCzat == 1725 OR $grupaCzat == 1730 OR $grupaCzat == 16 OR $grupaCzat == 35 OR $ajdiCzat == 2) {
$params["isadmin"] = true;
}
In theory everything should work fine and selected users or groups of users should be given admin rights every time they log in to the chat. However, the chat seems to completely ignore the 'isadmin' parameter as it doesn't give admin rights to anybody.
Any ideas what can be wrong? I have tried meny things like changing groups, adding/removing them, putting their IDs in apostrophs, etc. However, no success.
(sorry for my English, though I'm learning this language for many many years, my English is still more Engrish or Polgrish than English
