Skip to:
Content
Pages
Categories
Search
Top
Bottom

Modifying the Query in Blog listings and adding a new dropdown list in the template.

  • @larceniii

    Member

    I would like to add a second dropdown next to the “Order By” dropdown on the blogs section.

    I can see the query in http://svn.buddypress.org/trunk/bp-blogs/bp-blogs-classes.php
    I can’t find a way to add in another criteria. I want to make another dropdown list of categories that I’ve tied into their blog meta.

    So for example, you could see a list of all blogs about “Dogs” or “Cats” from the dropdown, and it would update the listing via ajax like it does with the Order By Drop down.

    Does this make sense? I tried to extend the class and replace the function, but it has no effect and no errors. I placed the new extended class in my theme’s custom-functions.php (Where my other customizations are)

    Do I need to make a plugin to do this? Is this possible? I don’t want to alter core files!
    BuddyPress 1.5.6 + WordPress 3.4.1

Viewing 5 replies - 1 through 5 (of 5 total)
  • @larceniii

    Member

    Attention anyone please? I maybe new to the forums, but I’ve been a lurker for a long time. I would help more if I knew more about buddypress, but with the lack of community response It’s kind of a turn off.

    I’m not trying to be rude, but I’m a little perplexed by this community. Any suggestions for me at all?

    @larceniii

    Member

    Who could I contact about this issue?

    @larceniii

    Member

    1. Which version of WordPress are you running?
    3.4.1
    2. Did you install WordPress as a directory or subdomain install?
    subdomain
    3. If a directory install, is it in root or in a subdirectory?
    n/a
    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    n/a
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g.
    permalinks, creating a new post, commenting.
    Yes, and it still is
    6. Which version of BP are you running?
    1.6 beta
    7. Did you upgraded from a previous version of BP? If so, from which version?
    1.5 something
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    nope n/a no conflicts
    9. Are you using the standard BuddyPress themes or customized themes?
    Frisco BPChild theme
    10. Have you modified the core files in any way?
    Not yet
    11. Do you have any custom functions in bp-custom.php?
    nope
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    nope
    13. Please provide a list of any errors in your server’s log files.
    none
    14. Which company provides your hosting?
    Linode
    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Nginx, fpm-php ubuntu

    ? This was really just a bump, I don’t think any of that info matters. My question is more of a developers question.

    @rogercoathup

    Participant

    @jason — It’s something that could be built, but it’s a reasonable chunk of development work, which would need some thought and investigation.

    I doubt anyone on the forum has done anything like this wrt blogs (certainly in a manner where they can give a quick answer on the forum). We’ve done similar things with the members directory (adding multiple filters), but it was considerable pieces of code and expertise.

    In our case, we layered new functionality in / javascript etc., rather than trying to extend any existing function.

    @larceniii

    Member

    @Roger Coathup Thank you for your candid response. At least now I know there’s no way to add that functionality without just remaking something similar and new based off the old one.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Modifying the Query in Blog listings and adding a new dropdown list in the template.’ is closed to new replies.
Skip to toolbar