• Resolved Ryan Bickett

    (@rbickett)


    I am creating a network of sites in WP 3.0 multi-site. I’d like the parent site to just show widgets that display the recent posts from each of the sites within the network. Can you recommend a good plugin for this or a recommended strategy for the setup?

    Thanks!

Viewing 15 replies - 31 through 45 (of 45 total)
  • @andrea_r

    I used the plugin, but couldn’t figure out a way to seperate the posts by blog, so that I can create seperate listings of latest posts. Did I miss something?

    how about this one?

    https://www.ads-software.com/extend/plugins/diamond-multisite-widgets/

    Dang I really need to release the one I use on https://atypicalife.net

    Hello Andrea,
    Well…. wordpress 3.1 is here. And feels beautiful I must say. There is only one thing missing…

    Dang I really need to release the one I use on https://atypicalife.net

    Any chance of you probably releasing the plugin? ??
    It would be great. Thank you in advance

    well, if you haven;t explored the other options like sitewide tags & diamon multisite widgets…. or any of the legacy code like ah-recent-posts, which is what we built it off of…

    you’ll still have to wait. this is near the bottom of our list, unfortunately, and we hav eto work for a living. ??

    someone else took a copy and will be releasing their version in the repo.

    I did explore the other options. I found sitewide tags a bit confusing (for my students-they tend to forget) and diamond multisite widgets not “elegant” enough if I may say so. ??
    I do understand the “work for a living” part. Thank you for your time.

    Anyway. I will have to wait or you could probably tell us more about what/where to look for “someone else took a copy and will be releasing their version in the repo.”
    Thanx again

    Thread Starter Ryan Bickett

    (@rbickett)

    I’ll put a vote in for Andrea’s solution too. ??

    I found sitewide tags a bit confusing (for my students-they tend to forget)

    Um, but your students do not have to remember anything. they just POST and the plugin pulls the post to the main blog. you set it up once and forget it. If you set your theme on that blog to show excerpts instead of posts, it winds up looking almost exaclty like what I have.

    Our version is seriously nothing special – it’s just a recent posts loops based on old code available pretty much everywhere. We rearranged the display.

    the new version will be built off of Sitewide tags anyway.

    the other thing holding me back is answering support forum posts. ??

    Edit: aha! It’s been released. I didn’t get a notice as the plugin is not tagged.

    https://www.ads-software.com/extend/plugins/list-recent-sites/

    knock yourselves out, no I cannot help.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I put in a vote for thanking Andrea for sharing the code, for free, and taking the time out of her day to help y’all ??

    Thread Starter Ryan Bickett

    (@rbickett)

    I put in a vote for thanking Andrea for sharing the code, for free, and taking the time out of her day to help y’all ??

    I concur. Thanks Andrea!

    I put in a vote for thanking Andrea for sharing the code, for free, and taking the time out of her day to help y’all ??

    Same here. Thank you Andrea!!!!

    Funny how easy it can be to over look the simplest things. I found page two of this forum after I figured out how to use @godlike ‘s posted code which is what I’m about to share.

    I did look into both Sitewide, and List-recent-sites but not in great depth. Both plugins caused server errors. List-recent-sites more specifically caused me to not have access to only my plugins page in the dashboard immediately after installing the plugin. I’m going to look into these issues more as I’d like to use the plugin for future projects. For the time being, I found it easier to work with @godlike ‘s code.

    Original Code Posted by @godlike [Pastebin] [WP_Forum]

    Reference Site [kandar.info]

    How to Setup Code

    1. Simply paste the code as is into your functions.php file.

    How to Use Code [@Phoat, @-interested-parties]
    Very Basic Example

      Use the following in any custom-template.php, statichhome.php, or index.php where you want the list of multisite posts to appear:
    $latest_posts = wpmu_latest_post();
    
    foreach($latest_posts as $latest_post){
    
    echo '<p>' . $latest_post->post_title . '</p>';
    
    }

    Return:

    1. Post ID = $latest_post->ID
    2. GUID = $latest_post->post_url
    3. Post Title = $latest_post->post_title
    4. Post Date = $latest_post->post_date
    5. Post Time = $latest_post->post_time
    6. Post Content = $latest_post->post_content
    7. Comment Count = $latest_post->comment_count
    8. Author Blog Url = $latest_post->author_blog_url
    9. Author Url = $latest_post->author_url
    10. Author Email = $latest_post->author_email
    11. Author Name = $latest_post->author_name

    Other Notes:

    This is a farily configurable script. I was able to add the excerpt to the array and create an excerpt Return ( $latest_post->post_excerpt ) without any problems . Further, I was able to setup my custom admin page on the Mainsite to control the number of posts provided on the news feed. This script by default only retrieves and sorts the recent posts from the multisites. However, a few lines of code allowed me to add the mainsite as part of that post retrieval. Lastly, I was able to limit the script to only 5 specific multisites out of the 100+.

    This script, when styled correctly, can look identical to what a basic wordpress loop produces for individual sites (except it does it for all of your sites of course). I’d really like to see wordpress develop functions which can filter a wordpress loop (much like “if(in_category(‘cat-slug-name’))” ) and auto retrieve all posts from a multisite installation instead of needing a plugin. But, atleast in the meantime, this works very darn close.

    Lastly, this script does not call for the Categories nor Tags associated with the multisite posts. It also doesn’t call for any Featured Images. This actually looks to be a little more involved to setup with the current code.

    I did look into both Sitewide, and List-recent-sites but not in great depth. Both plugins caused server errors.

    If you could report those errors so the plugin authors can determine if those are bugs or not that’d be great.

    @andrea_r I suspect it’s simply an IIS7 server configuration issue on my part. I’ll let the authors know if I find out otherwise. Thanks!

    ah yeah that’s probably it. ?? (the author is sitting next to me ?? )

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I’m closing this topic since we’re at two pages and five+ people with different issues ??

    If you still have problems, please make your own topic and detail what’s wrong, what you’ve done, and link to anything you’ve tried.

Viewing 15 replies - 31 through 45 (of 45 total)
  • The topic ‘Aggregating Recent Posts to Parent Site in Multisite Install’ is closed to new replies.