• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

phpBB admins - integration problem

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
1 post • Page 1 of 1

phpBB admins - integration problem

Postby Ivellios » Thu May 01, 2014 11:05 pm

Hi everybody!

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 :D )
Ivellios
New member
 
Posts: 1
Joined: Thu May 01, 2014 10:57 pm
Top

Post a reply
1 post • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 8 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub