Tagged: buddypress featured members, members loop
Hello great team 🙂
I am using your great plugin BuddyPress Featured Members and in my members loop i am passing scope=featured to bp_has_members().
<?php if ( bp_has_members(bp_ajax_querystring( 'members').'&scope=featured') ) : ?>
How can i short the featured members by the newest registered first? I tried something like this
<?php if ( bp_has_members(bp_ajax_querystring( 'members').'&scope=featured&type=newest') ) : ?>
but didn’t seem to work.
Any help would be appreciated.
Kind Regards,
LefterisHi Lefteris,
This is happening due to our oversight. we have overwritten the scope to alphabetical to make sure all the users appear even if the don’t have a last active time set.I will have an update by tomorrow on a way to fix this.
Regards
BrajeshHi Lefteris,
Thank you for the patience.1. Please upgrade to 1.1.3
2. In your code, Please add one more parameter enable_type=1
e.g<?php if ( bp_has_members(bp_ajax_querystring( 'members').'&scope=featured&type=newest&enable_type=1') ) : ?>
Please let me know if that works or not?
Regards
BrajeshHello Brajesh,
Thank you for your response. It had worked perfectly.
I would like to ask you another issue that i am facing.I would like to create a tab (nav_item) in every users profile that can display the custom post type of some events that are assigned to the user.
Your plugin https://buddydev.com/plugins/buddyblog/ can do that just fine, but i don’t need all this extra code for creating,editing,deleting posts. Only the display part. Is there a way i could use specific part of your code for this?old conversation here https://buddypress.org/support/topic/resolved-show-posts-written-by-user-on-profile/
I would also need to manipulate the code a bit so that the tab is being created only for specific user roles (for example only for Editors).
Forgive me if i am creating a new topic inside another topic. I can create a new topic if needed.
Kind Regards,
LefterisHi Lefteris,
Thank you for confirming the fix.Please open a new topic for the posts list question.
Regards
BrajeshHi,
I don’t think that it will work with the shortcode.
We will need to update the shortcode if we want to utilize this.Regards
BrajeshThank you.
I will push the update sometimes this week.Regards
Brajesh
You must be logged in to reply to this topic.