Opened 14 years ago
Closed 7 years ago
#3276 closed enhancement (maybelater)
More ways of sorting activities
Reported by: | framp | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.2 |
Component: | Activity | Keywords: | trac-tidy-2018 |
Cc: |
Description
I’ve modified a couple of buddypress files trying to implement a sorting capability into buddypress.
Now I’m able to modify the way in which activities get sorted by setting 2 cookies using javascript on the client.
$_COOKIE[ ' order ' ] =
- date_recorded (default, will order the activities by time),
- favourites (will order the activities by number of favourites),
- comments (will order the activities by number of comments)
$_COOKIE[ ' sort ' ] = ASC, DESC
Unfortunately I’m not really experienced with the buddypress codebase and those features may be obtained through better ways.
By the way, I would like to know if you’re interested in implementing the few lines I’ve modified, in your software.
Patch attached (on the latest stable, 1.2.8) ;)
Best regards,
Federico Rampazzo
Attachments (1)
Change History (5)
#1
@
13 years ago
- Component changed from Core to Activity
- Keywords sorting activities removed
- Milestone changed from Awaiting Review to Future Release
- Summary changed from Sorting your activities to More ways of sorting activities
- Version changed from 1.2.8 to 1.2
#2
@
11 years ago
- Severity set to normal
See also #5508, which requests a filter that will allow for custom sorting.
#3
@
7 years ago
- Keywords trac-tidy-2018 added
We're closing this ticket because it has not received any contribution or comments for at least two years. We have decided that it is better to close tickets that are good ideas, which have not gotten (or are unlikely to get) contributions, rather than keep things open indefinitely. This will help us share a more realistic roadmap for BuddyPress with you.
Everyone very much appreciates the time and effort that you spent sharing your idea with us. On behalf of the entire BuddyPress team, thank you.
If you feel strongly that this enhancement should still be added to BuddyPress, and you are able to contribute effort towards it, we encourage you to re-open the ticket, or start a discussion about it in our Slack channel. Please consider that time has proven that good ideas without contributions do not get built.
For more information, see https://bpdevel.wordpress.com/2018/01/21/our-awaiting-contributions-milestone-contains/
or find us on Slack, in the #buddypress channel: https://make.wordpress.org/chat/
We might want to consider more filter/ordering choices for (the default theme) in future releases of BuddyPress, but the implementation will probably be different.