How To Install Tufat FlashChat 4.0.11 (with screenshots)
| Author |
Message |
ehoffman73


Joined: Apr 22, 2004 Posts: 211 Location: Stillwater, MN
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Sat Apr 01, 2006 12:52 am |
|
All i get is a blank screen in 4.5.6; the install and everything went great. But I am shut out once i go to the directory...just a white screen. Any ideas?
_________________ -----------------------
www.purplepride.org
Home of Vikings Fans Worldwide
www.wildfans.com
Home of Wild Fans Worldwide
ehoffman73's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) W2003/IIS6/4.x/ /9.0.5 |
|
| Back to top |
|
 |
run0


Joined: Jun 28, 2004 Posts: 1559
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Sat Apr 01, 2006 1:42 am |
|
I tried this recently and the same thing happened. they must have changed something
_________________

run0's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.33 (Unix)/4.0.22-standard/4.3.9/DF 9.x |
|
| Back to top |
|
 |
ehoffman73


Joined: Apr 22, 2004 Posts: 211 Location: Stillwater, MN
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Sat Apr 01, 2006 2:24 am |
|
I figured it out. I am, on varying days, a moron.
_________________ -----------------------
www.purplepride.org
Home of Vikings Fans Worldwide
www.wildfans.com
Home of Wild Fans Worldwide
ehoffman73's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) W2003/IIS6/4.x/ /9.0.5 |
|
| Back to top |
|
 |
run0


Joined: Jun 28, 2004 Posts: 1559
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Sat Apr 01, 2006 7:58 am |
|
what was the problem?
_________________

run0's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.33 (Unix)/4.0.22-standard/4.3.9/DF 9.x |
|
| Back to top |
|
 |
ehoffman73


Joined: Apr 22, 2004 Posts: 211 Location: Stillwater, MN
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Sat Apr 01, 2006 7:50 pm |
|
I had specified a custom theme that I made, and then forgot to upload the file.
_________________ -----------------------
www.purplepride.org
Home of Vikings Fans Worldwide
www.wildfans.com
Home of Wild Fans Worldwide
ehoffman73's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) W2003/IIS6/4.x/ /9.0.5 |
|
| Back to top |
|
 |
hybrid


Joined: Apr 19, 2006 Posts: 99 Location: Sydney, Australia
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Mon Apr 24, 2006 2:11 am |
|
I just installed flashchat on my cpgnuke site.
Highly recommended! Especially for users behind corporate firewalls etc, as this works only via regular port 80.
hybrid's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
run0


Joined: Jun 28, 2004 Posts: 1559
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Sat Apr 29, 2006 3:46 pm |
|
Did you get 4.5.7 working in the latest CVS? I cannot for the life of me get it to work, it wont let me in the chat. The latest versions of flashchat allow you to select database tables where your user information comes from
_________________

run0's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.33 (Unix)/4.0.22-standard/4.3.9/DF 9.x |
|
| Back to top |
|
 |
RedRincon650


Joined: Mar 09, 2006 Posts: 118 Location: Winnipeg Manitoba
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Tue May 09, 2006 5:39 pm |
|
the documentation was very easy to follow, a job well done !... I do have a problem tho... for some reason, Im seeing the content of the index.php instead of the flashchat, the link I used works if I paste it directly...
RedRincon650's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache-2/MySQL-4/PHP-4/CMS-9.1RC2 |
|
| Back to top |
|
 |
alyssa


Joined: Nov 15, 2004 Posts: 778
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Tue May 16, 2006 5:34 pm |
|
Does the documentation STILL work for the later versions??
I have to admit, I've been lax and have not upgraded the chats that I installed back then yet. LOL.
Let me know if you would, I can always redo it for another newer version if it needs it.
What link are you trying to use for the chatroom?
alyssa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) [ Linux / Apache 2.2.8 / MySQL 5.0.45 / PHP 5.2.6 / CPG 8.2b - 9.2.1.7] |
|
| Back to top |
|
 |
lauwmang


