Multiple instances cause channel change
Fully customizable web chat created using AJAX.
Brought to you by:
frug,
madblueimp
Logged In: YES
user_id=2058164
Originator: NO
This might be related to #1939960 - maybe the same solution will work for you.
What exactly do you mean by "instance"? A different installation on the server with its own database and configuration or just a different browser on the same client computer?
Logged In: YES
user_id=1999877
Originator: NO
I currently run two copies of the chat on my own domain, one for the shoutbox and one for the actual chat. After changing the database table names as well as the session names in config.php (and in the install sql) I have not run into any conflicts.
I have had this setup running for several months.
Logged In: YES
user_id=1473741
Originator: YES
This applies to two separate directories, each with their own session name, pointing to the same database.
Shoutbox on all forum pages, full chat on separate page. Change channel in chat, then browse to another page on the forum and activate the shoutbox. Your chat instance will revert to the default channel.
Can I have someone confirm this for me?
Logged In: YES
user_id=1999877
Originator: NO
Do you mean that you are pointing both installations to the same database tables? If so I'm sure that this will happen however the workaround is to use different table names for one of the installs.
In chat.sql replace all instances of "ajax_chat" with "ajax_shoutbox"
then set the config.php file inside the shoutbox installation folder to point to the ajax_shoutbox tables. It should work.
Confirming that this can happen when both instances of chat run on the same server.