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: 239
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: 774

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: 81
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
Want to help porting it from PHP-Nuke to DragonflyCMS?
NukeLeagueDF Project Website

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: 774

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

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Dansk
Deutsch
Eesti
Italia
Norsk

Testimonials [x]
I just did the phpNuke 7.4 to CPG-Nuke CVS conversion. Was very easy. ... Found everything I needed to help me along the way with a few searches.
The most unexpected and best thing I have found after switching was the increased speed. I used to think I needed to change hosts--since switching to CPG-Nuke all my users have commented on how much faster pages load

Whit

i was running phpnuke and have almost 30,000 members apache and sql both running at 99% usage, server crashed when 50 ppl online, Host wanted me off shared hosting as many customers complaining i was crashing a p4 3.2 with 2gig ram, i converted to cpg and now i have less than a 50% server load cpg saved me $300 USD a month offshore dedicated servers cost $$ thx guys
one decision i dont regreat is CPGNUKE

Korben
www.datastreamz.net
It's like this - I was working with Oldsmobiles when I was workin with HTML. Then I moved up to Mazda's and Audi's with PHP Nuke. But now my friends I am riding in style with Benz's and Porche's. The diffrence is that noticable immediatly. The Install is so simple once you get it and the site is so secure its like fort knox. Thank you - And you all can expect to see alot more of me around - suggesting ideas and helping where I can. Peace out all - and enjoy newbies. It's really worth it to use CPGNuke.
- Kid_Creation

One thing I've noticed about CPG-Nuke... it is fast and clean. Impressive. One of my 'customers' liked it so much she wanted everything changed to CPG-Nuke!
- valis
awebware.com

The conversion from phpNuke 7.4 to CPG-Nuke (CVS) was a piece of cake. The data conversion took about two hours. Hit a few snags--but nothing a few forum searches couldn't fix. Probably the best compliment I got from my users--"Did you change hosts?" The speed improvement over phpNuke is quite noticable. Kudos to the developement team! Thanks for helping me get away from the phpNuke tease.
- Whit
endofropegang.com

Thanks for the Great program! I never regret migrating from PhpNuke. My site is so much faster and more secure. Now I spend time managing my site instead of the site software. Keep up the good work!
- Rod
www.gentle.org

Now that we are running CPG Nuke this is the first time I've travelled without having to worry about hacking, monitoring the site daily, etc. Thanks for CPG Nuke and everyone that made it possible. We are running a consumer advocacy site at householdwatch.com and the site is very busy. CPG Nuke is doing the job and doing it well.
NukeFind

CPG is Fast, Secure & Free Since installing it's been much easier to work with as an admin. Better admin features but not as many modules that phpnuke offers. Built for speed and reliability. Admin of 3 prominent sites that combined receive 6 million hits annually. CPGnuke is hands down the best CMS out there.
- djdevon3

I just made the switch to CPG, from phpNuke.
The install was easy, simple when following well written instructions. My site has dramatically increased in speed, it really is a day and nite difference.
Thanks to everyone who is a part of the CPG-Nuke project and for offering this CMS as a great alternative to the other *Nukes.
I look forward to being a part of the community.
Kristin
"I made the switch!"

I managed to stumble onto this remake of phpnuke type CMS and have been VERY pleased ever since... I'm very glad it's the system I'm using to make a web site.
4est
Great sense of community around CPG Nuke! Thanks for your hard work Cheers!
roRisc
To the Dev team. You guys rock keep up the good work. Hopefully I'll get good enough at this quickly so that I'll be able to start posting some solutions and tips as well. Cup-A-Cino
I want to thank everyone who help me to build my cpgnuke, know the final layout look great, makes the user want to register.....thanks alot guys
TRANCEBUDHA
Hey thanks for the quick replies..hehe.. ya I am trying to check out cpg-nuke on the same server.. anyways.. www.sizzle.no-ip.com /ufo just a test site main php-nuke is www.sizzle.no-ip.com and forums www.sizzle.no-ip.com /forums It seems so far that cpg-nuke is quit a bit faster than php-nuke.. thanks again
sixpack
CPG-Nuke and its support community ROCKS!
James D Kirk
CPGNuke is making phpnuke look like hammered dog-crap so far...
Persistence
Just installed the latest version of CPG and I'm lovin' it!
square
love CPG!
Mecro
man i just took a look at the demo ADMIN and you guys truly did a remarkable job.. this blows PHPNuke away...
dirtbag
Thank You, cpgnuke. Thank You All that are behind that wonderful script.
Truden
Excellent Coppermine with safemod :) Work fine with safemod nice Job
Reha
Thank You, cpgnuke. I am amazed at what CPG Nuke has to offer...
JamesSelvage
Great site. Great software.
ShermD3
Well I got my first CPGNuke site up! (huzzah?) I must say of the 5 site I run, 4 of which are PHP-Nuke sites I'm most impressed
GeoffM
This install was SOOO smooth. Great job guys! I love it!
dcorwin
Hey CPG-Nuke Dev Team!! Wow!!!!...pretty much sums it up. I love cpgnuke and I've only had it a couple days now.
sabione
Great system you developed here. Thanks !
cwweb

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.2896 seconds with 19 DB Queries in 0.1136 seconds
Memory Usage: 3.33 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy