candy-chat / candy

JavaScript-based multi-user chat client for XMPP.
http://candy-chat.github.io/candy
MIT License
1.32k stars 370 forks source link

Logging in without JID #142

Closed dspaan closed 11 years ago

dspaan commented 11 years ago

Hello,

I read the login methods part on the homepage but did not see a way to present users with a login form where they can login with a nickname. Right now they have to use the JID which means in our case an IP address after the @

Is there a way we can login without the @server part?

mweibel commented 11 years ago

Hi,

it seems that you've read correctly, it isn't possible as of now to just provide a username (node) without the domain part. What you could do though is to intercept the submit event on the connect button and manually append the domain part. Is that possible for you?

dspaan commented 11 years ago

That sounds like a fine solution since we only use one domain. Can you share that piece of code with me? I'm not a coder but i understand it a bit, lol.

dspaan commented 11 years ago

Hi Michael, i don't mean to rush you but i'd really like the code you suggested for allowing users to login without the domain. I'm currently waiting with the launch of the candy-chat pilot until this is possible. Can you give me an ETA? Or is there a way to get paid support?

pstadler commented 11 years ago

What's the candy-chat pilot?

dspaan commented 11 years ago

Oh lol, that's just how i name the project. I explained in another issue, let me copy/paste what i wrote in the room panel thread:

I have a small company that focuses on providing vicidial solutions (open source callcenter dialer). I have a customer who has asked to integrate a chat feature so i've setup Openfire with Candy-chat. Since i'd like to give each customer their own default room but for instance an admin like me would need access to all rooms i don't think the autojoin feature which seems mandatory for Openfire is a good solution for us. So the room panel, i'm hoping, would allow users to choose the rooms after logging in that they are allowed to access (i've setup rooms in Openfire which only can be accessed by members defined in Openfire).

pstadler commented 11 years ago

your pilot, I understand :-)

I'm quiet busy right now, and Michael too I guess. However, have a look at the candy-plugins. This should give you an idea how to modify things. Basic understandings of JavaScript are a must of course.

dspaan commented 11 years ago

I don't have those skills i'm afraid. I'll try to find someone else. Thanks for the responses though. If i can pay you to develop this let me know.

mweibel commented 11 years ago

You might ask on the google groups mailinglist of candy (http://groups.google.com/group/candy-chat). Maybe someone there has some time to do this for you.

I'll close this issue as it's a non-issue.