Compare commits

...

4 Commits
v1.7 ... v1.9.2

Author SHA1 Message Date
c0dd4dc727 Avoid using mysqlnd-only functions 2015-06-04 08:12:28 +02:00
a1a41c76e3 Bugfixes 2015-06-03 15:39:05 +02:00
55f9db6468 Version 1.9
Added more captchas
Splitted guest access and global password
Added support for irc /me command
Added prefix for multiple chats on the same domain/database
2015-06-02 08:54:18 +02:00
506407faeb Cleanup and support for memcached 2015-05-28 21:15:37 +02:00
6 changed files with 709 additions and 563 deletions

View File

@ -1,4 +1,20 @@
Version 1.7 - May. 3, 2015 Version 1.9.2 - Jun. 4, 2015
Avoid using mysqlnd-only functions
Version 1.9.1 - Jun. 3, 2015
Bugfixes
Version 1.9 - Jun. 1, 2015
Added more captchas
Splitted guest access and global password
Added support for irc /me command
Added prefix for multiple chats on the same domain/database
Version 1.8 - May 28, 2015
Code cleanup and simplification
Added support for memcached
Version 1.7 - May 3, 2015
Added member only option with global password protection Added member only option with global password protection
Made date format configurable Made date format configurable
Various improvements Various improvements

4
README
View File

@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
GENERAL INFORMATION: GENERAL INFORMATION:
This is a PHP Chat based on LE CHAT v.1.14 . An up-to-date copy of this script can be downloaded at https://github.com/DanWin/le-chat-php This is a PHP Chat based on LE CHAT v.1.14. An up-to-date copy of this script can be downloaded at https://github.com/DanWin/le-chat-php
The original perl LE CHAT script by Lucky Eddie can be downloaded at http://4fvfamdpoulu2nms.onion/lechat/ or via a tor2web proxy like https://4fvfamdpoulu2nms.tor2web.blutmagie.de/lechat/ if you don't have TOR installed. The original perl LE CHAT script by Lucky Eddie can be downloaded at http://4fvfamdpoulu2nms.onion/lechat/ or via a tor2web proxy like https://4fvfamdpoulu2nms.tor2web.blutmagie.de/lechat/ if you don't have TOR installed.
If you add your own cool features or have a feature request, please tell me and I will add them, if I like them. If you add your own cool features or have a feature request, please tell me and I will add them, if I like them.
Please also let me know about any bugs you find in the code, so I can fix them. Please also let me know about any bugs you find in the code, so I can fix them.
@ -87,6 +87,6 @@ If you never used regex before, check out this starting guide to begin with regu
LIVE DEMO: LIVE DEMO:
If you want to see the script in action, you can visit my TOR hidden site http://tt3j2x4k5ycaa5zt.onion/chat.php or via a tor2web proxy like http://tt3j2x4k5ycaa5zt.tor2web.blutmagie.de/chat.php if you don't have TOR installed. If you want to see the script in action, you can visit my TOR hidden service http://tt3j2x4k5ycaa5zt.onion/chat.php or via a tor2web proxy like http://tt3j2x4k5ycaa5zt.tor2web.blutmagie.de/chat.php if you don't have TOR installed.
Considering this is a hidden service, you should be prepared for the worst case, as people often tend to do illegal activities in the TOR network. I'm not online 24/7 so it might not be possible to remove such content right away. Considering this is a hidden service, you should be prepared for the worst case, as people often tend to do illegal activities in the TOR network. I'm not online 24/7 so it might not be possible to remove such content right away.
If you should see illegal content, don't panic. Use the contact form on my site to notify me and clean your browser cache afterwards. If you should see illegal content, don't panic. Use the contact form on my site to notify me and clean your browser cache afterwards.

View File

