• 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

How to Setup Admins

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

Post a reply
4 posts • Page 1 of 1

Postby zmspeed » Mon Jul 30, 2007 2:48 am

could someone tell me how to setup the admins

cheers AJ
zmspeed
New member
 
Posts: 3
Joined: Mon Jul 30, 2007 2:31 am
Top

Postby nsj » Mon Jul 30, 2007 9:43 am

this might work:

$params["admins"] = array("adminNICK" => "adminPASS"); // the key is the nickname, the value is the password

Cheers!!!
~nsj
nsj
Member
 
Posts: 19
Joined: Mon Jul 30, 2007 8:16 am
Top

Postby zmspeed » Mon Jul 30, 2007 9:58 pm

Thank but...

No seem to have told me what file i need to put this in..

is it in the Main Index php or in the config file, or in the theme main php, or in the admin php under themes.

some help on this would be good..

i have added the code in the main index php but doesnt seem to work ?

what am i doing wrong .

cheers AJ
zmspeed
New member
 
Posts: 3
Joined: Mon Jul 30, 2007 2:31 am
Top

Postby nsj » Tue Jul 31, 2007 12:53 am

Hi,
You don't have to change the config or theme files for this.
If Index.php is your chat page, then all the config value needs to go in there.

You might already have this code in there:
$params = array();
$params["serverid"] = md5( __FILE__ );
//---->> this is where u need to put other config values
$chat = new phpFreeChat( $params );

$chat->printJavascript();
$chat->printStyle();
$chat->printChat();

For further info, check this page:

http://www.phpfreechat.net/install.en.html

cheers!!!
~nsj
nsj
Member
 
Posts: 19
Joined: Mon Jul 30, 2007 8:16 am
Top


Post a reply
4 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

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