Replies
Hi,
Welcome to BuddyDev support forums.At the moment, you will need to visit the user’s profile on front end(as a admin) to change their visibility.
You may also use user switching feature to achieve similar result.Regards
Brajesh- Brajesh Singh on September 16, 2023 at 6:56 pm in reply to: [Resolved] Profile Visibility with Buddyboss – users not able to set preferences #50532
Hi,
I am sorry for the inconvenience.
Which version of BuddyBoss platform and theme are you using?
Here is how it should look like.https://i.ibb.co/hYnDQSc/Selection-145.png
If it is not like this, please share the details and we will fix the compatibility.
Regards
Brajesh - Brajesh Singh on September 15, 2023 at 9:11 am in reply to: [Resolved] Buddypress follow plugin and buddypress 12.0.0 #50526
Thank you Tosin.
- Brajesh Singh on September 15, 2023 at 6:30 am in reply to: Member Types to Paid Memberships Pro and AWeber Integration #50523
Hi Caqsper,
Thank you for the reply.Since the activation/deactivation has no effect, It is not caused by member types pro.
By conditional registration fields I meant to ask if you had this option enabled for Member Types pro in (Dashboard->Settings->Member Types Pro)
The member types get assigned on activation. That is to keep the user count in sync.
Regards
Brajesh - Brajesh Singh on September 15, 2023 at 6:27 am in reply to: [Resolved] Uploading to MediaPress as a visitor #50522
Hi Iain,
Thank you for the reply.You need to filter to filter on
mpp_user_can_upload
filter to allow upload permissions.
It may need changes in some other permissions too. Please see mediapress/core/mpp-permissions.php for the way to use it.Regards
Brajesh - Brajesh Singh on September 15, 2023 at 6:24 am in reply to: Function for activity feed friend-only, blocked view of private group activity #50521
Hi Marilynn ,
Welcome to BuddyDev support forums.Thank you for reporting the issue.
The scope of the code is limited to sitewide activity directory. I believe BuddyPress/BuddyBoss does not show private activities if user id is specified. That could be the reason.
Regards
Brajesh - Brajesh Singh on September 15, 2023 at 6:21 am in reply to: Group Tabs Creator Pro Dynamic URLs #50520
Hi Shiine,
Thank you for the details and the explanation.I don’t think we can have this at the moment. A group can have multiple moderators/users and unless we provided a way to specify the username with dynamic token, this will not be useful(to identify the source).
So, this could be achieved by using custom shortcode for the purpose instead of having dynamic token.
Regards
Brajesh - Brajesh Singh on September 15, 2023 at 6:19 am in reply to: [Resolved] No “Add Friend” Button in BuddyPress #50519
Hi Rick,
That should be the default thing if you are viewing someone else’s profile.Are you using any custom template or theme?
Regards
Brajesh Hi,
Welcome to BuddyDev.You need to count the unique users by meal and print stats.
here is slightly modified code that will do it for you.Please feel free to adapat as you please.
<?php $meal_stats = array(); if ( bp_has_members( my_custom_ids( 'Dogs' ) . '&type=alphabetical' ) ) : ?> <?php bp_nouveau_pagination( 'top' ); ?> <table id="members-list" class="<?php bp_nouveau_loop_classes(); ?>"> <thead> <tr> <th>Name</th> <th>Meal Preference</th> </tr> </thead> <?php while ( bp_members() ) : bp_the_member(); ?> <?php $s1_meals = xprofile_get_field_data( 'Meals', bp_get_member_user_id() ); // initialize. if ( ! isset( $meal_stats[ $s1_meals ] ) ) { $meal_stats[ $s1_meals ] = array(); } $meal_stats[ $s1_meals ][] = bp_get_member_user_id(); ?> <tr <?php bp_member_class( array( 'item-entry' ) ); ?> data-bp-item-id="<?php bp_member_user_id(); ?>" data-bp-item-component="members"> <td class="list-title member-name"> <?php bp_member_name(); ?> <?php $member_id = bp_get_member_user_id(); ?> </td> <td class="<?php echo $s1_meals; ?>"> <?php echo $s1_meals; ?> </td> </tr> <?php endwhile; ?> </table> <?php // print stats. foreach ( $meal_stats as $meal => $meal_stat ) { if ( empty( $meal_stat ) ) { continue; } echo "<br/>"; echo "Meal: " . $meal . " : "; echo count( array_unique( $meal_stat ) ); echo "<br/>"; } ?> <?php bp_nouveau_pagination( 'bottom' ); ?> <?php else : bp_nouveau_user_feedback( 'members-loop-none' ); endif; ?>
Hope it helps.
Regards
BrajeshHi Rik,
Thank you for your post.We have used it once or twice but we lack the experience to say much about it.
I will suggest giving it a try on one of the development servers and see if it fits your needs.
Regards
Brajesh