https://www.icyphoenix.com/viewtopic.php?f=28&t=7932&p=53526#p53526
-----------------------------------
Ghostsearcher
Fri 26 Aug, 2011 17:05

Re: [SOLVED] AJAX Chat 0.8.3 - Possible? (Update: YES It Is ^_^)
-----------------------------------
Hi MG!

Especially Safari-Problem! Maybe in Chrome, too? (i can't use Chrome, so please try it out. But i guess, yes, same problem.)

I've noticed that the AJAX Chat not really works. => Special example is on Safari (up-to-date or any other Version of it) and the Styleswitcher.
(btw: did you knew that Safari can't load different (alternate) Stylesheets? So this is the problem.)
You will notice that the styleswitcher works under IE, FF and Opera, too. But if you're using Safari, the Chat will destroy! (Chrome, i don't know, just guess yes)
Do you have a solution for it?

See here using Safari with the StandardStyle "prosilver": http://chat.ecobytes.net/
(even noticed the error message in Safari? You can disable this maybe forgotten string in "js/chat.js" on line 633 (or search for "alert(e);"). Found it? Then just add two slashes before like this: //alert(e);
done - no error message anymore! Maybe it's a general Problem to Safari because it can't play sounds? Maybe it should be quicktime installed? Unfortunely i don't know...)

So, if you now change the style from standard "prosilver" to anything u like, the chat will destroy. See it?

Ok, it can works on Safari, if you set a default/standard Style and delete all other CSS in lib/config.php on line 50+52. But that's not the solution.

Do you have maybe a work around for it, so Safari can load different Styles?
Maybe it's possible to change the Styles using Javascript. But unfortunely i don't know how it's done. It's maybe to add anywhere in lib/class/AJAXChatTemplate.php !?
This could help you further?: http://www.alistapart.com/articles/alternate/

Greetings, Ghostsearcher


Not really important Addendum:
Also it could be, that some Safari users will kicked from the chat after round'bout 20 Minutes. Attention: I don't know if all(!) Safari users got this problem. I just know this from a Safari using friend that he will kicked all 20 minutes from the chat and (like i set this string to "true") re-auto log in again.
So this notice is payed with attention because as i've already said, i don't know if any Safari user will have this problem.
Maybe some Safari users can check this out on the chatlink i posted here in the beginning of this post?
Just login, wait 20-30 minutes and check if you're kicked out. It doesn't matter if you typing or not.


