Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

I need help IMChat

eugcar

The Saint
Advanced Member
Messages
880
Reaction score
0
Points
26
View attachment 281316
View attachment 281317

View attachment 281318 <- Internet

View attachment 281321 <- Mozilla
View attachment 281319 <- still loaded conversation (Internet)

bali ang problem ko po dito is still loaded yung conversation namin ni Internet kahit si mozilla na ang selected data ko. kung kaya't yung conversation box nagsshifting.

function getChatlist(uid){
$('#chatFrm').trigger('reset');
$('.conversation-title').html('');
$.ajax({
url : "<?php echo $base_url; ?>serverside/chat/chat_user.php",
data: "uid="+uid,
type: "GET",
contentType: "application/json; charset=utf-8",
dataType: "JSON",
success: function(data)
{
var id_user = data.profile_id;
var uname = data.profile_username;
$('.conversation-title').html(uname);
$('#chat_id').val(data.profile_id);
setInterval(function() {
$('.chat_logs').load('<?php echo $base_url; ?>serverside/chat/chat_logs.php?uid='+id_user+'&uname='+uname);
}, 2000);

$('#chatFrm').trigger('reset');
},
error: function (jqXHR, textStatus, errorThrown)
{
alert('Error get data from ajax');
}
});
}
 

Attachments

  • 1.jpg
    1.jpg
    132.4 KB · Views: 8
  • 2.jpg
    2.jpg
    136.1 KB · Views: 4
  • 3.jpg
    3.jpg
    135.7 KB · Views: 7
  • 4.jpg
    4.jpg
    134.6 KB · Views: 7
  • 5.jpg
    5.jpg
    174.3 KB · Views: 7
ibig sabihin sir, kahit c ie ang chinat mo, na rereceive dn ni mozila?? tama ba pagka intindi ko?
 
ganito po ang scenario.
example:
ang logged user: ie, mozilla, chrome and me.
so ang 1st imchat msg ko si ie.
yung conversation namin ni ie is ok naman. walang ibang nakaload conversation sya kasi yung 1st selected ko.
so kapag i imchat ko na si mozilla na hindi ako nagrerefresh ng page. yung previous conversation namin ni ie. naiiload padin.
bali nagkakarun ng shifting load conversation. kahit ang selected imchat user is mozilla.
para mawala yun kinakailangan ko pa magrefresh ng page. para maging normal ulit.
 
Last edited:
Back
Top Bottom