Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
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
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & Blocks

View previous topic :: View next topic  
Author Message
albatros
Newbie
Newbie

Offline Offline
Joined: Apr 23, 2004
Posts: 3
Location: Netherlands
PostPosted: Tue Oct 09, 2007 11:45 am
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
Newbie

Offline Offline
Joined: Jan 11, 2008
Posts: 36
Location: Madison, Ohio
PostPosted: Tue Jan 15, 2008 2:50 pm
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
Heavy poster

Offline Offline
Joined: Jan 23, 2007
Posts: 250
Location: USA
PostPosted: Tue Jan 22, 2008 4:04 am
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
Newbie

Offline Offline
Joined: Jan 11, 2008
Posts: 36
Location: Madison, Ohio
PostPosted: Thu Jan 24, 2008 8:09 pm
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
Newbie

Offline Offline
Joined: Jan 11, 2008
Posts: 36
Location: Madison, Ohio
PostPosted: Tue Jan 29, 2008 3:00 am
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
Newbie

Offline Offline
Joined: Jan 11, 2008
Posts: 36
Location: Madison, Ohio
PostPosted: Wed Feb 06, 2008 3:51 pm
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
Diamond Supporter

Offline Offline
Joined: Nov 15, 2004
Posts: 773

PostPosted: Sun Jun 15, 2008 10:11 am
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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

Offline Offline
Joined: Apr 19, 2006
Posts: 101
Location: Sydney, Australia
PostPosted: Wed Jun 18, 2008 4:27 am
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
Newbie

Offline Offline
Joined: Nov 19, 2007
Posts: 11

PostPosted: Tue Jun 30, 2009 4:42 pm
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
Diamond Supporter

Offline Offline
Joined: Nov 15, 2004
Posts: 773

PostPosted: Thu Dec 03, 2009 9:31 pm
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
Newbie

Offline Offline
Joined: Mar 20, 2007
Posts: 11

PostPosted: Thu Feb 04, 2010 5:03 am
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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

Offline Offline
Joined: May 24, 2005
Posts: 74
Location: Lummer Land (Germany)
PostPosted: Thu Mar 18, 2010 5:39 pm
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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
Heavy poster

Offline Offline
Joined: Mar 01, 2006
Posts: 268

PostPosted: Wed Jun 23, 2010 3:00 pm
Post subject: Flash Chat Port Package

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 Photo Gallery
vikaivanova
Newbie
Newbie

Offline Offline
Joined: Oct 25, 2011
Posts: 1

PostPosted: Tue Oct 25, 2011 8:24 pm
Post subject: Re: How To Install Tufat FlashChat 4.0.11 (with screenshots)

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 Index ⇒  Add-Ons & Blocks
Page 7 of 7
All times are GMT
Go to page Previous  1, 2, 3, 4, 5, 6, 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


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· 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.

читај повеќе...

   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