WordPress.org

Ready to get started?Download WordPress

Forums

Simple User Listing
[resolved] User List in Multisite? (5 posts)

  1. bffnb
    Member
    Posted 8 months ago #

    Hi!

    I deactivated the plugin in my mainpage and activated it network/multisite wide... But the shortcode dont show up the users from the hole network in a subsite like "subdomain.mydomain.com". It works fine on the mainpage because the users registration goes through the mainpage and the users also shows up in the users list of the mainpage. But how can i show the users of the hole network? - yes, all the users reigstered on the mainpage are listed in the networks user list...

    Any idea?

    best

    http://wordpress.org/plugins/simple-user-listing/

  2. helgatheviking
    Member
    Plugin Author

    Posted 8 months ago #

    The WP_User_Query class doesn't support querying users from the entire network, hence my plugin does not do it.

    You can chose users from a specific blog with the blog_id parameter. ( from the main site for example [userlist blog_id="1"] ). Without this parameter, WP_User_Query automatically defaults to the current blog id.

    So your best bet might be to automatically add all users to the main site with something like the following:
    http://wordpress.org/plugins/multisite-user-management/

  3. bffnb
    Member
    Posted 8 months ago #

    Hi Helga!

    The Blog id setting does not work on my Multisite :(
    I dont will use the other plugin... I think i will look for another solution.

    Thank you

    best

  4. helgatheviking
    Member
    Plugin Author

    Posted 8 months ago #

    The blog_id parameter works fine for me. I just tested it on WordPress 3.8 with SUL 1.5.1. I tested it on both the main site and a sub site.

    Keep in mind, that I already said that the blog_id alone will not allow SUL to show all the users in the network. Blog_id will only show the users assigned to that specific site in the network.

    There is no way to use WP_User_Query to show all the users in the network.

  5. bffnb
    Member
    Posted 8 months ago #

    Hi

    Ok, thx...

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.