Help Center Live Community
April 19, 2014, 10:27:32 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 2 3 [4]   Go Down
  Print  
Author Topic: Firefox 3.0.6 killed this!  (Read 57856 times)
Ast Derek
Not too much to say...
*
Offline Offline

Posts: 6


« Reply #45 on: August 29, 2009, 04:54:37 AM »

Sorry I didn't update the code here.  I'll add the TODO list here in a few hours if possible, or some days.  Right now I'm installing the Live Chat on a live environment, let's see what happens.

P. D. :

Installation went fine, chat didn't work at first, then patched the files and everything seems to be fine.  Files modified (edited from original):

/class/aardvark. php

line 77:
setcookie('aardvark_'. $this->variables_send[$key ]['variable' ], $this->variables_send[$key ]['data' ], $time, '/', $domain);

to (sending the cookie and the custom header):
setcookie('aardvark_'. $this->variables_send[$key ]['variable' ], $this->variables_send[$key ]['data' ], $time, '/', $domain);
header("Custom-header: aardvark_". $this->variables_send[$key ]['variable' ]. "=". rawurlencode($this->variables_send[$key ]['data' ]),false);


/class/js/aardvark. php

line 52 (reads the cookie header, removing date and path info):
} else { headers = eval(object+". xmlhttp. getResponseHeader('Set-Cookie')"); headers = headers. split("path=/"); for (i = 0; i < headers. length; i++) { headers[i ] = headers[i ]. split("; "); if (headers[i ][0 ] !== '') { if (headers[i ][0 ]. substring(0, 2) == ', ') { content += headers[i ][0 ]. substring(2, headers[i ][0 ]. length) + '; ';} else if (headers[i ][0 ]. substring(0, 1) == "\n") { content += headers[i ][0 ]. substring(1, headers[i ][0 ]. length) + '; ';} else { content += headers[i ][0 ] + '; ';}
}
}
}


to (returns bare custom header):
} else { headers = eval(object+". xmlhttp. getResponseHeader('Custom-header')"); content = (headers) ? headers : "";
}


Tried to attach the files I originally edited at my computer, but didn't have enough permissions.

Just tested with FireFox 2. 0. 2, Mac OS X 10. 3: 1 error, message from FireBug
document. getElementById("aardvark_div_" + object) has no properties
}; this. xmlhttp. open("GET", this. url, tr. . . new Image(); this. image. src = this. url;}
« Last Edit: August 29, 2009, 06:28:43 AM by Ast Derek » Logged
phyozaw
Not too much to say...
*
Offline Offline

Posts: 1


« Reply #46 on: October 26, 2009, 06:09:51 PM »

Thanks you very much.  It is really work.
Logged
hwarlon
Not too much to say...
*
Offline Offline

Posts: 2


« Reply #47 on: October 28, 2009, 10:21:07 AM »

Hello,

happy to be here, I'm French and it will not be easy ;-)
Obviously for me too in Firefox, the cat is in charge but it gets stuck at this stage of loading.   It works fine in IE. 
Being not very good at English I did not understand the explanation given here. 

Maybe someone could send me nice e mail changed pages ;-)

A priori, a French translation of the script exists, but the link is dead, maybe someone who has this file english. txt may wish to contact me, thank you

Thank you in advance for your help. 
Translation Google ;-)
Good day
« Last Edit: October 28, 2009, 10:24:33 AM by hwarlon » Logged
Ast Derek
Not too much to say...
*
Offline Offline

Posts: 6


« Reply #48 on: October 28, 2009, 06:12:15 PM »

The text says:

Chat information is sent using cookies.  Cookies are not accessible for some explorers.  Changes made here send information using HTTP headers.

Lines to change are listed (along the piece of original code), the new section of code is marked as "to":

Filename where to make changes

line 77:
PIECE OF ORIGINAL CODE

to:
PIECE OF NEW CODE

If you have an email I can send you the modified files
Logged
hwarlon
Not too much to say...
*
Offline Offline

Posts: 2


« Reply #49 on: October 28, 2009, 06:31:30 PM »

Yes I am willing changed files

Thank you very much, really this is my email

Good evening and thank you again
« Last Edit: October 29, 2009, 08:03:20 PM by hwarlon » Logged
Ast Derek
Not too much to say...
*
Offline Offline

Posts: 6


« Reply #50 on: November 09, 2009, 11:36:44 AM »

Hey, lost your email.   Have passed a while.  .  .   sorry, I was busy.   Go here to find the files:

hxxp: www.  magentaderek.  com/sandbox/hcl/
« Last Edit: November 09, 2009, 11:39:16 AM by Ast Derek » Logged
rajkumar
Not too much to say...
*
Offline Offline

Posts: 4


« Reply #51 on: February 05, 2010, 12:16:34 PM »

Any one have chat code
 just send please .  .  .  .   to rajud521@gmail.   com
« Last Edit: February 06, 2010, 11:44:36 AM by rajkumar » Logged
Pages: 1 2 3 [4]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.165 seconds with 19 queries.

Google visited last this page Yesterday at 03:43:10 PM