Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

[Solved] BuddyPress Tab Order

3 Posts
2 Users
0 Reactions
2,000 Views
Posts: 2
Topic starter
(@magicmandi)
New Member
Joined: 7 years ago

Hey guys,

 

first of all thanks for the great plugin. I am already planing to buy the mycred extension 🙂
But before that, i need your help 😉

When i use the BuddyPress Forum Tab i see the links with the last topics, replies and subs. Great! When i click on one of them it shows all topics, replies and so on - thats great too - but i rly dont like the order. The newest topics and... are on the last page - is there a way to order them the other way?

I didnt find any order in the buddypress.php file 🙁

 

Thx in advance

Cheers Manuel


2 Replies
Robert
Posts: 10600
Admin
(@robert)
Support Team
Joined: 10 years ago

Try adding one more attribute in get_posts() function. Open this file:

/wpforo/wpf-includes/integration/buddypress.php

Find the first matched row:

'userid' => bp_displayed_user_id(),

Add one more row below:

'userid' => bp_displayed_user_id(),
'orderby' => 'modified',

 

For the second match, please add one more row below:

'userid' => bp_displayed_user_id(),
'orderby' => '`created` DESC',

Posts: 2
Topic starter
(@magicmandi)
New Member
Joined: 7 years ago

Hey Robert,

thank you so much for your very fast reply! It works like a charm!

Cheers Manuel