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


Joined: Apr 23, 2004 Posts: 3 Location: Netherlands
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Tue Oct 09, 2007 11:45 am |
|
Verry nice tutorial alyssa, thanks for your time.
Greetinx.
albatros please enter your server specs in your user profile! |
|
| Back to top |
|
 |
AIPman1


Joined: Jan 11, 2008 Posts: 36 Location: Madison, Ohio
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Tue Jan 15, 2008 2:50 pm |
|
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 |
|
 |
heliown


Joined: Jan 23, 2007 Posts: 251 Location: USA
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Tue Jan 22, 2008 4:04 am |
|
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 |
|
 |
AIPman1


Joined: Jan 11, 2008 Posts: 36 Location: Madison, Ohio
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Thu Jan 24, 2008 8:09 pm |
|
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 |
|
 |
AIPman1


Joined: Jan 11, 2008 Posts: 36 Location: Madison, Ohio
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Tue Jan 29, 2008 3:00 am |
|
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 |
|
 |
AIPman1


Joined: Jan 11, 2008 Posts: 36 Location: Madison, Ohio
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Wed Feb 06, 2008 3:51 pm |
|
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 |
|
 |
alyssa


Joined: Nov 15, 2004 Posts: 778
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Sun Jun 15, 2008 10:11 am |
|
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 |
|
 |
hybrid


Joined: Apr 19, 2006 Posts: 99 Location: Sydney, Australia
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Wed Jun 18, 2008 4:27 am |
|
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 |
|
 |
Neanderthal


Joined: Nov 19, 2007 Posts: 11
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Tue Jun 30, 2009 4:42 pm |
|
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 |
|
 |
alyssa


Joined: Nov 15, 2004 Posts: 778
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Thu Dec 03, 2009 9:31 pm |
|
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 |
|
 |
pa1n


Joined: Mar 20, 2007 Posts: 8
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Thu Feb 04, 2010 5:03 am |
|
Did it work or?
pa1n's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) linux, 4.1 mysql, latest php |
|
| Back to top |
|
 |
Emsland-Party.de


Joined: May 24, 2005 Posts: 74 Location: Lummer Land (Germany)
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Thu Mar 18, 2010 5:39 pm |
|
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 |
|
 |
earth


Joined: Mar 01, 2006 Posts: 268
|
Post subject: Flash Chat Port Package Posted: Wed Jun 23, 2010 3:00 pm |
|
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 |
|
 |
vikaivanova


Joined: Oct 25, 2011 Posts: 1
|
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots) Posted: Tue Oct 25, 2011 8:24 pm |
|
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 |
|
 |
|
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.
|