Replies
- Brajesh Singh on May 27, 2016 at 8:59 pm in reply to: [Resolved] BP Profile Visibility Manager – Group join requests not showing up #4008
Hi Bjoern,
It is happening. There are two possible solutions:-1. disallow users whose privacy is not public/logged in to use any such button
2. Or override the visibility on the group requests page to make it visible.I am more interested in first approach. What do you suggest?
- Brajesh Singh on May 26, 2016 at 4:08 pm in reply to: [Resolved] Profile Visibility Manager Hide Friends List does not cover friends widget #3999
Hi Bjoern,
I am sorry for the delayed reply. We will have an update by early morning tomorrow(PST). I am trying to do it and a few more things(related to your other topic).Thank you
Brajesh Hi,
Just to be clear, for member type the key is important(the unique key that you set while creating). To assign a user to a member type we need to know that unique key for the current site.Hi MM,
I am sorry but I don’t understand it.Can you please tell me what do you mean by this
The links has the user name in it.
example: domain.com/members/USERNAME/activity
I was hoping i could get the whole profile menu + buddypress menu copy it in a widget or something.Those are all BuddyPress Profile Links for the current logged in user.
Or do you mean that you need to have the sub nav too?Hi Allison,
Welcome to BuddyDev.
Do you have any way to know which member type a user should be assigned at the time of registration. If yes, Then It can be easily done.Please let me know and I will post the code.
Thank you
BrajeshHi Keith,
Can you please let me know if it worked or not?Thank you
Brajesh- Brajesh Singh on May 25, 2016 at 12:33 pm in reply to: Sitewide Gallery browsing layout is broken on mobile #3984
Hi Tyler,
My apologies for the inconvenience. We have yet to find the issue or reproduce it. Can you please help me in understanding which browser caused it? That will help us to fix it in the future updates.Thank you
Brajesh - Brajesh Singh on May 25, 2016 at 12:31 pm in reply to: [Resolved] BP Activity Autoload in BP Activity Shortcode #3983
Hi Israel,
Welcome back 🙂1. Yes, It is doable but we will need to update activity auto loader for that. I will update you tonight about it.
Thank you. I am glad you liked the logo 🙂
Hi MM,
Welcome to Buddydev. There are multiple ways to do it.Let us go with the easy ones.
1. You can use this function bp_get_loggedin_user_nav(). Please be warned that it has been marked as deprecated but it is not going anywhere soon.
2. Or, you can create a custom menu in the Dashboard->Menus and use links from BuddyPress link group(If not visible, see the screen options to enable it) and then add that menu to the sidebar.
Hope that helps.
Thank you
BrajeshHi Saran,
Welcome back.
Yes, It is doable and here is an example. Please make sure to change the profile group ID in the code.//step 1: Add a new Tab function buddydev_setup_new_xprofile_tab() { $slug = bp_get_profile_slug(); bp_core_new_subnav_item( array( 'name' => 'About',//label 'slug' => 'about',//slug 'parent_slug' => $slug, 'position' => 12, 'parent_url' => trailingslashit( bp_loggedin_user_domain() . $slug ) , 'screen_function' => 'buddydev_screen_profile_data' )); } add_action( 'bp_setup_nav', 'buddydev_setup_new_xprofile_tab' ); //Step 2: Load the plugins template file function buddydev_screen_profile_data() { //filter loop add_filter( 'bp_after_has_profile_parse_args', 'buddydev_filter_args_for_profile_group' ); //load loop add_action( 'bp_template_content', 'buddydev_show_profile_group_data'); bp_core_load_template( 'members/single/plugins'); } function buddydev_filter_args_for_profile_group( $args ) { ///CHANGE IT $args['profile_group_id'] = 2; //Your Profile Group ID Here return $args; } //Load the loop function buddydev_show_profile_group_data() { bp_get_template_part( 'members/single/profile/profile-loop' ); }Please do let me know how it goes with you.
Thank you
Brajesh