Joined: Apr 04, 2006 Posts: 40
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Sun May 28, 2006 12:09 pm |
|
could somebody tell me where to place the config.php?
Warning: main(): open_basedir restriction in effect. File(/config.php) is not within the allowed path(s): (/home/urchoice/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/urchoice/public_html/flashchat/chat/inc/cmses/cpgNukeCMS.php on line 6
Warning: main(/config.php): failed to open stream: Operation not permitted in /home/urchoice/public_html/flashchat/chat/inc/cmses/cpgNukeCMS.php on line 6
Fatal error: main(): Failed opening required '/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/urchoice/public_html/flashchat/chat/inc/cmses/cpgNukeCMS.php on line 6
_________________ It's www.beta.urchoice.nl/
lauwmang's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) linux/1.3.34(unix)/4.0.25-standard/4.4.1/9.0.6.1 |
|
| Back to top |
|
 |
lauwmang


Joined: Apr 04, 2006 Posts: 40
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Mon May 29, 2006 12:08 am |
|
never mind, fixed it.......:P
_________________ It's www.beta.urchoice.nl/
lauwmang's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) linux/1.3.34(unix)/4.0.25-standard/4.4.1/9.0.6.1 |
|
| Back to top |
|
 |
hybrid


Joined: Apr 19, 2006 Posts: 99 Location: Sydney, Australia
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Tue May 30, 2006 12:51 am |
|
I'm not sure if your documentation still works on the later versions, but there is documentation on the flashchat website on how to get it working with cpgnuke.
_________________ NukeLeagueDF - NukeLeague module for DragonflyCMS
hybrid's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
lauwmang


Joined: Apr 04, 2006 Posts: 40
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Sat Jun 03, 2006 3:13 am |
|
I've installed the latest version of flashchat 4.6.
Installation went well. i can log in as a normal user,
but i can't login as an administrator. When i go the admin/index.php/. It just shows me a blank screen.
I've chmod everything to 777. It should work right?
I've also noticed that tufat uses "roles" to assign users.
Does this affect the integration of flashchat?
anyone ?
_________________ It's www.beta.urchoice.nl/
lauwmang's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) linux/1.3.34(unix)/4.0.25-standard/4.4.1/9.0.6.1 |
|
| Back to top |
|
 |
lauwmang


Joined: Apr 04, 2006 Posts: 40
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Sat Jun 03, 2006 2:00 pm |
|
this is the answer i got from tufat forums:
The roles config is if you install this in statelessCMS only. With this integrated it should allow you to login to the chat and that chat admin area with your admin name and password. If it's not working it could be that the cms file hasn't been updated for this. Someone from cpgnuke originally made this cms file (cpgNukeCMS.php) so I don't know if Darren has had anyone look at this or not.
this is the file :
<?php
$cpg_root_path = realpath(dirname(__FILE__) . '/chat/');
define('CPG_NUKE', 1);
require_once($cpg_root_path . 'config.php');
class CPGNukeCMS {
var $user_id = NULL;
var $admin_id = NULL;
var $getUserStmt = NULL;
var $loginStmt = NULL;
var $getUsersStmt = NULL;
var $loadConfigStmt = NULL;
var $cpgNukeConfig = array();
function CPGNukeCMS()
{
$this->getUserStmt = new Statement("SELECT user_id as id, username AS login, user_level, user_password from {$GLOBALS['user_prefix']}_users WHERE user_id=? LIMIT 1");
$this->loginStmt = new Statement("SELECT user_id as id, username AS login, user_password, user_level from {$GLOBALS['user_prefix']}_users WHERE username=? LIMIT 1");
$this->getUsersStmt = new Statement("SELECT user_id as id, username as login from {$GLOBALS['user_prefix']}_users");
$this->buildConfig();
}
function buildConfig()
{
$this->loadConfigStmt = new Statement("SELECT * from {$GLOBALS['prefix']}_config_custom WHERE cfg_name = 'cookie'");
$rs = $this->loadConfigStmt->process();
while ($rec = $rs->next())
$this->cpgNukeConfig[$rec['cfg_name'] . "_" . $rec['cfg_field']] = $rec['cfg_value'];
if (empty($this->cpgNukeConfig['cookie_member'])) $this->cpgNukeConfig['cookie_member'] = 'member';
if (empty($this->cpgNukeConfig['cookie_admin'])) $this->cpgNukeConfig['cookie_admin'] = 'admin';
}
function isLoggedIn()
{
if (isset($_COOKIE[$this->cpgNukeConfig['cookie_member']])) {
$cookieData = split(':', base64_decode($_COOKIE[$this->cpgNukeConfig['cookie_member']]));
}
else if (isset($_COOKIE[$this->cpgNukeConfig['cookie_admin']])) {
$cookieData = split(':', base64_decode($_COOKIE[$this->cpgNukeConfig['cookie_admin']]));
}
return isset($cookieData) ? $cookieData[0] : NULL;
}
function login($login, $password)
{
$rv = NULL;
if (($rs = $this->loginStmt->process($login)) && ($rec = $rs->next()))
{
if ($rec['user_password'] <> md5($password)) $rv = NULL;
else {
if ($rec['user_level'] == 2)
{ // admin
$cookieData = base64_encode($rec['id'].":".$rec['user_password'].":0");
$cookieName = $this->cpgNukeConfig['cookie_admin'];
}
else
{ // user
$cookieData = base64_encode($rec['id']."::".$rec['user_password']);
$cookieName = $this->cpgNukeConfig['cookie_member'];
}
setcookie($cookieName, $cookieData, 0, $this->cpgNukeConfig['cookie_path'], $this->cpgNukeConfig['cookie_domain']);
$rv = $rec['id'];
}
}
else $rv = NULL;
return $rv;
}
function logout()
{
/*
if (isset($_COOKIE[$this->cpgNukeConfig['cookie_member']]))
{
setcookie($_COOKIE[$this->cpgNukeConfig['cookie_member']], "", 0, $this->cpgNukeConfig['cookie_path'], $this->cpgNukeConfig['cookie_domain']);
}
if (isset($_COOKIE[$this->cpgNukeConfig['cookie_admin']]))
{
setcookie($_COOKIE[$this->cpgNukeConfig['cookie_admin']], "", 0, $this->cpgNukeConfig['cookie_path'], $this->cpgNukeConfig['cookie_domain']);
}*/
}
function getUser($userid)
{
$rv = NULL;
if (($rs = $this->getUserStmt->process($userid)) && ($rec = $rs->next()))
{
$rv = array();
$rv['login'] = $rec['login'];
$rv['id'] = $rec['id'];
$rv['roles'] = ROLE_USER;
if ($rec['user_level'] == 2)
{
$rv['roles'] = ROLE_ADMIN;
}
if ($rec['user_level'] == 3)
{
$rv['roles'] = ROLE_MODERATOR;
}
// $rv['roles'] = ($rec['user_level'] == 2 ? ROLE_ADMIN : ROLE_USER);
// $rv['roles'] = ($rec['user_level'] == 3 ? ROLE_MODERATOR : ROLE_USER);
}
return $rv;
}
function getUsers()
{
return $this->getUsersStmt->process();
}
function getUserProfile($userid)
{
if ($userid == SPY_USERID) return NULL;
$user = $this->getUser($userid);
if ($user) {
$rv = $this->cpgNukeConfig['server']['nukeurl'] . "/index.php?name=Your_Account" . ((($id = $this->isLoggedIn()) && ($id == $userid)) ? "" : "&profile=".$user['login']);
}
else {
$rv = NULL;
}
return $rv;
}
function userInRole($userid, $role) {
if($user = $this->getUser($userid)) {
return ($user['roles'] == $role);
}
return false;
}
function getGender($userid)
{
return NULL;
}
}
$GLOBALS['fc_config']['db'] = array(
'host' => $dbhost,
'user' => $dbuname,
'pass' => $dbpass,
'base' => $dbname,
'pref' => $prefix . "_fc_",
);
$GLOBALS['fc_config']['cms'] = new CPGNukeCMS();
//clear 'if moderator' message
foreach($GLOBALS['fc_config']['languages'] as $k => $v) {
$GLOBALS['fc_config']['languages'][$k]['dialog']['login']['moderator'] = '';
}
?>
could someone take a look at this and tell me if the file is up to date?
_________________ It's www.beta.urchoice.nl/
lauwmang's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) linux/1.3.34(unix)/4.0.25-standard/4.4.1/9.0.6.1 |
|
| Back to top |
|
 |
run0


Joined: Jun 28, 2004 Posts: 1559
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Thu Jun 08, 2006 8:03 pm |
|
4.6 works great for me, cept darkgrue's block doesn't work anymore. will have a closer look later to see if any of the tables changed
_________________

run0's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.33 (Unix)/4.0.22-standard/4.3.9/DF 9.x |
|
| Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|

|
User Info ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Welcome Anonymous
Last CVS commits ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Languages ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Community ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Support for DragonflyCMS in a other languages:
• Deutsch
• Español
X-links ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Preview theme ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
|