The MU forums have moved to WordPress.org

ahp recent post (5 posts)

  1. amirk011
    Member
    Posted 14 years ago #

    My ahp recent post plugin doesn't bring new posts from all blogs, it brings posts only from 3 particular blogs. What's the issue? I'm using wordpress mu.

  2. amirk011
    Member
    Posted 14 years ago #

    any body there?

  3. SteveAtty
    Member
    Posted 14 years ago #

    Its Saturday, right after New Year, give people a chance.

    Are those blogs "public" - I think the ahp plugin only lists posts from those blogs listed as being public.

  4. andrea_r
    Moderator
    Posted 14 years ago #

    I'm going to start insisting people leave a URL to their site. There's no way we can say for absolute certain unless we check it. Sometimes it's way faster than asking 20 questions.

    But yes, checking the privacy level of the other blogs is the place to start.

  5. amirk011
    Member
    Posted 14 years ago #

    Alright, next time, I'll post the URL but the issue is wp forum is being regularly crawled by google. And if we search site in google by "site name", we can see forum threads in google search results. That's why I avoid posting URLs here. :) And yes, it shows only public blogs. how can I change the query if I want to show all the blogs here's the query: Should I change public = 0 in order to show all the blogs?

    $blogs = $wpdb->get_col("SELECT blog_id FROM $wpdb->blogs WHERE public = '1' AND archived = '0' AND mature = '0' AND spam = '0' AND deleted = '0' AND blog_id != '1' AND last_updated >= DATE_SUB(CURRENT_DATE(), INTERVAL $how_long DAY)ORDER BY last_updated DESC");

About this Topic

  • Started 14 years ago by amirk011
  • Latest reply from amirk011