danwin / le-chat-php Goto Github PK
View Code? Open in Web Editor NEWA PHP Chat based on LE CHAT
Home Page: https://danwin1210.de/chat/
License: GNU General Public License v3.0
A PHP Chat based on LE CHAT
Home Page: https://danwin1210.de/chat/
License: GNU General Public License v3.0
E.g. messages per day, number of sessions etc.
Mute a spammer for everyone but them, so the spammer doesn't notice he was silenced.
When using the /me styling for messages defined on lines 2906-2908, it ignores the chosen recipient field when determining display. It properly maintains chosen view permissions, on who actually sees it, which is most important; but could lead to confusion when it does not also carry the msgsendmod or similar message permission variable before it in the view frame. With PMs the handling would be more complicated, since it normally displays the recipient name after the sender name. But for [M] [S] or [A] messages, there would be no problem with displaying those variables before the /me message. It seems like it could be done by adapting the code from lines 2867-2882.
I do not run a copy of your chat to test this change on at this time, but hope my description was clear enough to understand the issue I mention and see a way to fix it.
thank you
Let an admin define custom error messages
I keep editing the configuration for the database then do chat.php?action=setup and nothing happens. Is there like a video I can see to set this up. Nothing works, only a blank page pops up.
I have included my DB, using wamp before I move over to a pi, I put in the DB settings and set it to 0(default), it soon as I go to active=setup it shows the admin password section, and just empties the out put soon as I add anything, so I look in the DB, its not written anything to the DB at all.
No errors at all its just not doing it, this is the version 1.23.1
From what I can see in the code I not seeing any of the setup section it just jumps to admin login.
PHP Version: 5.6.25
Server Software: Apache/2.4.23 (Win64) PHP/5.6.25 - Port defined for Apache: 80
Loaded Extensions :
apache2handler
bcmath
bz2
calendar
com_dotnet
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imap
intl
json
ldap
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
odbc
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
Reflection
session
SimpleXML
soap
sockets
SPL
sqlite3
standard
tokenizer
wddx
xdebug
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zip
zlib
MySQL Version: 5.7.14
When the session is about to expire, server could send the page update to user for last time with note of session expiry and no auto-refresh after that.
Keep track of staff actions to identify who did what in case there is a bad actor
Let admins define a static number of rooms and add an option to allow dynamic room creation by users for group chatsfixed number
Don't show ignored persons messages again, when they leave the room (e.g. add session or time to tables)
The chat does not validate session cookies across multiple clients when the client is a guest username. This effectively allows a user to control a guest user's account without the user being authenticated, and thus allows "eavesdropping" and arbitrary control of a guest user's account. This was executed as a proof of concept at https://chat.danwin1210.me/ by specifying a guest username that is already logged in at the login prompt.
Add option to add routing option to allow multiple (private) chat instances with one file similar to sites like chatlist
Multiple guests or members vote to kick after reaching a given percentage of consensus
I added the chat but I can't find out how to add moderators how can I?
Allow putting recent PMs at the top for busy chat rooms so they don't get lost
Also allow changing colour schemas of current implementation.
Allow configuring the active chatter list to be detailed, differencing between members, mods, admins or simply members and guests as of now.
Hi, i cannot install le chat on Daniels hosting, so the setup action cannot find the mysql table.
All logins and users are correct,
Hello Daniel,
I am using the newest version of your Chat.
I forgot the password for the superuser.
Is it possible to change the password with help opf MySQL or MariaDB?
Thanks,
nonick
Texts maintained by admins, e.g. rules should be translatable
Personal notes should be encrypted using the users password or PGP key, which will improve privacy from the server admin/chat owner.
Move away from static guest, member, mod, admin system and allow to dynamically create groups to manage permissions much more granularly.
I'm using MySQL 5.5.48
netstat -an:
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
3306 port is opened, Why "No connection to database"?
Add an option to turn the default message view into an extended view for ease of moderating, without having to go through the admin panel each time.
Add bot users that will react to certain commands
Hello, how can I put to the side of the chat the list of connected users
i would like to add commands to the chat like if i type in !command it would respond with "this is a custom command" and i would also like to add emojis to the chat
Allow staff to send broadcast messages to inbox and/or every logged in user.
Could be useful to clean spammers messages by kicking the inactive sessions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.