Find Answers and Get Support › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Feature Requests › Random Members Swap
Tagged: Implemented
- This topic has 6 replies, 5 voices, and was last updated 3 years, 10 months ago by
Themosaurusrex.
-
AuthorPosts
-
December 10, 2019 at 12:09 #8818@themosaurusrex
- 0 Topics
- 2048 Posts
Hi @billdjango,
Thank you for your great feedback.
It would be indeed very nice to let users browse through random members or to be able to set the sorting order via a theme option.So, we will implement this feature if other community members upvote this request. Others have requested improvements of our Member Swap page. This request could be included in our task list if it becomes popular.
We’ll keep you informed. Thank you very much for contributing to Gwangi!
Cheers,
December 11, 2019 at 08:15 #8829Gilles DeronParticipant@gillesderon- 31 Topics
- 97 Posts
Seems very interesting.
I vote for this feature 🙂
Cheers
February 26, 2020 at 13:08 #10288DominikParticipant@dominik- 21 Topics
- 54 Posts
Yes i really need that function too.
But only for members swap.
If anybody needs a random order at the members directory then use this code an put it to your bp-custom.php file:
add_filter (‘bp_user_query_uid_clauses’, ‘random_order’, 10, 2);
function random_order ($sql, $object)
{
$request = bps_get_request (‘search’);if (count ($request) > 1)
$sql[‘orderby’] = ‘ORDER BY rand()’;return $sql;
}(found at dontdream.it – creator of BP Profile Search )
May 22, 2020 at 14:38 #12976@themosaurusrex- 0 Topics
- 2048 Posts
Hi @dominik,
Thank you for supporting this request! Thank you also for sharing this bit of code with the rest of us! That very kind of yours! #SharingIsCaring
We’re working on refactoring and improving the Member Swap pages. No release date can be disclosed yet as we’re currently facing a shortage on staff with current COVID-19 sanitary lockdown and running late with development tasks.
You can rest assured that this will be back on track as soon as we’re fully operational again!
We’ll keep you updated.
Best,
May 22, 2020 at 16:52 #12999@themosaurusrex- 0 Topics
- 2048 Posts
Hi guys!
We have released an update of Member Swipe for BuddyPress recently that includes this feature. Since then, you can create members directories to swipe and order in various ways, including random. Installing (or updating) this plugin to the latest version should bring this feature to your site.
Thank you for contributing to our theme!
Kindest regards,
April 1, 2021 at 14:45 #30274 -
AuthorPosts
The topic ‘Random Members Swap’ is closed to new replies.