Version 1.13
Switch from mysqli to PDO More optimizations Match case-insensitive @mention and also non-present members Added topic field Member password resetting by admins Note revisioning Added optional tiny JavaScript code to transfer less data with JavaScript enabled browsers
This commit is contained in:
@ -1,3 +1,12 @@
|
||||
Version 1.13 - Sep. 15, 2015
|
||||
Switch from mysqli to PDO
|
||||
More optimizations
|
||||
Match case-insensitive @mention and also non-present members
|
||||
Added topic field
|
||||
Member password resetting by admins
|
||||
Note revisioning
|
||||
Added optional tiny JavaScript code to transfer less data with JavaScript enabled browsers
|
||||
|
||||
Version 1.12.3 - Aug. 18, 2015
|
||||
Fix member registration
|
||||
|
||||
|
5
README
5
README
@ -29,7 +29,7 @@ It may even be the French word for "the" if you prefer. Translated from French t
|
||||
FEATURES:
|
||||
|
||||
Optimized for TOR
|
||||
No JavaScript
|
||||
No JavaScript needed
|
||||
Cookies supported, but not needed
|
||||
Captcha
|
||||
Multiple languages
|
||||
@ -54,6 +54,7 @@ And more
|
||||
INSTALLATION INSTRUCTIONS:
|
||||
|
||||
You'll need to have mysql, php and a web-server installed. For the captcha feature, you also need php5-gd.
|
||||
If you want to make the script even faster, install a memcached server and php5-memcached and change the configuaration to use memcached. This will lessen the database load.
|
||||
When you have everything installed, you'll have to create a database and a user for the chat in mysql.
|
||||
Then edit the configuration at the bottom of the script to reflect the appropriate database settings and to modify the chat settings the way you like them.
|
||||
Then copy the script to your web-server directory and call the script in your browser with a parameter like this:
|
||||
@ -65,7 +66,7 @@ Note: If you updated the script, please visit http://(server)/(script-name).php?
|
||||
TRANSLATING:
|
||||
|
||||
Copy lang_en.php and rename it to lang_YOUR_LANGCODE.php
|
||||
Then edit the file and translate the messages into your language.
|
||||
Then edit the file and translate the messages into your language and change $I to $T at the top.
|
||||
If you ever use a ' character, you have to escape it by using \' instead or the script will fail.
|
||||
When you are done, you have to edit the chat script, to include your translation. Simply add a line with
|
||||
'lang_code' =>'Language name',
|
||||
|
@ -13,7 +13,7 @@ Features:
|
||||
---------
|
||||
|
||||
* Optimized for TOR
|
||||
* No JavaScript
|
||||
* No JavaScript needed
|
||||
* Cookies supported, but not needed
|
||||
* Captcha
|
||||
* Multiple languages
|
||||
@ -39,6 +39,7 @@ Installation Instructions:
|
||||
--------------------------
|
||||
|
||||
You'll need to have mysql, php and a web-server installed. For the captcha feature, you also need php5-gd.
|
||||
If you want to make the script even faster, install a memcached server and php5-memcached and change the configuaration to use memcached. This will lessen the database load.
|
||||
When you have everything installed, you'll have to create a database and a user for the chat in mysql.
|
||||
Then edit the configuration at the bottom of the script to reflect the appropriate database settings and to modify the chat settings the way you like them.
|
||||
Then copy the script to your web-server directory and call the script in your browser with a parameter like this:
|
||||
@ -51,7 +52,7 @@ Translating:
|
||||
------------
|
||||
|
||||
Copy lang_en.php and rename it to lang_YOUR_LANGCODE.php
|
||||
Then edit the file and translate the messages into your language.
|
||||
Then edit the file and translate the messages into your language and change $I to $T at the top.
|
||||
If you ever use a ' character, you have to escape it by using \' instead or the script will fail.
|
||||
When you are done, you have to edit the chat script, to include your translation. Simply add a line with
|
||||
'lang_code' =>'Language name',
|
||||
|
35
lang_de.php
35
lang_de.php
@ -72,7 +72,7 @@ $T=array(
|
||||
'cleannick' => 'Folgender Nickname:',
|
||||
'clean' => 'Löschen',
|
||||
'kickchat' => '<b>Teilnehmer rausschmeißen</b> (%d Minuten)',
|
||||
'kickmsg' => 'Begründung:',
|
||||
'kickreason' => 'Begründung:',
|
||||
'kickpurge' => 'Nachrichten löschen',
|
||||
'kick' => 'Rausschmeißen',
|
||||
'logoutinact' => 'Inaktive Teilnehmer abmelden',
|
||||
@ -274,6 +274,37 @@ $T=array(
|
||||
'backup' => 'Sichern',
|
||||
'restore' => 'Wiederherstellen',
|
||||
'settings' => 'Einstellungen',
|
||||
'linkfilter' => 'Linkfilter'
|
||||
'linkfilter' => 'Linkfilter',
|
||||
'enablejs' => 'JavaScript für besseres Nachrichtenladen erlauben',
|
||||
'chatname' => 'Chatname',
|
||||
'destroy' => 'Chat zerstören',
|
||||
'destroyed' => 'Chat erfolgreich zerstört',
|
||||
'topic' => 'Thema: %s',
|
||||
'admtopic' => 'Thema',
|
||||
'passreset' => 'Passwort zurücksetzen',
|
||||
'cantresetpass' => 'Passwort kann nicht zurückgesetzt werden',
|
||||
'succpassreset' => 'Password erfolgreich zurückgesetzt',
|
||||
'entermsg' => '%s hat den Chat betreten.',
|
||||
'exitmsg' => '%s hat den Chat verlassen.',
|
||||
'memregmsg' => '%s ist jetzt ein registriertes Mitglied.',
|
||||
'suregmsg' => '%s ist jetzt ein registrierter Anwerber.',
|
||||
'kickmsg' => '%s wurde rausgeschmissen.',
|
||||
'multikickmsg' => '%s wurden rausgeschmissen.',
|
||||
'allkickmsg' => 'Alle Chatter wurden rausgeschmissen.',
|
||||
'cleanmsg' => '%s wurde geleert.',
|
||||
'sendallmsg' => '%s - ',
|
||||
'sendmemmsg' => '[M] %s - ',
|
||||
'sendmodmsg' => '[Moderatoren] %s - ',
|
||||
'sendadmmsg' => '[Admin] %s - ',
|
||||
'sendprvmsg' => '[%1$s an %2$s] - ',
|
||||
'msgsendall' => 'Nachricht an alle',
|
||||
'msgsendmem' => 'Nachricht nur an Mitglieder',
|
||||
'msgsendmod' => 'Nachricht nur an Moderatoren',
|
||||
'msgsendadm' => 'Nachricht nur an Admins',
|
||||
'msgsendprv' => 'Private Nachricht',
|
||||
'numnotes' => 'Anzahl an zu behaltenden Notizversionen',
|
||||
'revisions' => 'Revisionen:',
|
||||
'older' => 'Älter',
|
||||
'newer' => 'Neuer'
|
||||
);
|
||||
?>
|
||||
|
35
lang_en.php
35
lang_en.php
@ -73,7 +73,7 @@ $I=array(
|
||||
'cleannick' => 'Following nickname:',
|
||||
'clean' => 'Clean',
|
||||
'kickchat' => '<b>Kick Chatter</b> (%d minutes)',
|
||||
'kickmsg' => 'Kickmessage:',
|
||||
'kickreason' => 'Kickmessage:',
|
||||
'kickpurge' => 'Purge messages',
|
||||
'kick' => 'Kick',
|
||||
'logoutinact' => 'Logout inactive Chatter',
|
||||
@ -275,6 +275,37 @@ $I=array(
|
||||
'backup' => 'Backup',
|
||||
'restore' => 'Restore',
|
||||
'settings' => 'Settings',
|
||||
'linkfilter' => 'Linkfilter'
|
||||
'linkfilter' => 'Linkfilter',
|
||||
'enablejs' => 'Allow JavaScript for better message loading',
|
||||
'chatname' => 'Chat name',
|
||||
'destroy' => 'Destroy chat',
|
||||
'destroyed' => 'Successfully destroyed chat',
|
||||
'topic' => 'Topic: %s',
|
||||
'admtopic' => 'Topic',
|
||||
'passreset' => 'Reset password',
|
||||
'cantresetpass' => 'Can\'t reset password',
|
||||
'succpassreset' => 'Successfully reset password',
|
||||
'entermsg' => '%s entered the chat.',
|
||||
'exitmsg' => '%s left the chat.',
|
||||
'memregmsg' => '%s is now a registered member.',
|
||||
'suregmsg' => '%s is now a registered applicant.',
|
||||
'kickmsg' => '%s has been kicked.',
|
||||
'multikickmsg' => '%s have been kicked.',
|
||||
'allkickmsg' => 'All chatters have been kicked.',
|
||||
'cleanmsg' => '%s has been cleaned.',
|
||||
'sendallmsg' => '%s - ',
|
||||
'sendmemmsg' => '[M] %s - ',
|
||||
'sendmodmsg' => '[Staff] %s - ',
|
||||
'sendadmmsg' => '[Admin] %s - ',
|
||||
'sendprvmsg' => '[%1$s to %2$s] - ',
|
||||
'msgsendall' => 'Message to all',
|
||||
'msgsendmem' => 'Message to members only',
|
||||
'msgsendmod' => 'Message to staff only',
|
||||
'msgsendadm' => 'Message to admins only',
|
||||
'msgsendprv' => 'Private message',
|
||||
'numnotes' => 'Number of notes revisions to keep',
|
||||
'revisions' => 'Revisions:',
|
||||
'older' => 'Older',
|
||||
'newer' => 'Newer'
|
||||
);
|
||||
?>
|
||||
|
@ -73,7 +73,7 @@ $T=array(
|
||||
'cleannick' => 'По нику:',
|
||||
'clean' => 'Очистить',
|
||||
'kickchat' => '<b>Бан</b> (%d минут)',
|
||||
'kickmsg' => 'Сообщение забаненому',
|
||||
'kickreason' => 'Сообщение забаненому',
|
||||
'kickpurge' => 'Очистка сообщений',
|
||||
'kick' => 'Бан',
|
||||
'logoutinact' => 'Выход неактивного чата',
|
||||
|
Reference in New Issue
Block a user