• (12 Pages)
  • +
  • « First
  • 4
  • 5
  • 6
  • 7
  • 8
  • Last »

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

#76 ahmad_511  Icon User is offline

  • MSX
  • member icon

Reputation: 131
  • View blog
  • Posts: 722
  • 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: 7
  • 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: 131
  • View blog
  • Posts: 722
  • 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: 5
  • 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: 131
  • View blog
  • Posts: 722
  • 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: 5
  • 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: 131
  • View blog
  • Posts: 722
  • 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: 5
  • 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
  • +
  • -

#89 NightWolfx  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 27-May 12

Posted 27 May 2012 - 07:43 PM

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


Dear Ahmad,

I really appreciate all the work, effort, and support you've given all the users with your free Chat Box code. Not to mention, you've been answering a lot of questions and updating/debugging all the errors that users may come across these past 3 years.

I'm working on a chat system, and the newest version (Beta 6) is very spectacular! I was wondering if it's possible to get a copy of the files you used for it?

Thanks,
NightWolfx
Was This Post Helpful? 0
  • +
  • -

#90 ahmad_511  Icon User is offline

  • MSX
  • member icon

Reputation: 131
  • View blog
  • Posts: 722
  • Joined: 28-April 07

Posted 03 July 2012 - 10:35 AM

Hello guys,
I know it's maybe too late, but life is not that easy
I recently made an updated version of this code which has more feature now comparing to the one I started this topic with
anyway, I see it's maybe not appropriate to post all related documentation here unless Mods/Admins don't mind
so here is a screenshot
Attached Image

Features:

  • Configurable announcements display period, room buffer to limit server used resources, allowed time gap between two messages, Time to go AFK (Away From Keyboard), Time to go Offline, Emotions directory, Update interval, AFK update interval, Max emotions to show (extra ones are accessible via a special button), Sign in page, Kick out page, Avatar URL template, Sounds notifications
  • Greetings messages
  • Announcements
  • Guest mode (visitors can read public messages but not allowed to send)
  • Ban users
  • Kick out users
  • Censor custom words
  • Toggle on / off some feature such as (Gust mode, Censored words, Greetings, Announcements)
  • Customized groups and permissions (allowed commands and group power)
  • Emotions panel
  • Private messaging]
  • Online users panel
  • Administration commands such as (clean , clear, ban, unban, banlist, kick, unkick, kicklist, op, deop, users, groups, help)
  • Command syntax error hint
  • Configurable command prefix
  • Sound notification for received message (public , private) and for online users status change
  • Configurable message queuing time, adds enough time between two messages
  • Flat-text based, no Database is needed
  • Error Logging, user will be notified in case of any error


you can find all necessary information about it here Code Download / Documentations

download the code here Attached File  chat6.zip (922.72K)
Number of downloads: 273

a live test here ChatBox6
(I set up the app so it checks for new messages every 4 seconds and queues a message if it sent in a period less than 2 seconds from a previously sent one, I did this due to my resource limits but of course these settings and other are configurable)

Please let me know if you have any suggestions or you found a bug
Thanks and Regards

This post has been edited by ahmad_511: 03 July 2012 - 10:36 AM

Was This Post Helpful? 0
  • +
  • -

  • (12 Pages)
  • +
  • « First
  • 4
  • 5
  • 6
  • 7
  • 8
  • Last »