Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Add-Ons & Blocks ⇒ How To Install Tufat FlashChat 4.0.11 (with screenshots)


How To Install Tufat FlashChat 4.0.11 (with screenshots)
Need help creating a block or add-on, or you have created or modified a block/add-on that works in Dragonfly CMS and it meets the CPG Security Requirements? Do you have feedback about a specific add-on? Here is the place to post. Read the announcements here first!.
Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & Blocks

View previous topic :: View next topic  
Author Message
ehoffman73
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Apr 22, 2004
Posts: 211
Location: Stillwater, MN
PostPosted: Sat Apr 01, 2006 12:52 am
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
View user's profile Visit poster's website Photo Gallery
run0
Supporter
Supporter

Offline Offline
Joined: Jun 28, 2004
Posts: 1559

PostPosted: Sat Apr 01, 2006 1:42 am
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
View user's profile Visit poster's website
ehoffman73
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Apr 22, 2004
Posts: 211
Location: Stillwater, MN
PostPosted: Sat Apr 01, 2006 2:24 am
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
View user's profile Visit poster's website Photo Gallery
run0
Supporter
Supporter

Offline Offline
Joined: Jun 28, 2004
Posts: 1559

PostPosted: Sat Apr 01, 2006 7:58 am
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
View user's profile Visit poster's website
ehoffman73
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Apr 22, 2004
Posts: 211
Location: Stillwater, MN
PostPosted: Sat Apr 01, 2006 7:50 pm
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
View user's profile Visit poster's website Photo Gallery
hybrid
Nice poster
Nice poster

Offline Offline
Joined: Apr 19, 2006
Posts: 101
Location: Sydney, Australia
PostPosted: Mon Apr 24, 2006 2:11 am
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
View user's profile Visit poster's website
run0
Supporter
Supporter

Offline Offline
Joined: Jun 28, 2004
Posts: 1559

PostPosted: Sat Apr 29, 2006 3:46 pm
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
View user's profile Visit poster's website
RedRincon650
Nice poster
Nice poster

Offline Offline
Joined: Mar 09, 2006
Posts: 118
Location: Winnipeg Manitoba
PostPosted: Tue May 09, 2006 5:39 pm
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
View user's profile Visit poster's website
alyssa
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Nov 15, 2004
Posts: 773

PostPosted: Tue May 16, 2006 5:34 pm
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
View user's profile
lauwmang
Newbie
Newbie

Offline Offline
Joined: Apr 04, 2006
Posts: 40

PostPosted: Sun May 28, 2006 12:09 pm
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
View user's profile Visit poster's website
lauwmang
Newbie
Newbie

Offline Offline
Joined: Apr 04, 2006
Posts: 40

PostPosted: Mon May 29, 2006 12:08 am
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
View user's profile Visit poster's website
hybrid
Nice poster
Nice poster

Offline Offline
Joined: Apr 19, 2006
Posts: 101
Location: Sydney, Australia
PostPosted: Tue May 30, 2006 12:51 am
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
View user's profile Visit poster's website
lauwmang
Newbie
Newbie

Offline Offline
Joined: Apr 04, 2006
Posts: 40

PostPosted: Sat Jun 03, 2006 3:13 am
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
View user's profile Visit poster's website
lauwmang
Newbie
Newbie

Offline Offline
Joined: Apr 04, 2006
Posts: 40

PostPosted: Sat Jun 03, 2006 2:00 pm
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
View user's profile Visit poster's website
run0
Supporter
Supporter

Offline Offline
Joined: Jun 28, 2004
Posts: 1559

PostPosted: Thu Jun 08, 2006 8:03 pm
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & Blocks
Page 4 of 7
All times are GMT
Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next



Jump to:  


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


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.
· Removed index.php depency.
· v9 fixed menu hoverings on touch screens.
· Fixed menu hoverings on touch screens.
· Fixed empty $Module object

전문보기

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy