How To Install Tufat FlashChat 4.0.11 (with screenshots)
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexAdd-Ons & Blocks
Author Message
albatros
Newbie


Joined: Apr 23, 2004
Posts: 3
Location: Netherlands

PostPost subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)
Posted: Tue Oct 09, 2007 11:45 am
Reply with quote

Verry nice tutorial alyssa, thanks for your time.
Greetinx.


albatros please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
AIPman1
Newbie


Joined: Jan 11, 2008
Posts: 36
Location: Madison, Ohio

PostPost subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)
Posted: Tue Jan 15, 2008 2:50 pm
Reply with quote

I would like to confirm that this still works with the NEWEST version of Flashchat, 4.7.12, as long as you change the path in the inc/cmses file as suggested above.

Not sure about the new Beta 4.8.3 - I don't like to put betas on my site.


AIPman1's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 2.0.54 (Fedora)/4.1.20/5.0.4/9.1.2.1
Back to top
View user's profile Visit poster's website
heliown
Heavy poster


Joined: Jan 23, 2007
Posts: 257
Location: USA

PostPost subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)
Posted: Tue Jan 22, 2008 4:04 am
Reply with quote

I just want to say thanks to alyssa and everyone else who helped making this thread such helpful thread. I just installed flashchat 4.7.12 with my Dragonfly 9.1.2.1 sucessfully by doing what AIPman1 said above. Awesome!
_________________
RC heli hobby: www.rchelicoptertown.com
Khmer Community: www.angkorthom.us

heliown's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Mysql 5.1.41/php 5.2.5/CPGNuke 9.2.1
Back to top
View user's profile Visit poster's website
AIPman1
Newbie


Joined: Jan 11, 2008
Posts: 36
Location: Madison, Ohio

PostPost subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)
Posted: Thu Jan 24, 2008 8:09 pm
Reply with quote

I would also like to report that this code below, for a clean and simple block, still works flawlessly with the current Flashchat. Took many reads in many threads to find it in the middle of this one, where I must have missed it before...

speedman wrote:
I made a small change to hybrid's block that opens the chat in a popup window and logs the user out automatically when the popup is closed. You can put the following code in a new file in your blocks directory and call it something like block-Chatroom.php.

Code:
<?php
/*********************************************
  CPG Dragonfly - Flashchat Block
  ********************************************
  CPG Dragonfly is copyright ~B � 2004 - 2005 by CPG Dev Team
  http://www.dragonflycms.com

  Dragonfly is released under the terms
  and conditions of the GNU GPL version 2 or any later version

********************************************************/
if (!defined('CPG_NUKE')) { exit; }
global $MAIN_CFG, $prefix, $db, $bgcolor1;

echo "<script>
var newwindow;
function openchat(sURL){
newwindow=window.open(sURL,'chatroom','width=800,height=600,resizable=no,scrollbars=no,toolbar=no,status=no');
}
</script>";

$content = "";
$usercounter = 0;
// Get users in chatroom
$result = $db->sql_query("SELECT userid, roomid FROM ".$prefix."_fc_connections where userid != ''");
$usercounter = $db->sql_numrows($result);
$content .= "<b>Chat Users:</b> $usercounter<br>";
$content .= "<a href=\"javascript:openchat('chat/flashchat.php');\">Chatroom Login</a><br /><br><br>";
//$content .= '<a href="chat/flashchat.php" "_new">Chatroom Login</a><br /><br><br>';
while(list($userid, $roomid) = $db->sql_fetchrow($result)) {
    $result2 = $db->sql_query("SELECT username FROM ".$prefix."_users where user_id = $userid");
    $row = $db->sql_fetchrow($result2);
    $username = $row['username'];
    $content .= "<a href='index.php?name=Your_Account&profile=$username'>$username</a><br>";
// Clear the chatroom db of dead users
// Clear after 30 secs of no update
$db->sql_query('DELETE FROM '.$prefix."_fc_connections WHERE updated < now()-30");
}
?>

After that go to your blocks section in the admin area and fill in the title for a new block (something like Chatroom), select "Chatroom" from the filename drop down and save the new block.

Regards,

SM


AIPman1's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 2.0.54 (Fedora)/4.1.20/5.0.4/9.1.2.1
Back to top
View user's profile Visit poster's website
AIPman1
Newbie


Joined: Jan 11, 2008
Posts: 36
Location: Madison, Ohio

PostPost subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)
Posted: Tue Jan 29, 2008 3:00 am
Reply with quote

HOWEVER!!!!!!!!!!!

If you make more than one instance of it, it will confuse your chat.

I made one box to be on the left side of certain pages, and one to be on the right of others.

People that logged in different sides some could see the other, some could not, and it was confused more from the main menu straight link...

I am going to attempt to make just one instance of the box and remove the link, make sure it works that way, but if you have more than one path to your chat with this box, you're going to have a problem.


AIPman1's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 2.0.54 (Fedora)/4.1.20/5.0.4/9.1.2.1
Back to top
View user's profile Visit poster's website
AIPman1
Newbie


Joined: Jan 11, 2008
Posts: 36
Location: Madison, Ohio

PostPost subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)
Posted: Wed Feb 06, 2008 3:51 pm
Reply with quote

I narrowed that problem down to the way the code logged off supposed to be inactive members from the chat...removing that part of the code, I've not had that problem anymore. And since the chat opens in it's own box, and then loggs people off when that boxis closed, I haven't had any problem with people not in the chat showing up as if they were either.

AIPman1's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 2.0.54 (Fedora)/4.1.20/5.0.4/9.1.2.1
Back to top
View user's profile Visit poster's website
alyssa
Diamond Supporter


Joined: Nov 15, 2004
Posts: 778

PostPost subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)
Posted: Sun Jun 15, 2008 10:11 am
Reply with quote

Wow. I am so glad that this has helped so many folks that had the same issues and getting a great chatroom to work on DF!

I can say that I just installed version 4.7.12 FlashChat as I always have (as illustrated in this thread) for a brand new DF 9.2.1.7 site and also for an upgraded 9.2.1.7 with an existing version 4.5.7 FlashChat.

Took me about 15 minutes for each install.

So - it does still seem to be current and viable. Yay!


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
hybrid
Nice poster


Joined: Apr 19, 2006
Posts: 100
Location: Sydney, Australia

PostPost subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)
Posted: Wed Jun 18, 2008 4:27 am
Reply with quote

AIPman1 wrote:
I narrowed that problem down to the way the code logged off supposed to be inactive members from the chat...removing that part of the code, I've not had that problem anymore. And since the chat opens in it's own box, and then loggs people off when that boxis closed, I haven't had any problem with people not in the chat showing up as if they were either.

Weird that you're having that problem, since all the block does is reads the list of users logged into chat and displays them.
Also, with clearing users, it checks the last time a user has been updated and deletes them if they have not had an update in 30 seconds.

Two blocks should not really affect each other at all. Maybe DF is getting confused somehow if both blocks are performing identical queries at the same time. I can't really see this being a problem.

Very weird!

_________________
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
Neanderthal
Newbie


Joined: Nov 19, 2007
Posts: 11

PostPost subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)
Posted: Tue Jun 30, 2009 4:42 pm
Reply with quote

For the blank page on step 2 (after you choose cpgnuke), in the cpgNukeCMS.php file, change this -

require_once($cpg_root_path . '/config.php');

to this:

require_once($cpg_root_path . '/includes/config.php');


Neanderthal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache-1.3.37/SQL-4.0.27/PHP-4.4.3/DF 9.1.2.1
Back to top
View user's profile Visit poster's website
alyssa
Diamond Supporter


Joined: Nov 15, 2004
Posts: 778

PostPost subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)
Posted: Thu Dec 03, 2009 9:31 pm
Reply with quote

OKay so like - I'm going to install FlashChat 5.0.11 on a clean install of DF 9.2.1.

I'll update this thread if it goes well or any fixes that I needed to make.


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
pa1n
Newbie


Joined: Mar 20, 2007
Posts: 8

PostPost subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)
Posted: Thu Feb 04, 2010 5:03 am
Reply with quote

Did it work or?

pa1n's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
linux, 4.1 mysql, latest php
Back to top
View user's profile Visit poster's website
Emsland-Party.de
Nice poster


Joined: May 24, 2005
Posts: 76
Location: Lummer Land (Germany)

PostPost subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)
Posted: Thu Mar 18, 2010 5:39 pm
Reply with quote

Hy!

I will, the member and guest can chat, but when i use the CMS, the login box will not work for guests.

Have anybody a idea to fix this?


Emsland-Party.de's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / PHP: 4.4.1 / SQL: 5.0.18-log (client: 5.0.18) / 9.1.0.8 CVS
Back to top
View user's profile Visit poster's website
earth
Heavy poster


Joined: Mar 01, 2006
Posts: 271

PostPost subject: Flash Chat Port Package
Posted: Wed Jun 23, 2010 3:00 pm
Reply with quote

Flash Chat Port Package



Attached working module and block.

It is currently set to the dfaddons.com chatroom.

Configuration in ----> Modules/Chat/index.php

Demo Here!


Note for Eastlane,

Try doing fresh install and do not adjust anything, until after finished and then see if it works as you desire...that is if you changed things before, as in just select cpgnuke cms intergration and should be good to go!

_________________
dfaddons.com

earth's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
OS/Apache/Mysql/php/9.2.X/
Back to top
View user's profile Visit poster's website
vikaivanova
Newbie


Joined: Oct 25, 2011
Posts: 1

PostPost subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)
Posted: Tue Oct 25, 2011 8:24 pm
Reply with quote

his is where you can choose what bots you wish your chatrooms to have. I don't tend to use them or install their databases unless it is requested and the people I've set this up for generally haven't wanted them

vikaivanova's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
PHP4
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 IndexAdd-Ons & Blocks All times are GMT
Go to page Previous  1, 2, 3, 4, 5, 6, 7
Page 7 of 7


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

Dedicated Server & Bandwidth Sponsored by DedicatedNOW
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
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

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


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
This page generated in 0.9256 seconds with 16 DB Queries in 0.1043 seconds
Memory Usage: 3.01 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy