A PHP/jQuery based web chatroom app
Try it out here
Current features include:
- Creating new chat rooms
- Managing/Deleting chat rooms
- Generating room links
- Sending images and formatted posts (Uses HTML)
- Voice-to-text
- Swear word filtering
- Individual Admin accounts with custom passwords
- Randomly generated user ID colors seeded with the user's ID
- Endless semi-public chat rooms
- User join notifications
- Message send dates
Adapting for new domains:
If you would like to have this app run on your PHP server, only one thing is required:
- Open
chat.php
in a code editor such as Notepad++ - On lines 32-35, you should find the following code:
function generateLink() {
$('#name-area a').attr('href', 'javascript:copyToClipboard("https://classchat.calclover2514.repl.co/room.php?room=' + chatroom + '")')
$('#name-area a').html('https://classchat.calclover2514.repl.co/room.php?room=' + chatroom)
}
- Replace
https://classchat.calclover2514.repl.co/room.php
withhttps://your.website.domain/room.php
- You're good to go!