11
AZMATT
Re: Chatroom?
  • 2004/12/2 2:16

  • AZMATT

  • Not too shy to talk

  • Posts: 124

  • Since: 2004/11/12


Cool man thanks, now I just need to wait for paypals extended card use? lol. When it goes through, i'll have a nice chatroom also

12
edwincee82
Re: Chatroom?
  • 2004/12/4 6:35

  • edwincee82

  • Just popping in

  • Posts: 16

  • Since: 2004/12/4


I tried flash chat - on my site thats running on ace-host.net server....2gigs and 20gig transfer....however they deactivated my site for like two days because they say that the script was causing their cpu to bog down...it was taking up 97%!!!!!


Had to promise to get rid of flash chat in order for them to give me my site back!
Trying to find another chatroom to use now!

13
AZMATT
Re: Chatroom?
  • 2004/12/7 0:52

  • AZMATT

  • Not too shy to talk

  • Posts: 124

  • Since: 2004/11/12


Damn I love flashchat ;)

14
edwincee82
Re: Chatroom?
  • 2004/12/9 7:21

  • edwincee82

  • Just popping in

  • Posts: 16

  • Since: 2004/12/4


MY APOLOGIES - THE SAME THING HAPPENED AGAIN TO MY SITE - I FOUND OUT FOR SURE WHAT IT WAS - IT WAS WEBMAILFX - THE INBOX.PHP FILE WAS CAUSING DAMAGE TO MY HOSTING CO'S CPU - NOT FLASHCHAT!

VIVA LA FLASHCHAT!!!!

15
JasonMR
Re: Chatroom?
  • 2004/12/9 7:37

  • JasonMR

  • Just can't stay away

  • Posts: 655

  • Since: 2004/6/21


Quote:

It is an empty module that I put the Recent Posts block into. I make it long enough so you can easily catch up. I wish xoops.org did the same, easier than browsing around so many forums.

...nice one Don, very good suggestion

16
peterpatrol
Re: Chatroom?

Quote:
Is it possible to "detach" the chatroom? so people can use the chat as they are looking at different areas on the site.


I used it and it was great. I had it so it would open in a new window, but a tip is on that page dont have anything like menus or other module blocks. If users decide to go exploring from the chat page, they can get locked out - in that they leave without logging out and when they try to renter the get - nope username is already logged in. There is also a hack around that displays who is chatting on this site as well.
cheers

Quote:
#1 Fan of Brash
Whats going on here - I have been away a week and theres a fanclub - do you know he has a subaroo

17
edwincee82
Re: Chatroom?
  • 2004/12/31 3:43

  • edwincee82

  • Just popping in

  • Posts: 16

  • Since: 2004/12/4


Create your own block - then link it to (directory of chat module)/flashchat.php

18
council
Re: Chatroom?
  • 2005/1/4 8:09

  • council

  • Not too shy to talk

  • Posts: 184

  • Since: 2004/12/18


Quote:

edwincee82 wrote:
Create your own block - then link it to (directory of chat module)/flashchat.php


Hi,

I'll be downloading flashchat in a minute. But I'm a newbie and concerned about installing an app into XOOPS that's not an approved module..

How do I do it? Is there anything special I should know? I mean, since it's not a xoop module it's not loaded from the module dashboard, right? Then how is it installed.

Also, on their site I saw this mode for a "flashchart block"

It was written for phpnuke. Can we use it or do we just create our own block?

// ----------------------------------------------------------------------
// POST-NUKE Content Management System
// Copyright (C) 2001 by the Post-Nuke Development Team.
// http://www.postnuke.com/
// ----------------------------------------------------------------------
// Based on:
// PHP-NUKE Web Portal System - http://phpnuke.org/
// Thatware - http://thatware.org/
// ----------------------------------------------------------------------
// LICENSE
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------
// Original Author of file: InvalidResponse
// Purpose of file: Show FlashChat Rooms and Members in them
// ----------------------------------------------------------------------


$blocks_modules['FlashChatBlock'] = array(
'func_display' => 'FlashChatBlock_block',
'text_type' => 'FlashChatBlockBlock',
'text_type_long' => 'Show Your Flash Chat Rooms & Chatters',
'allow_multiple' => false,
'form_content' => false,
'form_refresh' => false,
'show_preview' => true
);


pnSecAddSchema('FlashChatBlock::', 'Block title::');
function FlashChatBlock_block($row) {
if (!authorised(0, 'FlashChatBlock::', '$BlockInfo[title]::', ACCESS_READ)) {
return;
}

////////////////////////// CHANGE THIS TO YOUR MODULE'S NAME
$MOD_NAME = 'FlashChat';
//////////////////////////////////////////////////////////////

list($dbconn) = pnDBGetConn();
$pntable = pnDBGetTables();


$conn = pnConfigGetVar('prefix').'_connections';
$rooms = pnConfigGetVar('prefix').'_rooms';


$results = $dbconn->Execute("SELECT id, name FROM $rooms WHERE ispublic='y'");
if ($dbconn->ErrorNo() <> 0) {
$content = "DB Error: ".$dbconn->ErrorNo().": ".$dbconn->ErrorMsg()."
";
exit();
}

while(list($roomid, $roomname) = $results->fields) {
$results->MoveNext();

$results2 =@ $dbconn->Execute("SELECT count(*) FROM $conn WHERE roomid='".$roomid."' AND userid!=''");
if(!$results2->EOF){
list($count) = $results2->fields;
}

// 3 queries is 2 too many.. table merge's didn't play fair..
// feel free to contact me if you knock it down to 1
$results3 =@ $dbconn->Execute("SELECT userid, ip FROM $conn WHERE roomid='".$roomid."' AND userid!=''");


$content .= '

'.$roomname.' [ '.$count.' ]
';
while(list($uid, $ip) = $results3->fields){
$results3->MoveNext();
if($uid){
$content .= '
'
.'    '.pnUserGetVar('uname', $uid).'';
}
if (authorised(0, ''.$MOD_NAME.'Block::', '$BlockInfo[title]::', ACCESS_ADMIN)) {
$content .= ' '.$ip.'';
}
$content .= '
';
}
}

$content .= '
';

$row['content'] = $content;
return themesideblock($row);
}

?>

19
edwincee82
Re: Chatroom?
  • 2005/1/10 17:22

  • edwincee82

  • Just popping in

  • Posts: 16

  • Since: 2004/12/4


Instructions for installing flashchat with XOOPS are included in the download - Nd it's fairly easy - the chat is also customizable! I've used it and I love it!

Login

Who's Online

352 user(s) are online (261 user(s) are browsing Support Forums)


Members: 0


Guests: 352


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits