• (6 Pages)
  • +
  • « First
  • 4
  • 5
  • 6

Simple Text Chat Box Learn how to use a simple idea to make text chat web application Rate Topic: ****- 2 Votes

#76 ahmad_511  Icon User is offline

  • MSX
  • member icon

Reputation: 112
  • View blog
  • Posts: 686
  • Joined: 28-April 07

Posted 10 November 2011 - 02:44 PM

Hi,
your ajax.js file is corrupted, try to navigate to
http://teste-online....et/chat/ajax.js

I can see some weird characters and some missing parts of the code
also I received an Uncaught SyntaxError: Unexpected token ILLEGAL in chrome console / illegal characters in FireFox error console

so, make sure your ajax.js file and all other files are saved as (UTF-8 without BOM) and then upload them again

Note:
a newer version can be found here here
Was This Post Helpful? 0
  • +
  • -

#77 roob  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 25-November 11

Posted 25 November 2011 - 09:49 AM

Hi first off i want to say thanks for a great tutorial.
and the mods for it but
also would it be possible for you to have a password to login as a admin and have commands like clearing the room1.txt
file or kicking a user of the chat. :rolleyes:
Was This Post Helpful? 0
  • +
  • -

#78 Evelline  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 28-February 12

Posted 28 February 2012 - 08:47 AM

View Postahmad_511, on 10 November 2011 - 02:44 PM, said:

Hi,
your ajax.js file is corrupted, try to navigate to
http://teste-online....et/chat/ajax.js

I can see some weird characters and some missing parts of the code
also I received an Uncaught SyntaxError: Unexpected token ILLEGAL in chrome console / illegal characters in FireFox error console

so, make sure your ajax.js file and all other files are saved as (UTF-8 without BOM) and then upload them again

Note:
a newer version can be found here here


Hello Ahmad,

i was download and upload to my website the latest version of your project but dont work.

Can you tell me please what is wrong ? http://www.my-rottweilers.com/chat2/

Thank you
Was This Post Helpful? 0
  • +
  • -

#79 ahmad_511  Icon User is offline

  • MSX
  • member icon

Reputation: 112
  • View blog
  • Posts: 686
  • Joined: 28-April 07

Posted 28 February 2012 - 02:58 PM

Hi,
you just quoted the solution :)
I took a look at your link and I saw some incorrectly encoded characters inside the ajax.js file
so, make sure you convert this file to UTF-8 without BOM and try to upload it again

using notepad++, go to Encoding menu->Convert to UTF-8 without BOM
using notepad, go to File menu->Save as->set the Encoding to UTF-8

anyways, I have a newer version but didn't upload it yet. I hope I can do this soon.

Regards
Was This Post Helpful? 0
  • +
  • -

#80 Evelline  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 28-February 12

Posted 28 February 2012 - 03:58 PM

Thank you , now its works.

I wait you to upload the newer version:)

Also may i ask you if is possible to implement a cam2cam option ?

Thank you
Was This Post Helpful? 0
  • +
  • -

#81 Akai1831  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 26-September 11

Posted 28 February 2012 - 09:08 PM

Sir Ahmad we're looking forward to your new version of Chat, thanks a lot sir
Was This Post Helpful? 0
  • +
  • -

#82 Bobon  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 04-March 12

Posted 04 March 2012 - 10:18 AM

Hello Ahmad,

I have to notice that one can send a lot, many empty message and that he not it in step of security to block it.
How to authorize only 1 message quite X seconde?

No commande ? example : /clear etc .. for Admin groups ?
Was This Post Helpful? 0
  • +
  • -

#83 ahmad_511  Icon User is offline

  • MSX
  • member icon

Reputation: 112
  • View blog
  • Posts: 686
  • Joined: 28-April 07

Posted 04 March 2012 - 12:34 PM

Hello again,

Quote

Also may i ask you if is possible to implement a cam2cam option ?

this will require more than html, css, javascript and php (something like a flash to capture the cam and a media server to stream captured pictures to clients)

Quote

we're looking forward to your new version of Chat

I'm having problems right now renewing my domain (due to some restrictions applied in my country :( ), so once it's up again I'll upload the new version

Quote

I have to notice that one can send a lot, many empty message and that he not it in step of security to block it.
How to authorize only 1 message quite X seconde?

as I remember this has been solved in the last version I uploaded here

Quote

No commande ? example : /clear etc .. for Admin groups ?

the new version has the following commands:
clear: clears the rom
ban: ban a user for a period of time
unban: unban a user
banlist: display banned users list
kick: kick out a user permanently
unkick: unkick a user
kicklist: display kicked users list
op: add a user to a specific operator group
deop: remove a user from his group and add him to the default group
grouplist: display users in specified group (or all users)
groups: display available groups

