1
russia5
Help with Chat integration
  • 2006/1/23 21:03

  • russia5

  • Just popping in

  • Posts: 40

  • Since: 2006/1/15


I have successfully installed Flash Chat. Instead of putting a button on my registers page, I would like my member to open up to the Chat window itself. The file is flashchat.php and it is installed in the root directory of XOOPS Do I use TinyContent (or Content) to do this? How about iFrame.

2
Will_H
Re: Help with Chat integration
  • 2006/1/23 21:39

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


you are exactly right.... you would want to use the content module with this code....

<iframe src="http://www.yoursite.com/chat/flashchat.php" name="Whos Chatting" width="640" marginwidth="1" height="580" marginheight="1" align="top" scrolling="auto">iframe>


This will display it very nicely

I again want to stress that not filling in the "Link Title" field will make that annoying text at the top disappear. instead create your custom content and make it invisible. then create an external url with the content module and link to it. So you will actually have 2 content pages for 1 feature.

3
russia5
Re: Help with Chat integration
  • 2006/1/24 0:49

  • russia5

  • Just popping in

  • Posts: 40

  • Since: 2006/1/15


Thanks a bunch! As usual, right on help!

4
SLEO577
Re: Help with Chat integration
  • 2006/3/25 0:42

  • SLEO577

  • Not too shy to talk

  • Posts: 110

  • Since: 2005/6/27


I just purchased FlashChat 4.5.6 and did a fresh install. Everything works, except when you log into the chatroom your session ID is timed out within 30 seconds. You can type text in the text box (highlighting the send button) but you cannot send text or move to any rooms after 30 seconds.

I intergrated FlashChat with XOOPS 2.2.4. The integration works fine, automatically logging members in with their username, but as I said, after 30 seconds, their session ends everytime.

This is what the debug windows shows (I changed the actual Session ID):

Fri Mar 24 15:45:19 GMT-0500 2006:

Fri Mar 24 15:45:23 GMT-0500 2006:

Fri Mar 24 15:45:26 GMT-0500 2006:

Fri Mar 24 15:45:29 GMT-0500 2006:

Fri Mar 24 15:45:32 GMT-0500 2006:

Fri Mar 24 15:45:36 GMT-0500 2006:

Fri Mar 24 15:45:39 GMT-0500 2006: (session ends here)
Fri Mar 24 15:45:42 GMT-0500 2006:
Fri Mar 24 15:45:46 GMT-0500 2006:
Fri Mar 24 15:45:49 GMT-0500 2006:
Fri Mar 24 15:45:52 GMT-0500 2006:

Server Info:
PHP Version 4.4.1
Apache/1.3.34
MySQL 4.0.25
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
safe_mode Off
CMS - XOOPS 2.2.3a with the XOOPS 2.2.4 (upgrade patch)
FlashChat Version 4.5.6

Anyone have an idea where I could look?

5
jdseymour
Re: Help with Chat integration

Do you have the protector module installed. It will log dos attacks on the users IP. Use the latest protector, and exclude the chat folder from monitoring.

If that is not it, I have not seen this issue.

6
SLEO577
Re: Help with Chat integration
  • 2006/3/25 5:09

  • SLEO577

  • Not too shy to talk

  • Posts: 110

  • Since: 2005/6/27


jdseymour,

You were absolutely correct! It is the Protector Module causing this. I disabled the protector module and the flashchat program never timed out a session ID or created a DOS attack on the users IP.

Now I know there is a section in the Protector preferences to add a dirname:

Quote:

Modules out of DoS/Crawler checker

set the dirnames of the modules separated with |. This option will be useful with chatting module etc.

but I have not got it stop monitoring the flashchat directory.

Is this where you are saying to prevent protector from monitoring the folder? If so, would you type in the relative path:
Quote:
(http://www.yoursite.com/flashchat/) or(public_html/flashchat)?

7
SLEO577
Re: Help with Chat integration
  • 2006/3/25 17:57

  • SLEO577

  • Not too shy to talk

  • Posts: 110

  • Since: 2005/6/27


I've tried every possible dirname path I could think of in the Protector's preference, with no luck. Short of deactivating the protector module, which I would prefer not to do, the only other solution I have seen is from the Simple XOOPS website (I couldn't totally understand the language), but it appears they deactivate it through the "mainfile.php".

8
svaha
Re: Help with Chat integration
  • 2006/3/25 18:53

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Can't give you an answer on this one, but I use this chat x7 chat that has a xoops_aut file for connection with the XOOPS database.
I have protector installed and no problems with it.

Note: If you use XOOPS 2.2.4 you have to change the xoops_aut file, otherwise your database will be messed up.

9
SLEO577
Re: Help with Chat integration
  • 2006/3/26 18:05

  • SLEO577

  • Not too shy to talk

  • Posts: 110

  • Since: 2005/6/27


Thanks for the information svaha,

For now I am sticking with FlashChat, I have several days invested in this chatroom with config and swf modifications.

I just don't like the idea I have to deactivate the Protector module to do this. Is there anyone that has been able to get FlashChat v4.5.6 and XOOPS 2.2.4 working with the Protector module? Either through the Protector modules preferences, mainfile.php or some other way without deactivating protector?

10
SLEO577
Re: Help with Chat integration
  • 2006/3/28 17:07

  • SLEO577

  • Not too shy to talk

  • Posts: 110

  • Since: 2005/6/27


I have tried to the get "Protector's module v2.55" to stop monitoring the FlashChat program utilizing the "Protector's Module" preference section on dirnames:

Quote:
Modules out of DoS/Crawler checker:

Set the dirnames of the modules separated with |. This option will be useful with chatting module etc.


with no luck at figuring out what the possible dirname path should be (e.g. /public_html/flashchat/, /flashchat/, http://www.mysite.com/flashchat/).

There may be a fix that I am looking at in the XOOPS script file which is loaded at each FlashChat refresh. I am trying to get FlashChat to execute without the includes of the XOOPS script in common.php.

If anyone has been able to get the "Protector Module" to stop monitor a certain module, please let me know what path you used to achive that.

Login

Who's Online

462 user(s) are online (383 user(s) are browsing Support Forums)


Members: 0


Guests: 462


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