I’m looking for someone who has knowledge with JavaScript, Ajax, PHP, Memcache and CSS.
The job is to create a chat-system (im) for my webpage. The data must be stored on the memcache instead for a database that’s normal.
The job is divided on two parts one too create a chat between two persons and one to create a chat-room. It has to support multi rooms.
## Deliverables
Here are some more details:
The webpage is a community site. Every user has a profile site that they style and do everything they want.
Users: I have a user table in MySQL with those columns:
Id int
Nick varchar
Online int (1 and 0 cheks if user is online or not)
Flags int (0 = user, 1 is admin, 2 = Mod)
Photo varchar
+++ other columns that are not relevant to the job
PART I: Chat between two users
Scenario: I visit a user profile in the profile it says that the user is online, a link will be visible too me to start a chat with the user. When I click on the link a pop-up will be created and a form where I can type will be shown. I type “Hello, how are you??? and send-it to the user. When the user refreshes the site he/she will see a link with the text “1 new chat request?? *. If the user clicks on that link the he will see the msg. I send and start type to me.
One more think that is it important on this part is that if I close that pop-up and the user type me a msg. back. Next time I refresh the site I will get a link with the text “1 new chat request??.
* = In memcache every user have a array stored with this key ““alert:??.$user_id??
The array can be like this:
Array(
‘pm’ => 2
‘guestbook’ => 3
);
Where I type a msg too the user I modify his array to:
Array(
‘pm’ => 2,
‘guestbook’ => 3,
‘im’ => 1
);
So if im is 1 or bigger than 1 the link will be shown on the site menu with the text “1 new chat request??. Where I click on the link and see the msg the im-key value most be set back to 0 or unset. If the im-key on that array its 2 or bigger the im-key value will be (value ??" 1).
The conversation will be like this:
<time> <username>: msg
Like I said the data most be stored on memcache.
Most have support for smiles.
The pop-up window has to be available to maximize and minimize.
PART II: Chat rooms
It have to support smiles, kick, ban. And if possible some easy cmd like info from admin (with red text) example: /info <msg>.
Private chat most be integrated with PART I.
One another thing is if possible to add temporary moderators on a room, like in the mirc “!op <nick>?? he will be able to kick and ban users until he logs out.
The moderators can’t kick or ban other moderators but the admin can do that.
I think this is all I need if you have problems to understand what I mean let me know. I’m sorry for my bad English.
Regards
OXODesign TEAM