• 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

Problems configuring the parameters

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

Post a reply
3 posts • Page 1 of 1

Postby netroplayer » Thu Feb 07, 2008 7:53 pm

I'm trying to get a chatroom setup with the room "netro" using the default theme with a title of netro chat. This is the code being used but yet I get the following results http://www.netroplayer.com/chat/

The chatroom name is N, not Netro. the title is still. The title is still Quick chat, not NetroPlayer Chat like I defined. and the default theme is still displaying as though it were the old theme that came with install even though http://www.netroplayer.com/chat/themes/ ... ground.gif is no where close to what's currently being displayed. Where is this blue background stored and where can I replace it at.

Any help would be greatly apprieciated.

Gerry

<?php

require_once dirname(__FILE__)."/src/phpfreechat.class.php";
$params = array();
$params["fistisadmin"] = "false";
$params["nick"] = ""; // setup the intitial nickname
$params['channels'] = array('Netro');
$params["title"] = "NetroPlayer Chat";
$params["theme"] = "default";
$params["shownotice"] = "3";
$params["isadmin"] = false; // just for debug ;)
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
//$params["debug"] = false;
$chat = new phpFreeChat( $params );

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>NetroPlayer Chat</title>
</head>
<body>
<div class="content">
<?php $chat->printChat(); ?>
</div>
</body></html>
Last edited by netroplayer on Thu Feb 07, 2008 7:55 pm, edited 1 time in total.
netroplayer
New member
 
Posts: 3
Joined: Thu Feb 07, 2008 7:45 pm
Top

Postby netroplayer » Thu Feb 07, 2008 8:28 pm

Making progress, I found out about the rehashing and that fixed the title of the page, I can live with the N being the chatroom name, anyone know how to get rid of this default theme.
netroplayer
New member
 
Posts: 3
Joined: Thu Feb 07, 2008 7:45 pm
Top

Postby netroplayer » Thu Feb 07, 2008 8:39 pm

Welp, I guess I overreacted. I just created another directory and copied the default theme into the new directory and rehashed it again and now my red block works now. Time to make it prettier.
netroplayer
New member
 
Posts: 3
Joined: Thu Feb 07, 2008 7:45 pm
Top


Post a reply
3 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

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