@mohdumar1654
Active 1 month ago
Forum Replies Created
Viewing 10 replies - 1 through 10 (of 10 total)
-
In reply to: why there is no components on my page?
Try checking in the Settings -> Buddypress if the components are active.
@jkgbs Try checking the active Buddypress components in backend
Go to,
Admin Dashboard -> Setting -> BuddyPressIn reply to: Linking to Edit Profile Tab on Account Page@jozidd Try this,
// For logged in user // $user_id = get_current_user_id(); // For displayed user // $user_id = bp_displayed_user_id(); $url = get_edit_profile_url( $user_id );In reply to: Change pagination labels in english@r1lita Try using this,
add_filter( 'bp_members_pagination_count', 'modify_members_listing_pagination_string' ); function modify_members_listing_pagination_string( $pag ) { // $pag = 'Custom string'; return $pag; }In reply to: Display website fieldTry this,
$user_id = get_current_user_id(); $user_data = BP_XProfile_ProfileData::get_all_for_user( $user_id );In reply to: How to retrieve Group Id for single activityTry this,
$activity = new BP_Activity_Activity( $activity_id ); if ( is_object( $activity ) && 'activity_update' === $activity->type && 'groups' === $activity->component ) { $group_id = $activity->item_id; }In reply to: admin-bar removalTry this,
add_filter('show_admin_bar', 'is_blog_admin');In reply to: Retrieve Group id of single activityTry this,
$activity = new BP_Activity_Activity( $activity_id ); if ( is_object( $activity ) && 'activity_update' === $activity->type && 'groups' === $activity->component ) { $group_id = $activity->item_id; }In reply to: Retrieve cover image for $user_id ?Try this,
$args = array( 'item_id' => get_current_user_id(), 'object_dir' => 'members', ); $attachment_url = bp_attachments_get_attachment( 'url', $args );In reply to: Listing Profile Fields to Group MembersHi @deusebio,
It is possible to add custom filters in members directory, you can use
bp_directory_members_search_formhook to add your custom fields.Then you can add custom code to
'members_filter'ajax to get the filtered members.
Viewing 10 replies - 1 through 10 (of 10 total)