Home arrow Forum mod_whosonline_ext flashchat users
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 09:38:40 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Addon Discussion
| |-+  Joomla Modules
| | |-+  mod_whosonline_ext flashchat users
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: mod_whosonline_ext flashchat users  (Read 3650 times)
Francesco
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 24


View Profile
mod_whosonline_ext flashchat users
« on: June 14, 2006, 01:01:45 PM »

hi
I installed flash chat and I had mod_whosonline_ext module.
it shows "Live mambo chat, who's chatting now?" logo next to the online users.. is it possible also to show WHO is in the chat or how many users are in the chat ?

many thanks
Logged
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: mod_whosonline_ext flashchat users
« Reply #1 on: June 14, 2006, 08:44:38 PM »

That's what the module does... it shows who is chatting.
Logged
Francesco
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 24


View Profile
Re: mod_whosonline_ext flashchat users
« Reply #2 on: June 15, 2006, 01:58:24 AM »

I know it should.
but it doesn't in my site:

take a look. nothing is showed under the "Live mambo chat, who's chatting now?" gif:

Logged
Editor (cowboy)
Administrator
Joomla Guru
*****

Karma: +86/-23
Offline Offline

Posts: 1144



View Profile WWW
Re: mod_whosonline_ext flashchat users
« Reply #3 on: June 15, 2006, 09:33:14 AM »

I see 2 online users. are you sure at least one is on the chat? if there's one, i'm not sure what could be your problem.
Logged
Francesco
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 24


View Profile
Re: mod_whosonline_ext flashchat users
« Reply #4 on: June 16, 2006, 02:25:46 AM »

I see 2 online users. are you sure at least one is on the chat? if there's one, i'm not sure what could be your problem.

yes. the 2 users were in chat too
addin in smf forum shows it correctly
Logged
Francesco
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 24


View Profile
Re: mod_whosonline_ext flashchat users
« Reply #5 on: June 16, 2006, 05:57:33 AM »

it fails CHECK 1 and CHECK 2 (nothing is displayed):

Code:
if ($showchatters) {
// echo "catters abilitato";
//mostra gif

$content .= "<br/><a href=\"#\" onclick=\"javascript: window.open('http://".$flashchaturl."/flashchat.php', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=780,height=550'); return false\"><img src=\"".$mosConfig_live_site."/modules/mod_whosonline_ext.gif\" border=\"0\" alt=\"Live Joomla Chat\"/></a><br />";

$chatters = '';
//

$query = "SELECT #__users.username, #__users.id, #__users.name "
. "\n FROM #__users, #__fc_connections "
. "\n WHERE #__fc_connections.userid = #__users.id "
. "\n ORDER BY updated desc";
//

$database->setQuery($query);
if ($result = $database->query()) {
// CHECK
        echo "test<BR>";
$rows = $database->loadObjectList();
foreach($rows as $row) {
// CHECK2
echo "test2<BR>";
Logged
Lingster
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 9


View Profile
Re: mod_whosonline_ext flashchat users
« Reply #6 on: July 16, 2006, 06:29:00 PM »

If you're running Flashchat under SMF (instead of Joomla) as I am, the SQL query  in the module won't work.  I changed lines 131-139 to this:
Code:
$query = "SELECT smf_members.memberName from smf_members,"

. "\n smf_fc_connections where smf_fc_connections.userid = smf_members.ID_MEMBER"

. "\n order by updated desc";

$database->setQuery($query);
if ($result = $database->query()) {
$rows = $database->loadObjectList();
foreach($rows as $row) {
$chatters .= ListStyle(LinkIt($row->memberName, $row->name, $row->id));
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login