AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Web Live Chat v1.4 (https://forums.alliedmods.net/showthread.php?t=236507)

Neeeeeeeeeel.- 03-07-2014 00:36

Re: Web Live Chat v1.3
 
I would add that when I release a stable and secure version.

Phant 03-07-2014 08:21

Re: Web Live Chat v1.3
 
Quote:

That's because I updated to 1.2 without testing, my bad. I will fix it in some minutes.
Thanks for fix.
So, I tested it. Very nice plugin, but some symbols causing the problem. For example, "#$%^&*" not displayed.
Also, would be nice to see all possible languages (UTF-8?). Because now displayed only English symbols.

Neeeeeeeeeel.- 03-07-2014 08:40

Re: Web Live Chat v1.3
 
Quote:

Originally Posted by Phant (Post 2108675)
Thanks for fix.
So, I tested it. Very nice plugin, but some symbols causing the problem. For example, "#$%^&*" not displayed.
Also, would be nice to see all possible languages (UTF-8?). Because now displayed only English symbols.

If you look at the cleaner function you will see the regular expression I made.
PHP Code:

function cleaner($str){
    return 
preg_replace("|[^a-zA-Z0-9 \?_!:\(\)\./]*|"""$str);


The function says that the only available chars are a-z, A-Z, 0-9, ?, _, !, :, (, ) and .
Maybe for next version I will try to add UTF-8 support.

Infernuz 03-08-2014 15:58

Re: Web Live Chat v1.3
 
What about web to server? :D

Neeeeeeeeeel.- 03-08-2014 16:56

Re: Web Live Chat v1.3
 
Quote:

Originally Posted by Infernuz (Post 2109321)
What about web to server? :D

It's not difficult to do but I don't want to add it. The plugin is only to log & see the chat in your site. To make web to server chat I have to setup a socket TCP/UDP server so you will have to open your server ports dealing with firewalls, router configs, etc...

Baws 03-08-2014 17:24

Re: Web Live Chat v1.3
 
Quote:

Originally Posted by Infernuz (Post 2109321)
What about web to server? :D

Make it as another part. That would be cool.

Infernuz 03-08-2014 18:16

Re: Web Live Chat v1.3
 
Quote:

Originally Posted by Neeeeeeeeeel.- (Post 2109359)
It's not difficult to do but I don't want to add it. The plugin is only to log & see the chat in your site. To make web to server chat I have to setup a socket TCP/UDP server so you will have to open your server ports dealing with firewalls, router configs, etc...

But you'r already using sockets :D

Neeeeeeeeeel.- 03-08-2014 18:33

Re: Web Live Chat v1.3
 
Quote:

Originally Posted by Infernuz (Post 2109393)
But you'r already using sockets :D

I'm using sockets to SEND data. Receiving data is a different world. I'm not saying it's not possible, but I think not so much people could get that working...

Infernuz 03-08-2014 20:34

Re: Web Live Chat v1.3
 
Well, then this is not a "live" chat as you called it, it's simply a chat logger. From this kind of view Ajax seems to be missing it's main purpose. You can more likely use database output and refresh the page instead. Don't you think so?

Btw, you could use sqlx instead of sockets in plugins.

Quote:

Originally Posted by Neeeeeeeeeel.- (Post 2109400)
but I think not so much people could get that working...

Something tells me that you shouldn't worry about that :D

Neeeeeeeeeel.- 03-08-2014 21:29

Re: Web Live Chat v1.3
 
Quote:

Originally Posted by Infernuz (Post 2109440)
Well, then this is not a "live" chat as you called it, it's simply a chat logger.

"Live chat" it's because you can watch CS chat "instantly" (~1sec delay).

Quote:

Originally Posted by Infernuz (Post 2109440)
Btw, you could use sqlx instead of sockets in plugins.

Read the whole post:)


All times are GMT -4. The time now is 08:44.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.