MyBB Community Forums

Full Version: AJAX Chat - including MyBB integration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
(2009-02-12, 01:30 PM)ows Wrote: [ -> ]
(2009-01-27, 06:10 PM)LoneStarMBA Wrote: [ -> ]... Is there a way to dynamically include the number of people in chat after the link (ie Chat 4) so that forum users will know when folks are chatting? ...

Something similar ... now there's a plugin for 1.4.4 to show "online-chatters" (with username and time) on index-page at "who's online".

http://www.mybbcoder.info/thema-2833.html

I'm trying to do the same thing
I am having trouble with this I get an error when i go to /chat/install.php



Query: DROP TABLE IF EXISTS ajax_chat_online; Error-Report: Error-Code: 

Ensure that database connection settings are correct in chat/inc/config.php
Maybe you have to enter PhpMyadmin, remove mybb_ajax* tables, then run install again
I fixed the database problem now I have another.....



xml parsing error: not well-formed
chat/index.php
line number 118, column 178

How would I fix this?
I get told the database connection failed. :/ I wish this was an easier installation. I am sure I configured it okay.
make sure that you downloaded the MyBB version of the chat script and then configure it. I used the default download link without paying attention the first time and nothing worked. Went back and grabbed the MyBB version and it worked fine.
It was with the MyBB version. Sad What I get is:

"Error-Report: Database connection failed. Error-Code: "

Yep, no error code. I'm stumped. :/
then your setup is incorrect and you need to verify your database settings in chat config so they match the settings in MyBB config
Okay, something went wrong with Notepad but I used Notepad++. Not sure what went wrong before but it's all good now. Smile Just gotta figure out how to configure everything. Shouldn't be too difficult. Currently trying to find the setting to force a default theme, and where to define admins/mods. (Unless that's auto-retrieved from the forum always)...

Smile
Nice chat room. Is there any way besides the way described in the Read me file to customize the style? Like, make it follow the users theme? Or site default theme?
Another question - how can you add more "channels" in the config? Is it possible with the integrated mybb chat room?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38