• 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

question on admin access

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

Post a reply
4 posts • Page 1 of 1

Postby iuchewie » Wed Feb 13, 2008 10:48 pm

afternoon folks -- i just joined the forum though i've been using the chat on my site for quite some time now.

what do i need to do in order to create an admin user that can monitor the chat, kick/ban people, etc?

also, is there a way to track IP addresses?

if you're interested, my chat is located at http://www.killthecan.org/ - there is a link from the homepage.

thanks in advance,
chewie
iuchewie
Member
 
Posts: 11
Joined: Wed Feb 13, 2008 10:46 pm
Top

Postby OldWolf » Thu Feb 14, 2008 1:51 am

$params["admins"]=array("username"=>"password");

Login using username, then type into the chat /identify password.
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby iuchewie » Thu Feb 14, 2008 3:40 am

thanks for the reply oldwolf - but i seem to be having a problem... here's the complete code from my index.php file... any thoughts will be appreciated.

when i try to do /identify am i supposed to enter "/identify test" (the password that i've got set for username chewie) or /identify password

sorry for the confusing questions...

<?php

require_once dirname(__FILE__)."/src/phpfreechat.class.php";
$params = array();
$params["nick"] = ""; // setup the intitial nickname
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["admins"]=array("chewie"=>"test");
$chat = new phpFreeChat( $params );

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>KillTheCan.org / QSX Live Chat</title>
<?php $chat->printJavascript(); ?>
<?php $chat->printStyle(); ?>
</head>

<body>
<?php $chat->printChat(); ?>

</body>

</html>
iuchewie
Member
 
Posts: 11
Joined: Wed Feb 13, 2008 10:46 pm
Top

Postby OldWolf » Thu Feb 14, 2008 4:24 am

Username: chewie
/identify test
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top


Post a reply
4 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: Majestic-12 [Bot] and 58 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