Skip to:
Content
Pages
Categories
Search
Top
Bottom

No filters to BP Blog Class?


  • PhoenixML
    Member

    @phoenixml

    I saw that I could alter the User loop by filtering the query, (example: if I want to have only members starting with the letter A by adding more restriction the WHERE clause).

    But unfortunately, I couldn’t do the same thing with the Blog loop. It should at least be an option, instead of editing the core codes (which should never be a solution)

    Is it something coming to the next version?

Viewing 2 replies - 1 through 2 (of 2 total)

  • r-a-y
    Keymaster

    @r-a-y

    You can filter the blogs using “bp_blogs_get_blogs” located in bp-blogs.php.
    You’d then have to write your own blog fetch routine (yeah I know a pain!).

    If you’re not happy with this, post an enhancement ticket on BP Trac:
    https://trac.buddypress.org/newticket

    Login with the same credentials you use here on bp.org.


    PhoenixML
    Member

    @phoenixml

    I already did the whole blog fetch routine and I was looking for somewhere to put it. Thanks for the reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No filters to BP Blog Class?’ is closed to new replies.
Skip to toolbar