andrerpena / chatjs

Platform-independent jQuery plugin for chatting
MIT License
184 stars 91 forks source link

issue for multiple user #21

Open SuryaTripathi opened 8 years ago

SuryaTripathi commented 8 years ago

i am using your plugin in my php project but there is no idea to implementing this for multiple user. Please user. please suggest me to, how to make changes in js plugins.

rpaschoal commented 8 years ago

Hello @SuryaTripathi,

Do you need multiple users in one conversation?

There has been a while since last time I used this plugin, but I guess it supports user rooms.

Please be aware that you need to go through the issue lists to see the current Plugin bugs and fix them... Some of the fixes were provided by me, since I had to use this plugin in a production software (Yes, the fixes are not currently available on the plugin as you download them, @andrerpena has been away for a while).

I am happy to help you, but need more information about your requirements.

Cheers!

pagumakwana commented 8 years ago

Hello, please anyone can impliment code for multiple user, im using sql server databse from table_User i need all Online user to chat with them and vice versa... and also impliment user can create rooms and invite other user to join chat. thanks in advanced,

Starlette commented 8 years ago

Hi, has anyone figured out a fix to this problem. I have gotten it to show multiple users but the reply only shows in one user's box: image

Sunilpal8819 commented 8 years ago

HI Starlette , Can u please tell me how u have integrated multiple users. Please suggest !!

JustXtasy commented 8 years ago

$.chat({ userId:1, roomId: 1, Name: "sample", typingText: ' is typing...', roomsTitleText: 'Rooms', availableRoomsText: 'Available rooms', emptyRoomText: "There's no one around here. You can still open a session in another browser and chat with yourself :)", // the adapter you are using chatJsContentPath: '/basics/chatjs/', adapter: new DemoAdapter() });

Just to Clarify this is for the Client-Side right..? how do you make it work for dynamic data..? im working on ASP.net Razor MVC3, whenever i try the userId: '@(user.Id)' its not working and not passing the data around the jquery adapter.. and one thing.. in the jquery adapter demo.. there's a configuration of users already.. should i delete that and make my own or the client side $chat provides the data to be used..? anyway i need help fellow users of this plugin..

Thank you