Support » Plugin: amr users » [Plugin: amr users] Do not list admin

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter adammontague

    (@adammontague)

    Never mind, I figured it out on my own.

    Changed line 836 in ameta-list.php to:

    $html .= AMR_NL.'<tr class="row" id="user'.$id.'">'.$linehtml.'</tr>';

    and then just hid the ID’s I wanted to in the CSS

    tr#user3{
    display:none;
    }
    Plugin Author anmari

    (@anmari)

    Hi adam,

    Nooo – don’t change code – that will take you out of the upgrade path.

    Look at the settings for each user list – under ‘configure the list’.

    For each field, there is an ‘exclude’ column where one can enter a value by which to exclude records.

    If your chosen displayed fields do not allow you to isolate the admin users, you can temporarily assign a column number to a field (eg: ‘id’
    save (so it can now be configured) – then exclude the user id you wnat to exclude. then remove the column number – exclusion will still work even if the field is not displayed.

    equally you could exclude by role, or username etc…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: amr users] Do not list admin’ is closed to new replies.