amr users
[resolved] Do not list admin (3 posts)

  1. adammontague
    Posted 4 years ago #

    I'm getting on really well with the plugin and I think it's great, however I'm stuck on this...

    How do I remove/hide the site admin in the list of users?


  2. adammontague
    Posted 4 years ago #

    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

  3. anmari
    Plugin Author

    Posted 4 years ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • amr users
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic