Opened 16 years ago
Closed 15 years ago
#559 closed enhancement (worksforme)
Add max results to get_random_members()
Reported by: | fishbowl81 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | trivial | |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
I'm using the groups class, and wanted to return more then 5 random group members. Can we add an maxresults to the function structure.
I would like to be able to call:
$members = $group->get_random_members(10);
Line 199: function get_random_members() {
of bp-groups-classes.php
The internals of the function would require some additional rewriting, but would add needed flexibility for the bp_groups_group class.
Thanks,
Brad
Change History (2)
Note: See
TracTickets for help on using
tickets.
Milestone Groups 1.1 deleted