Đang Thực Hiện

152850 AJAX Shoutbox Customization

GOAL

We've made modifications to Ajax shoutbox on Joomla. What we've done is tweak [url removed, login to view] and created some new MySQL tables so there exists 3 groups, each with their own 'coach'. Only one user of a particular group is allowed on the chat at a time, and users and coaches are unable to see the conversations of the other 2 groups. When a new user tries to enter the chat and there is already someone of the same group active then the new user gets a “chat full” message.

If the old user has been idle for longer than 15 minutes that user's info is deleted from the MySQL tables and the new user is allowed in the chat.

PROBLEM:

Our problem is, when the new user begins to chat with their coach the old user can see that conversation even after the idle time expiry. We can't have that (we need privacy). This problem is corrected if the old user refreshed the page, for the script does it's thing and gives the old user a “you've been idle for too long” message. Unfortunately, refreshing the page with metatags or other methods is not an option because if a user is in the middle of typing they lose their message. I suspect the only elegant solution would be to tweak the ajax file, [url removed, login to view] (posted below). What we think would work is to have a looping function which makes queries to the database and checks to make sure there is not 2 users of the same group on the chat. If so, [url removed, login to view] would substitute any active chatting with a message notifying the old user that they've been idle for too long.

SOLUTION:

Is this possible? We are looking for someone that has the necessary knowledge to make this happen for us. Since the AJAX runs in the cache we have not been able to force an idle user out of the session, and need to get this handled in the AJAX itself. We would like to get help with this, and although our budget is small we would like to compensate some one for a fix that resolves this issue. We would like to work with some one who can take this on and resolve it fast.

PHP:

We are fairly confident in our PHP file and can provide a sample of the guts of this for someones perusal in getting this AJAX to call on the appropriate functions.

DETAILS:

We will provide the necessary testing environment, and the server access for the qualified programmer. we have attached a copy of the original [url removed, login to view] file, and we can provide a copy of the semi-proprietary PHP file we have created to handle the functionality that we desire.

Kỹ năng: AJAX, Bất kì công việc gì, MySQL, PHP

Xem thêm: idle, ajax chat, conversation script, php force cache, ajax done, active call, ajax call, ajax fix, php ajax function, group chat php, coaches, ajax call php, force file, file cache, php unable access, joomla deleted database, ajax call php page, fix joomla database, php function ajax, joomla chat script, modifications access database, conversation joomla, fix small php file, cache mysql, proprietary database

Về Bên Thuê:
( 0 nhận xét ) Nelson, Canada

Mã Dự Án: #1899031