26

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

Hello,

When I install it, it just says "Error: Unable to connect" and there's just "Loading..." standing there. Do you know what might be the problem? I just installed it, set chmod 777 on the .dat file.
Thanks.

27

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

Your server doesn't permit POST access to the chat.dat file.

You might try to put the following code in ek_chatlite/data/.htaccess

<LimitExcept POST>
  Order Deny,Allow
  Allow from all
</LimitExcept>

Not sure if it will be enough, dont know your server config.

28 (edited by dera 2008-12-09 18:12)

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

Neck,

Thanks for replying.

It doesn't work again... The same error. Can you tell me where to get my server info? I can show it to you. I know it's FreeBSD. And the PHP version is 5.2.3.

29

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

This is probably some Apache configuration so found in httpd.conf.

Since your server doesnt deny POST method for .php file you might try to rename chat.dat in chat.php to solve the problem.
Here's where you need to change it (number = the line):

ek_chatlite/data/.htaccess
  2  <Files chat.php>

ek_chatlite/manifest.xml
 81  $content = file_get_contents($ext_info['path'].'/data/chat.php');
110  file_put_contents($ext_info['path'].'/data/chat.php', $content);
119  $content = file_get_contents($ext_info['path'].'/data/chat.dat');

ek_chatlite/media/js/chat.js
 76  this.pe = new this.refresher(this.param['exturi']+'data/chat.php', {

Do this while extension is uninstalled and process install after.

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

I've installed chatbox 0.4.0 into my personal server and works correctly

31

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

It works great now! Thanks, Neck!

32 (edited by anggiawan 2008-12-10 03:06)

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

I have replaced all old files with the new files and restoring my chat.data but chatbox always show "No messages".
Is it different?

Edit : Oh, ya different format.. big_smile

33 (edited by Neck 2008-12-11 18:34)

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

New version:
-Fixed <h2> css for FF3
-Fixed timestamps leading zeros
-Added message deletion for admins and moderators
-and some code improvements

This is probably the last version adding features for now. It achieves a nice balance between light extension and needed/helpful options imho.


PS: added some HowTo to the first page.



@anggiawan: you got it big_smile

@dera: to solve your problem in this new version change the following before installing

ek_chatlite/data/.htaccess
  2  <Files chat.php>

ek_chatlite/manifest.xml
 61  $chatFile = $ext_info['path'].'/data/chat.php';

ek_chatlite/media/js/chat.js
 77  this.pe = new this.refresher(this.param['exturi']+'data/chat.php', {

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

Upgrade from 0.4.0 to 0.5.0 suscefully big_smile

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

I'm sad. My host is still on php version 4.x.x
sad
I've emailed them asking them to upgrade but I doubt they will sad

36

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

New version:
minor change for compatibility with other extensions using prototype.

@esupergood: tell them its not supported anymore tongue

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

they want £15 to upgrade. I'll pay it for a chatroom smile

38

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

I'm sorry, but that's stupid. I would change host

sorry of off topic

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

compila.com just so you know

40

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

Any chance to move to it's own page yet? Will this be possible in future versions?

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

I think this would also serve me better on its own page but I'm still waiting for my forum to be switched to a php 5.x.x server to test it properly.

42

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

Is there a way to make the text alternate colors.

Example:

[00:00] <User 1> dwknfwkjfn
[00:05] <User 2> sd,nfwfw

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

I now have this installed. I'll test for a few days then give feedback smile

44

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

I like your extension smile

... and I have some tips:

  • Is there a flood limit?

  • There is no submit button (I know you can just press enter, but some users might not know that).

  • The error message should disappear after some time.

  • Are the forum censoring rules applied to the messages?

  • A "No messages" note would be nice.

  • Let admins ban some people from the chat.

  • Alternating between no background and a slightly darker background could make the messages easier to read.

smile

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

Garciat wrote:

There is no submit button

This means I can't use chat on my iphone sad

46

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

Thanks all for the positive feedbacks smile


Regarding comments/requests:
Own page: not yet, it is rather complicated and not my priority.

Message/User color: adding a per-user color is too complicated and would require to store it somewhere. Would also create problems on big forums (how to make 1000 different colors). However I'm planning to modify a bit message template to allow alternate colors and colouring of specific users based on name.

Is there a flood limit? you cant post a message while one is bein sent and you cant reposte twice the same message. Except that there is no message-per-unit-of-time limit.

There is no submit button (I know you can just press enter, but some users might not know that). Right, can add one it doesnt cost much.

The error message should disappear after some time. You can make it disapear by clicking it. I'm not sure about timing it, what if someone miss it due to the timer ?

Are the forum censoring rules applied to the messages? No, word censoring could be applied easily I think.

A "No messages" note would be nice. there's one... but its a bit bugged, will be corrected.

Let admins ban some people from the chat. Wont do that. First because its rather heavy and complicated, second because the forum has a ban system that works perfectly.

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

this extension really needs some work. im not able to use it on my forums due to the mere fact that it doesnt produce valid xhtml code and it lacks basic features such as a submit button (duh?)

48

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

Neck wrote:

Message/User color: adding a per-user color is too complicated and would require to store it somewhere. Would also create problems on big forums (how to make 1000 different colors). However I'm planning to modify a bit message template to allow alternate colors and colouring of specific users based on name.

It doesn't have to be per user. Just per line. First message in one color, second message in a different color, and then third message goes back to the first color and so on.

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

I was wondering if there was any way of making it so only registered users can see the chat.

50

Re: [Release] ChatLite v0.5.1 (javascript chat on forum index)

How i can i move chat to the bottom of the page?