5) Create the user fall down menu in the Edit User menu, because i do not remember everyone who is registered, and the only way to select user is to type in his ID. So that FallDown menu with users will be great, and will be just the right thing I need. I understand that Edit Admins list is cool, but if we will put in a table all users it will be unlimited :) length for big sites.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
5) Create the user fall down menu in the Edit User menu, because i do not remember everyone who is registered, and the only way to select user is to type in his ID. So that FallDown menu with users will be great, and will be just the right thing I need. I understand that Edit Admins list is cool, but if we will put in a table all users it will be unlimited :) length for big sites.
In the unmodified admin.php3 go to the function named displayUsers() change this line:
echo "<b>".translate("Handle/UserID").": </b> <input type=text name=\"chng_uid\" size=10>\n";
to this code block:
echo "<b>".translate("Handle/UserID").": </b> <select name=\"chng_uid\">\n";
$sql = "select uname from users";
$result = mysql_query($sql);
while($row = mysql_fetch_object($result))
{
echo "<option value=\"".$row->uname."\">".$row->uname."</option>\n";
}
echo "</select>\n";
That will create a dropdown menu of all your users