This mod gives you the possibility to create user accounts with an userstatus of your choice.
Unpack/upload the files to your phpATM folder (replace the existing files with my ones).
Note: the usermang.php searches for a file admin_register.$phpExt
and for a file massmail.$phpExt
, where $phpExt
is the PHP scripts file extension as set in the conf.php (should be php
by default). If you have renamed these files, then you have to update the usermang.php with these new names.
Open the include/conf.php with your favorite PHP editor (such as Notepad++) and add the following code to the bottom, just before the "?>"
// The optional logout file
$logoutpage = "logout.htm";
//
// config part for the register.php
//
// here you can allow some extra characters for usernames such as é è ç à @
// but keep in mind that usernames are also filenames! not every character can be used!
// e.g. $extra_character = 'éèçà@';
$extra_character = "àá";
// here you can set the lenght for usernames (default 12)
$username_lenght = "12";
// The optional register info file
$register_infopage = "register_info.htm";
Now change the variables to fit your needs.
$logoutpage
: here you can add the logout filename (have to be in the cfg folder) which can contain some logout related informations/code (default logout.htm
)
$extra_character
: here you can allow some extra characters for usernames such as é è ç à
$username_lenght
: here you can set the allowed lenght for usernames (default 12
)
$register_infopage
: here you can add the register info filename (have to be in the cfg folder) which can contain some registration related informations, pretty much like the download related informations from the info.htm (default register_info.htm
)
Upload the changed include/conf.php to your phpATM folder.
Login with your admin account.
Click on the "user managment
" symbol (should be the 2nd from the right).
Click on the "Create a new user account
" link, which is in the table with the sort options.
Fill out the form, then click "Register
".
See how the "user count" on the lower right side increase.
This script is Guestbook-ware. This means, if you use it, then please sign my guestbook!
Comments? Problems? Bugs? Or just some nice words? Contact me in the phpATM Forum or send me an email.