there are some more features and enhancements

wish me luck with renewing my domain :) (I hate politics)

Regards
Was This Post Helpful? 0
  • +
  • -

#84 Bobon  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 04-March 12

Posted 04 March 2012 - 05:19 PM

Thank you for your answer Ahmad!

I am French, and I did not very well understand for the security of messages.

Of more important matter I shall like knowing if it is possible to reserve a pseudo with a password?
And to store all this in a .txt or directly in a database ?

If I understood well the next one the version arrives with them of the commands and security for messages ?
Was This Post Helpful? 0
  • +
  • -

#85 Emm_rozz  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 05-March 12

Posted 05 March 2012 - 01:25 PM

View Postahmad_511, on 10 November 2011 - 02:44 PM, said:

Hi,
your ajax.js file is corrupted, try to navigate to
http://teste-online....et/chat/ajax.js

I can see some weird characters and some missing parts of the code
also I received an Uncaught SyntaxError: Unexpected token ILLEGAL in chrome console / illegal characters in FireFox error console

so, make sure your ajax.js file and all other files are saved as (UTF-8 without BOM) and then upload them again

Note:
a newer version can be found here here



hi, I want to hidden all users , only admin can see online users, and user should see admin alone. it's posible ?

Thanks
Was This Post Helpful? 0
  • +
  • -

#86 Akai1831  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 26-September 11

Posted 11 April 2012 - 08:07 PM

View Postahmad_511, on 04 March 2012 - 12:34 PM, said:

Hello again,

Quote

Also may i ask you if is possible to implement a cam2cam option ?

this will require more than html, css, javascript and php (something like a flash to capture the cam and a media server to stream captured pictures to clients)

Quote

we're looking forward to your new version of Chat

I'm having problems right now renewing my domain (due to some restrictions applied in my country :( ), so once it's up again I'll upload the new version

Quote

I have to notice that one can send a lot, many empty message and that he not it in step of security to block it.
How to authorize only 1 message quite X seconde?

as I remember this has been solved in the last version I uploaded here

Quote

No commande ? example : /clear etc .. for Admin groups ?

the new version has the following commands:
clear: clears the rom
ban: ban a user for a period of time
unban: unban a user
banlist: display banned users list
kick: kick out a user permanently
unkick: unkick a user
kicklist: display kicked users list
op: add a user to a specific operator group
deop: remove a user from his group and add him to the default group
grouplist: display users in specified group (or all users)
groups: display available groups

there are some more features and enhancements

wish me luck with renewing my domain :) (I hate politics)

Regards


Good Day again, Sir Ahmad we're counting on this new version of your chat.
Please update us if you uploaded it already.

Thanks a lot
Was This Post Helpful? 0
  • +
  • -

#87 ahmad_511  Icon User is offline

  • MSX
  • member icon

Reputation: 112
  • View blog
  • Posts: 686
  • Joined: 28-April 07

Posted 12 April 2012 - 08:52 PM

Hello and sorry for the delay,
I'm really so busy and life is getting harder

here is a test version of the new chatbox
the code is completely new and more reliable than the older versions
a lot of modifications are made and I'll post about them later on

a new command is added to the above listed commands which is \help,
this command allows each user to see what commands are available for his group

you can try it here Chatbox6

Regards

This post has been edited by ahmad_511: 13 April 2012 - 07:52 PM

Was This Post Helpful? 0
  • +
  • -

#88 Akai1831  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 26-September 11

Posted 13 April 2012 - 02:42 AM

View Postahmad_511, on 12 April 2012 - 08:52 PM, said:

Hello and sorry for the delay,
I'm really so busy and life is getting harder

here is a test version of the new chatbox
the code is completely new and more reliable than the older versions
a lot of modifications are made and I'll post about them later on

a new command is added to the above listed commands which is \help,
this command allows each user to see what commands are available for his group

you can try it here Chatbox6

Regards

It's ok and I understand :)
interface of the chatbox is really nice though and when i saw this on your previous reply.
These are really awesome, so once again. Thank you!

clear: clears the rom
ban: ban a user for a period of time
unban: unban a user
banlist: display banned users list
kick: kick out a user permanently
unkick: unkick a user
kicklist: display kicked users list
op: add a user to a specific operator group
deop: remove a user from his group and add him to the default group
grouplist: display users in specified group (or all users)
groups: display available groups
Was This Post Helpful? 0
  • +
  • -

  • (6 Pages)
  • +
  • « First
  • 4
  • 5
  • 6