Simple Text Chat Box Learn how to use a simple idea to make text chat web application
#76
Posted 10 November 2011 - 02:44 PM
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
#77
Posted 25 November 2011 - 09:49 AM
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.
#78
Posted 28 February 2012 - 08:47 AM
ahmad_511, on 10 November 2011 - 02:44 PM, said:
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
#79
Posted 28 February 2012 - 02:58 PM
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
#80
Posted 28 February 2012 - 03:58 PM
I wait you to upload the newer version:)
Also may i ask you if is possible to implement a cam2cam option ?
Thank you
#81
Posted 28 February 2012 - 09:08 PM
#82
Posted 04 March 2012 - 10:18 AM
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 ?
#83
Posted 04 March 2012 - 12:34 PM
Quote
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
I'm having problems right now renewing my domain (due to some restrictions applied in my country
Quote
How to authorize only 1 message quite X seconde?
as I remember this has been solved in the last version I uploaded here
Quote
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
Regards
#84
Posted 04 March 2012 - 05:19 PM
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 ?
#85
Posted 05 March 2012 - 01:25 PM
ahmad_511, on 10 November 2011 - 02:44 PM, said:
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
#86
Posted 11 April 2012 - 08:07 PM
ahmad_511, on 04 March 2012 - 12:34 PM, said:
Quote
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
I'm having problems right now renewing my domain (due to some restrictions applied in my country
Quote
How to authorize only 1 message quite X seconde?
as I remember this has been solved in the last version I uploaded here
Quote
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
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
#87
Posted 12 April 2012 - 08:52 PM
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
#88
Posted 13 April 2012 - 02:42 AM
ahmad_511, on 12 April 2012 - 08:52 PM, said:
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
#89
Posted 27 May 2012 - 07:43 PM
ahmad_511, on 12 April 2012 - 08:52 PM, said:
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
#90
Posted 03 July 2012 - 10:35 AM
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

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
chat6.zip (922.72K)
Number of downloads: 169
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
|
|








MultiQuote




|