The MU forums have moved to WordPress.org

User Sitewide Post List (11 posts)

  1. redsoxmaniac
    Member
    Posted 14 years ago #

    Is it possible to create a list of all post from one user from all the blogs sitewide?

    I am making a website that people might post to 2 or 3 different blogs, and was wondering if it is possible that there is a list of all their posts sitewide, and not just just edit post list on the single blogs.

    Is there a MU tag or function that I could do and show it on a page?
    I was thinking of making a tag every time they posted based on their username and then using placing the sitewide tag feed on another page that is private only to them. That is pretty much all I have.

  2. DeannaS
    Member
    Posted 14 years ago #

    If you use the sitewide tags plugin, it'd be a pretty simple query to get all the posts by a single author.

    You could also probably use this code on the tags blog itself:

    http://codex.wordpress.org/Template_Tags/the_author_posts_link

  3. redsoxmaniac
    Member
    Posted 14 years ago #

    For the sitewide tags, is there a query to retrieve all the post by an author from all blogs? I didn't know the author name was itself an actual "tag" perse. Or, is it that I would have to use the template tag function alongside the sitewide tags plugin?

    I will check it out. Thanks a lot Deanna.

  4. andrea_r
    Moderator
    Posted 14 years ago #

    If all the posts are going to the tags blog, and one author has posts over multiple blogs, then the theme on that blog, if it has the template tag that Deanna mentioned, it should bring up the results across all blogs.

  5. jmunn
    Member
    Posted 14 years ago #

    Hmm.. wondering if there would be a solution that would work a little better for my site. I'm using a multi site plugin along with the site wide tags so I aggregate all user posts per site. I'm using subdomains to create each new site, they are primarily just a navigation component. So I can't as of yet aggregate an author's posts across the whole domain.

    Any thoughts if this possible or how it might be done? I imagine this would be quite complicated.

  6. andrea_r
    Moderator
    Posted 14 years ago #

    When you're on the tags blog, does the template there have an author tag?

  7. jmunn
    Member
    Posted 14 years ago #

    Sorry Andrea. I can't quite find if that is the tag P2 uses. Here is the main blog which is the tags blog and it does seem to have the behavior the_author_posts_link tag creates.
    My guess is "yes, it does have a template tag". ??

  8. andrea_r
    Moderator
    Posted 14 years ago #

    http://sfbay.umhai.com/?author=44

    Are those updates from different blogs across the system? A quick check of your author tag & I do see your updates from multiple blogs, all on that one page.

    http://sfbay.umhai.com/?author=35

  9. jmunn
    Member
    Posted 14 years ago #

    Man.. these things are hard to explain. :P
    You are right. They are updates from different blogs across the site but not across the system. That author link http://sfbay.umhai.com/?author=35 only shows updates from the sfbay site not my updates from say... the NYC subdomain site and posts from brooklyn blog. http://nyc.umhai.com/brooklyn/

    The per site aggregation is awesome and works fine, but since multi site setups use the same users I was wondering if I could show a users posts from across all sites and blogs.

    Thanks.

  10. andrea_r
    Moderator
    Posted 14 years ago #

    They should...

    Oh wait. You're running multiple Sites? With the multi-site plugin. Yeah, by default, sitewide tags will pull across one site.

    (yes, it can be edited to pull across the entire system.... uh, I forgot how we did it, I gave that job to Ron ;P )

  11. jmunn
    Member
    Posted 14 years ago #

    Oh good. Well at least I know it can be done which is cool. I'm not dying to implement it but may change my mind in a couple months. Thanks for the help.

About this Topic

  • Started 14 years ago by redsoxmaniac
  • Latest reply from jmunn