Welcome to Pfc-Chat Login System version 1.2
disclaimer:
This script is as is, without warranty of any kind, nor PHPFREECHAT or me are liable for anything.
This is given free to use with PHPFREECHAT only..
This is script its made for phpfreechat and can only be used with it,
With this login script you will have a full lock down on who enters the
chat and to protect admins and users names and to allow or disallow guest
users, it use Mysql database to record usernames, passwords and email.
Some of the features are:
1.- Registration of username and disallow any guest to use that registered username.
2.- Administration page.
3.- Minimum password length.
4.- Minimum username characters length.
5.- Restrict the use of the same email that was used to register.
6.- Setup of some of the most important phpfreechat Parameters in ./login/settings.php.
7.- Automated Installation of mysql database, just need to create a DATABASE and run the ./login /install.php..
8.- Guest login to the chat.
9.- Disable Guest login.
10.-Encrypt user password with sha1 hash, used salt to protect against rainbow tables.
11.-In the administration page you have the ability to make users admin, moderator
delete the user, change the nickname, change the email.
12.-Recovery page, where your users can request a temporal password and change the password they have forgotten.
13.-Allow to use same email multiple times, this behavior is disable by default , you can turn it on in settings.php
14.- Multilingual enabled, with two languages created, you will find it inside the folder "/login/language" use English to translate,
language can be changed in settings.php , change from en_US to es_ES and so forth.
15.- Proxy detector, it could give you false positive but its worth a try, is disabled by default you can turn it on on "/settings.php"
Requirements:
1.- A webserver, PHP , Mysql, and a mail server installed.
2.- Minimun mysql user privileges are: SELECT, CREATE, INSERT, UPDATE, DELETE, FILE.
3.- The PHP version tested with is PHP 5.3.1 but possible could work PHP > 4.3.0.
4.- Register globals must be off, or functions.php will be disabled..
5.- Very important rehash the chat as admin, the command is "/rehash", without it
some new settings will not take effect..
Installation:
1.- Download the PfcChatLoginSystemv1.2.rar.
2.- Unrar it and then upload "login" folder to your chat root folder.
3.- Create a database, example : phpfreechat_login then open up with your text editor of choice ./login/settings.php (notepad++ is recommended) and edit $DataBaseName with the name of the database you created like so $DataBaseName="phpfreechat_login";.
4.- Change the others mysql setting for use of the login script.
5.- When you done editing settings.php, upload it back to the server then run http://yoursite.com/chat/login/install.php.
6.- If everything went good and you get something, like now you can register! then just do that, if not check to make sure the username of the mysql account has enough right, or check the name of the database name..
7 .-After the database is installed, a link will be given to you that will get you to registration page.
please register for the first time, (important) the first user registering will be given the admin account so make sure after you run the installation to click on the link and register the nick you want to use.
8 .-Rename index.phpfreechat to index.php and overwrite the default index.php of phpfreechat in /chat folder.
very important for security reasons, there are some test for the chat to works as intended with the script.
9 .-If login info its correct you will be sent to the chat room, and will give you the admin flag.
10.-When in the chat, as admin to access the admin page you need to click your nick and a link to the admin page will be shown, click the link and will take you to the admin page..
11.-By default only the admin of the chat has access to the admin page, moderators aren't able to enter this admin page, but because phpfreechat has no moderation level there is not way to distinguish between moderator and admin, the link to the admin page will be shown in the nicklist.. but moderator is not able to access even if the link is shown for them, the moderator level in the script is given so you can make a moderator to moderate the chat only.
12.-The recovery page is where your users will use to recover their lost password, it is needed to have a mail server of some sort, the script uses php, mail() function to send email to the users.
13.-All the login system text and settings are located in settings.php, please check that page and change anything you would like to be different in the whole script..
The installation is completed..
Thank you for using this script, as humble request is to have a backlink to my website http://vcomputadoras.com
Neumann Valle , AKA UTAN, re*s.t.a.r.s.*2
Thanks to Oldwolf for your help at the forum and Kerphy for creating this great chat script.
Download Pfc-Chat Login System v1.2
hash of file = 921cd5fe95cdc5b4752884630b113538
So here are some pics for you to see:
Login Page
![Image](http://ceibitalabella.net/pfc-login/pfc-loginpics/pfc-login_loginpage.jpg)
Registration Page
![Image](http://ceibitalabella.net/pfc-login/pfc-loginpics/pfc-login_registerpage.jpg)
Recovery password page
![Image](http://ceibitalabella.net/pfc-login/pfc-loginpics/pfc-login_recoverypage.jpg)
Admin Page
![Image](http://ceibitalabella.net/pfc-login/pfc-loginpics/pfc-login_adminpage.jpg)
![Image](http://ceibitalabella.net/pfc-login/pfc-loginpics/pfc-login_adminpage2.jpg)
working demo : http://ceibitalabella.net/pfc-login
best Wishes to all