Working with website

Hi!

I have a specific question. What I have:

1. I have a website. It runs on Ubuntu, php, mysql - standard solution. All works fine. It's not a standart cms and it works fast.
2. There are already a lot of users and I want them to communicate via xmpp. So I choose ejabberd.

Basicly my problems are:

1. I need to register all my users and connect them to ejabberd(jquery plugin works fine, but I need to customize it). I can run php exec ejabberdctl register id localhost randompass. Is there some other variants to make it? How to protect users passwords in my javascript code?
2. My users have profiles with icons and other additional information. Can I send it with messages?
3. I need to have message history in my mysql database. How can I do this?

Can you give me some links to read. Google doesn't have enough information. Thx. sfbe

Syndicate content