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

Admin in v2 chat

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

Post a reply
1 post • Page 1 of 1

Admin in v2 chat

Postby tryphpchat » Wed Apr 10, 2013 4:12 pm

I read FAQ and some topics in forum..

Code: Select all
$GLOBALS['pfc_hooks']['pfc.isop'][5] = function ($app, $req, $res) {
  return function ($login, $channel, $uid, $cid) use ($app, $req, $res) {
    if ($login == 'kerphi' and $channel == "Kerphi's room") {
      return true;
    } else {
      return false;
    }
  };
};


I change name for 'TESTNAME' and channel for "My room" - don't work. What i must do?
tryphpchat
New member
 
Posts: 1
Joined: Wed Apr 10, 2013 3:10 pm
Top

Post a reply
1 post • Page 1 of 1

Return to General Support (v2.x)

Who is online

Users browsing this forum: No registered users and 2 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