Hello,
at present, only an Administrator can reset the login counter or concurrent session counter. Is it possible to give just these specific rights to someone with another UserLevel, without that person having full admin rights?
if solution 1 is not possible, how can I edit myself the 'memo' field where those counters are registered? I am thinking of a Row_CustomAction that would edit the 'memo' field correctly. I can reset those counters by simply deleting the field content, but I'd prefer to know how to correctly edit it so that the other information is not lost, something like the following:
function Row_CustomAction($action, $row) {
if ($action == "reset_login_counter")
{
ew_Execute("UPDATE staff SET memo
= '' WHERE id = ".$row['id']); // memo deleted... but how to just MODIFY it correctly?
}
}
A correct 2. answer I'd even prefer, as I could put that Row_CustomAction also in another table, not only the user table.
Thank you for your help!
Nyukuri