WordPress.org

Ready to get started?Download WordPress

Forums

How to get the list of the network admins ? (7 posts)

  1. khayyam
    Member
    Posted 3 years ago #

    Hello everybody,

    I am running a wordpress with thousands of users, and so, thousands of pages of users in the superadmin panel.
    How can i find easily all the users who are network admins ? Can i sort the list of users according to their role (and how, if yes).
    Several users are network admins and I would like to provide them to see who are the other network admins.

    Anybody knows how to get succh a list or knows a plugin providing this feature ?

    Thanks for you help.

  2. raywaldo
    Member
    Posted 3 years ago #

    I don't know the answer but I have a similar issue. All of the new users are placed at the end of the list. Paging should START at the end and sort back to the front. All of the action is normally on new users.

    REQUEST: Sort & search options on both USERS & SITES in the SuperAdmin panel.

  3. raywaldo
    Member
    Posted 3 years ago #

    @Khayyam - What I do is to autojoin (plugin) all admins to my "Site Owners" group in BuddyPress. Then everyone is connected and can share/discuss issues. But if you do not have BP, then it would not work.

  4. raywaldo
    Member
    Posted 3 years ago #

    I just discovered that clicking on any heading WILL sort. And clicking a second time reverses the sort. Just what I wanted.
    My bad!

  5. khayyam
    Member
    Posted 3 years ago #

    Unfortunately I do not have buddypress.
    You are right, click on aheading will sort the user list according to the heading, but there is no "role" heading to click. I can only sort on id, user name, name, register date, email.

    If the feature does not exist in native nor in existing plugin, could anyone give me some good advices to code this plugin by myself (actions & filter to create) ?

  6. Guys, in 3.1 those menus have been revamped. I suggest you check out 3.1 RC 5.

  7. David Sader
    Member
    Posted 3 years ago #

    Here's a bit of code I use to show me a list of Super Admins on the Network Admin page:

    add_action( 'mu_rightnow_end', 'ds_show_super_admins', 0);
    function ds_show_super_admins() {
    $super_admins = get_super_admins();
    echo '<h2>Super Admins</h2>';
    echo '<ul>';
    foreach($super_admins as $super_admin) echo '<li>' . $super_admin . '</li>';
    echo '</ul>';
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.