@ -1,7 +1,7 @@
General Information: General Information:
-------------------- --------------------
This is a PHP Chat based on LE CHAT v.1.14 . An up-to-date copy of this script can be downloaded at https://github.com/DanWin/le-chat-php This is a PHP Chat based on LE CHAT v.1.14. An up-to-date copy of this script can be downloaded at https://github.com/DanWin/le-chat-php
The original perl LE CHAT script by Lucky Eddie can be downloaded at [his site](http://4fvfamdpoulu2nms.onion/lechat/) or via a tor2web proxy like [this one](https://4fvfamdpoulu2nms.tor2web.blutmagie.de/lechat/) if you don't have TOR installed. The original perl LE CHAT script by Lucky Eddie can be downloaded at [his site](http://4fvfamdpoulu2nms.onion/lechat/) or via a tor2web proxy like [this one](https://4fvfamdpoulu2nms.tor2web.blutmagie.de/lechat/) if you don't have TOR installed.
If you add your own cool features or have a feature request, please tell me and I will add them, if I like them. If you add your own cool features or have a feature request, please tell me and I will add them, if I like them.
Please also let me know about any bugs you find in the code, so I can fix them. Please also let me know about any bugs you find in the code, so I can fix them.
@ -75,6 +75,6 @@ If you never used regex before, check out [this starting guide](http://docs.acti
Live demo: Live demo:
---------- ----------
If you want to see the script in action, you can visit my [TOR hidden site](http://tt3j2x4k5ycaa5zt.onion/chat.php) or via a tor2web proxy like [this one](http://tt3j2x4k5ycaa5zt.tor2web.blutmagie.de/chat.php) if you don't have TOR installed. If you want to see the script in action, you can visit my [TOR hidden service](http://tt3j2x4k5ycaa5zt.onion/chat.php) or via a tor2web proxy like [this one](http://tt3j2x4k5ycaa5zt.tor2web.blutmagie.de/chat.php) if you don't have TOR installed.
Considering this is a hidden service, you should be prepared for the worst case, as people often tend to do illegal activities in the TOR network. I'm not online 24/7 so it might not be possible to remove such content right away. Considering this is a hidden service, you should be prepared for the worst case, as people often tend to do illegal activities in the TOR network. I'm not online 24/7 so it might not be possible to remove such content right away.
If you should see illegal content, don't panic. Use the contact form on my site to notify me and clean your browser cache afterwards. I will remove the content as soon as possible. If you should see illegal content, don't panic. Use the contact form on my site to notify me and clean your browser cache afterwards. I will remove the content as soon as possible.

1224
chat.php

File diff suppressed because it is too large Load Diff

View File

@ -53,6 +53,13 @@ $I=array(
'msgallkick' => 'Alle rausgeworfen', 'msgallkick' => 'Alle rausgeworfen',
'msgclean' => 'Raum geleert', 'msgclean' => 'Raum geleert',
'dateformat' => '<a target="_blank" href="http://php.net/manual/de/function.date.php#refsect1-function.date-parameters">Date formating</a>', 'dateformat' => '<a target="_blank" href="http://php.net/manual/de/function.date.php#refsect1-function.date-parameters">Date formating</a>',
'captcha' => 'Captcha',
'enabled' => 'Aktiviert',
'onlyguests' => 'Nur für Gäste',
'disabled' => 'Deaktiviert',
'simple' => 'Einfach',
'moderate' => 'Mittel',
'extreme' => 'Extrem',
'nick' => 'Nickname:', 'nick' => 'Nickname:',
'pass' => 'Passwort:', 'pass' => 'Passwort:',
'globalloginpass' => 'Globales Passwort:', 'globalloginpass' => 'Globales Passwort:',
@ -76,8 +83,6 @@ $I=array(
'guestallow' => 'Erlauben', 'guestallow' => 'Erlauben',
'guestwait' => 'Mit Warteraum erlauben', 'guestwait' => 'Mit Warteraum erlauben',
'adminallow' => 'Moderator-Erlaubnis benötigen', 'adminallow' => 'Moderator-Erlaubnis benötigen',
'globalpass' => 'Mit globalem Passwort erlauben',
'memberglobalpass' => 'Nur Mitglieder mit globalem Passwort',
'guestdisallow' => 'Nur Mitglieder', 'guestdisallow' => 'Nur Mitglieder',
'addsuguest' => 'Anwerber hinzufügen', 'addsuguest' => 'Anwerber hinzufügen',
'register' => 'Registrieren', 'register' => 'Registrieren',
@ -146,7 +151,7 @@ $I=array(
'italic' => 'Kursiv', 'italic' => 'Kursiv',
'fontexample' => 'Beispiel für deine gewählte Schrift', 'fontexample' => 'Beispiel für deine gewählte Schrift',
'timestamps' => 'Zeitstempel anzeigen', 'timestamps' => 'Zeitstempel anzeigen',
'embed' => 'Bilder einbetten', 'embed' => 'Bilder einbetten (Benötigt Cookies)',
'incognito' => 'Inkognito Modus', 'incognito' => 'Inkognito Modus',
'pbsize' => 'Postboxgröße', 'pbsize' => 'Postboxgröße',
'nbsize' => 'Notizboxgröße', 'nbsize' => 'Notizboxgröße',

View File

@ -43,6 +43,13 @@ $I=array(
'initdbexist' => 'Database tables already exist! To continue, you have to delete these tables manually first.', 'initdbexist' => 'Database tables already exist! To continue, you have to delete these tables manually first.',
'initsuexist' => 'A Superadmin already exists!', 'initsuexist' => 'A Superadmin already exists!',
'initgosetup' => 'Go to the Setup-Page', 'initgosetup' => 'Go to the Setup-Page',
'captcha' => 'Captcha',
'enabled' => 'Enabled',
'onlyguests' => 'Only for guests',
'disabled' => 'Disabled',
'simple' => 'Simple',
'moderate' => 'Moderate',
'extreme' => 'Extreme',
'nick' => 'Nickname:', 'nick' => 'Nickname:',
'pass' => 'Password:', 'pass' => 'Password:',
'globalloginpass' => 'Global Password:', 'globalloginpass' => 'Global Password:',
@ -77,8 +84,6 @@ $I=array(
'guestallow' => 'Allow', 'guestallow' => 'Allow',
'guestwait' => 'Allow with waitingroom', 'guestwait' => 'Allow with waitingroom',
'adminallow' => 'Require moderator approval', 'adminallow' => 'Require moderator approval',
'globalpass' => 'Allow with global password',
'memberglobalpass' => 'Only members with global password',
'guestdisallow' => 'Only members', 'guestdisallow' => 'Only members',
'addsuguest' => 'Add applicant', 'addsuguest' => 'Add applicant',
'register' => 'Register', 'register' => 'Register',
@ -147,7 +152,7 @@ $I=array(
'italic' => 'Italic', 'italic' => 'Italic',
'fontexample' => 'Example for your chosen font', 'fontexample' => 'Example for your chosen font',
'timestamps' => 'Show Timestamps', 'timestamps' => 'Show Timestamps',
'embed' => 'Embed images', 'embed' => 'Embed images (needs Cookies)',
'incognito' => 'Incognito mode', 'incognito' => 'Incognito mode',
'pbsize' => 'Post box size', 'pbsize' => 'Post box size',
'nbsize' => 'Notes box size', 'nbsize' => 'Notes box size',