WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Display Authors Across Multisite (4 posts)

  1. bdflynn
    Member
    Posted 2 years ago #

    So here's my issue.

    The organization I'm working for is made up of one central membership and over a dozen satellite memberships. I'm running multisite to give each satellite membership control over their site. The central membership has the "main" site that controls the main menu and admins everything. The satellite organizations get to control what's left of each of their sites.

    Each member is listed as an author for their specific site. On one of the Pages for the central membership's site I want to display all of the authors across the multisite, preferably listed by the website they're working on site.

    Is this even possible?

    Worst case scenario, I can mark up a page and do all of the work manually, but the organization has annual elections and about an 80% turnover, so adding the authors and having the site do it automatically is clearly much more efficient.

    Any thoughts?

  2. BuddyPress does it by adding all the users to the BP site.

    * http://wordpress.org/extend/plugins/multisite-user-management/

    That'll add everyone to the main site.

    Then you'd want to use http://codex.wordpress.org/Function_Reference/get_blogs_of_user or something to pull the sites.

  3. bdflynn
    Member
    Posted 2 years ago #

    Thanks I'll give this a shot. :)

  4. bdflynn
    Member
    Posted 2 years ago #

    So what I did was install the user management plugin and set everybody on the network as a subscriber to every other blog. This also helped solve my "Members Only" area issue.

    Back to the Member's page though. I can get all of the members across the network to display on a page and before I started to organize them by site, I realized that they will also have to be in a specific order when they're listed by each site.

    So my solution, and hopefully this is possible, was to add two custom meta fields to their profile page (http://justintadlock.com/archives/2009/09/10/adding-and-using-custom-user-profile-fields) . Field 1 Tells me the blog they work on and Field 2 Tells me their position. Is it possible to grab an author's profile by these two fields and list it that way instead?

    Thanks again for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic