Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 3 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Flashchat module link
by ehask on 2004/10/21 4:49:40

How do you implement the who's chatting block???

global $xoopsDB;
$sql = "SELECT xoops_users.uname, xoops_users.uid";
$sql.=" FROM xoops_users inner join";
$sql.=" xoops_connections ON xoops_connections.userid";
$sql.=" = xoops_users.uid";
$result = $xoopsDB->query($sql);
while ($row = mysql_fetch_array($result)) {
print $concat."<a href='".$XOOPS_URL."/userinfo.php?uid="
.$row['uid']."'>".$row['uname']."</a>";
$concat=", ";
}

???
Re: Flashchat module link
by peterpatrol on 2004/10/16 21:02:53

Something I noticed in other flashChat install guides, but not the XOOPS one is to ensure you delete the install.php file
cheers
pete
Re: Flashchat module link
by jegelstaff on 2004/10/7 13:27:34

Here's a suggestion...Make sure Flash is installed in the browser you're using! For some reason Mozilla was just giving a blank page, rather than any indication that the necessary plug-in wasn't installed. Perhaps that was due to the way the embedded object was coded.

Anyway, it's all working now. *sheepish grin*

--Julian
Re: Flashchat module link
by jegelstaff on 2004/9/30 21:45:55

Quote:

jmass wrote:

with the C only in caps. That was it for me.


Yeah, that was it for me too. Or so I thought. But although it installs fine now, when I click on FlashChat in the Main Menu, nothing happens, the content part of the page (center block area) is simply blank.

Anyone have any suggestions? Here's what I've done:

1. Set the CMS include lines in common.php so that only the XOOPS line is uncommented.

2. swapped index.php and index_xoops.php

3. changed the folder name to flashChat.

4. Uploaded the files to the xoops\modules\ folder (the install instructions say to upload to the XOOPS root, but if you did that you couldn't install it in XOOPS, so the modules folder is the right place, right?)

4. CHMOD the config.srv.php file and the appTime.txt file to 777.

5. Install the module in XOOPS through the Admin Menu

That all seems to go fine, but when I click on the link for FlashChat in the Main Menu, I get a blank content area. Any insight greatly appreciated. Thanks.

--Julian
Re: Flashchat module link
by ChadK on 2004/8/25 1:40:19

This works better.. doesn't drop people. It also displays the names as a link. - Doesn't show anonymous chatters though..

le="color: #000000"><?php global $xoopsDB; $sql = "SELECT xoops_users.uname, xoops_users.uid"; $sql.=" FROM xoops_users inner join"; $sql.=" xoops_connections ON xoops_connections.userid"; $sql.=" = xoops_users.uid"; $result = $xoopsDB->query($sql); while ($row = mysql_fetch_array($result)) { print $concat."<a href='".$XOOPS_URL."/userinfo.php?uid=" .$row['uid']."'>".$row['uname']."</a>"; $concat=", "; }

Who's Online

681 user(s) are online (566 user(s) are browsing Support Forums)


Members: 0


Guests: 681


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits