Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BP Forums – Forum Index instead of Latest Discussion??


snark
Participant

@snark

Ok, I was wrong above. @kriskl is talking about the Forums index page, while my other post — https://buddypress.org/forums/topic/changing-group-tab-display-defaults — is about changing the default tab view within the Groups pages.

But this is an interesting problem also. I looked at your pointers above, @r-a-y , but I couldn’t figure it out. The Standard Loop page you linked to shows the code for

bp_has_groups()

but then below that it has the “accepted parameters” for

bp_has_site_groups()

a function which I couldn’t find anywhere in BP. Likewise the “most-forum-topics” & “most-forum-posts” arguments for the “type” parameter of that function.

Here’s what I think it would be cool do do, but I’m not sure how to do it:

Currently, logged-in users see two navigation tabs for displaying forum Topics on the “Group Forums Directory” page accessed by clicking “Forums” in the general navigation (default display tab in bold):

[All Topics (25] [My Topics (12)]

How to implement the addition of a new default tab that lists all of the Group Forums, with the same filtering options? then the Forums page sub-nav tabs would look like this:

[All Forums (11)] [All Topics (25] [My Topics (12)]

Skip to toolbar