Replies
- Brajesh Singh on June 11, 2020 at 5:20 pm in reply to: Member Types Pro – Displaying based on type #30730
Hi Granmeh,
Thank you for the patience.You may use following code in bp-custom.php to achieve that
https://gist.github.com/sbrajesh/f7350e1687505bd10f94e6233a70ead2
It assumes the users have member type ‘male’, ‘female’. Please feel free to update as needed.
Regards
Brajesh Hi Nik,
You can do it without new field type but I will recommend new field type. With new field type, you will have control over option key and labels(can have different value and labels in the dropdown), With an existing field like select box, we do not get that.Regards
Brajesh- Brajesh Singh on June 11, 2020 at 5:13 pm in reply to: [Resolved] Make Affiliate WP Appear Within Buddy Boss Frame #30728
Hi Mikel,
That is exactly what Profile tabs pro is supposed to do. Your tabs are configured incorrectly.
Please grant me access to your site admin for 10 minutes and I can create a tab to help you with it.
What you are currently doing is creating an external link, you should not. You need to add a normal tab and use the shortcode.
Regards
Brajesh - Brajesh Singh on June 11, 2020 at 5:10 pm in reply to: How can I Get Buddypress Favorite Count #30727
Hi Adeala,
You can get the total favourite count using this function$count = bp_activity_total_favorites_for_user( $user_id );where you need to provide the $user_id for the context.
For example, to get total favourite count for logged in user, we can use
$count = bp_activity_total_favorites_for_user( get_current_user_id() );If you are on a user profile and want to fetch the total count of the displayed user, you can do it like this
$count = bp_activity_total_favorites_for_user( bp_displayed_user_id() );Hope that helps.
Regards
Brajesh Hi Hugo,
1. Which template pack are you using? Do you have blog post setup to show on profile or as normal blog post? Did you modify single.php template from the buddyblog plugin?
2. We have next major update imminent(in next 7-8 days) and you will have this option. Since you have Buddydev membership, you can almost control everything(create custom fields from backend, limit who can post, multiple post type etc). I am leaving it in favour of next version.
3. The plugin grants subscribers right to upload image. I will check for the featured image again and let you know.
Regards
Brajesh- Brajesh Singh on June 11, 2020 at 3:59 pm in reply to: [Resolved] Hide cpt from non logged in users #30720
Hi Hugo,
this can be achieved by settings post type as non public(setting public to false in the post type registration).Regards
Brajesh - Brajesh Singh on June 11, 2020 at 3:58 pm in reply to: [Resolved] Make Affiliate WP Appear Within Buddy Boss Frame #30719
Also, I might be mistaken from your reply.
Here are the steps needs to add new tab
1. https://buddydev.com/docs/buddypress-user-profile-tabs-creator-pro/buddypress-user-profile-tab-options/Then use the shortcode inside the sub tab content/
Regards
Brajesh - Brajesh Singh on June 11, 2020 at 3:56 pm in reply to: [Resolved] Make Affiliate WP Appear Within Buddy Boss Frame #30718
Hi Mikel,
For normal shortcodes,simply putting this[affiliate_area]should make it work.
If it is not working, Can you please contact their support and ask why it will not work out side a page/post loop context.
I checked their site
https://docs.affiliatewp.com/article/693-affiliatearea
but could not find any information.Regards
Brajesh - Brajesh Singh on June 11, 2020 at 3:40 pm in reply to: [Resolved] How can I Remove BbPress Replies From Buddypress Activity #30717
Please do not use same topic for continuous questions. It makes the topic useless for others and makes our efforts of community support unworthy of the time.
Please open a new topic for unrelated issues.
Thank you
Brajesh - This reply has been marked as private.