Procedural File: user.php
Source Location: /public_html/admin/user.php
Page Details:
User administration: Manage users (create, delete, import) and their group membership.
Includes:
batchdelete [line 724]
This function allows the batch deletion of users that are inactive It shows the form that will filter user that will be deleted
Tags:
batchdeleteexec [line 912]
string batchdeleteexec(
)
|
|
This function deletes the users selected in the batchdeletelist function
Tags:
batchreminders [line 953]
This function used to send out reminders to users to access the site or account may be deleted
Tags:
deleteUser [line 1213]
string deleteUser(
int $uid)
|
|
Delete a user
Tags:
Parameters
| int |
$uid |
id of user to delete |
display_batchAddform [line 1164]
string display_batchAddform(
)
|
|
Display "batch add" (import) form
Tags:
edituser [line 79]
string edituser(
[int $uid = ''], [int $msg = ''])
|
|
Shows the user edit form
Tags:
Parameters
| int |
$uid |
User to edit |
| int |
$msg |
Error message to display |
importusers [line 1036]
This function allows the administrator to import batches of users TODO: This function should first display the users that are to be imported, together with the invalid users and the reason of invalidity. Each valid line should have a checkbox that allows selection of final to be imported users. After clicking an extra button, the actual import should take place. This will prevent problems in case the list formatting is incorrect.
Tags:
saveusers [line 461]
string saveusers(
int $uid, $username, string $fullname, $passwd, $passwd_conf, string $email, string $regdate, string $homepage, array $groups, [string $delete_photo = ''], [ $userstatus = 3], [ $oldstatus = 3], string $usernmae)
|
|
Saves user to the database
Tags:
Parameters
| int |
$uid |
user id |
| string |
$usernmae |
(short) username |
| string |
$fullname |
user's full name |
| string |
$email |
user's email address |
| string |
$regdate |
date the user registered with the site |
| string |
$homepage |
user's homepage URL |
| array |
$groups |
groups the user belongs to |
| string |
$delete_photo |
delete user's photo if == 'on' |
| |
$username |
|
| |
$passwd |
|
| |
$passwd_conf |
|
| |
$userstatus |
|
| |
$oldstatus |
|
|
|