BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on in reply to: Buddyboss and buddyblog pro problem #51445

    Hi,
    1. We have 100 % refund policy for 30 days and before I assist you further, Please let me know if you need assistance or refund.

    I already mailed you around an hour ago with the steps.

    You a a minor issue(not properly configured form).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on in reply to: Centering Activity Photos #51444

    Hi Chris,
    Thank you for using MediaPress.

    There are 2 ways to achieve different media size.

    1. Modifying template and using a different size than thumbnail for activity entries.
    2. Or you can set a larger size for thumbnail from Dashboard->MediaPress->Settings->General screen and all future media upload will use this size.

    The centring depends on your theme. If you can link me to your activity page, I can assist with the css.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Hi Caleb,
    Happy New Year!
    I hope you are doing well!

    I sincerely appreciate your kind words! I am glad It worked for your purpose!

    Though it is not something I am proud of due to usability concerns, it allowed us to achieve the goal with minimal changes. I am glad you were able to use it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on in reply to: [Resolved] Question about gallery permalinks #51425

    Hi Cheryl,
    Thank you for using the plugin.

    What you are looking for is the expected behaviour.

    1. It seems you have the component set to members. Please create a new gallery and set the component as “sitewide”

    2. For the lightbox, Please visit dashboard->MediaPress->Settings->theming and look for the “Lightbox settings”(It is at the bottom of that page).

    The last 4 options will help you customize what is opened inside the lightbox and where it links to.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Hi Gisela,
    Thank you for the questions.

    1. Are you using BuddyPress or BuddyBoss? It depends on these 2 plugins and if you have the fields mapped to WordPress field. our plugins doe not deal with the visibility of the field.

    2. I am sorry, that was a design decision to avoid a query. We will add an option in future to exclude the logged users from the hidden lists(in the site admin options).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Hi Tamar,
    Hope you are doing well.

    I sincerely appreciate your patience.
    I am sorry, we haven’t been able to get it functional this week. I will need till day end Tuesday to spend a little more time on it.

    I am very sorry for another delay of 2 more days.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25130

    Hi,
    Welcome to BuddyDev support forums.

    Please put this code in your bp-custom.php

    
    
    function bpcustom_only_enable_for_group_admin_mod_posts( $stop_notification, $activity ) {
    
    	$group_id  = $activity->item_id;
    	$logged_id = get_current_user_id();
    	if ( ! groups_is_user_admin( $logged_id, $group_id ) && ! groups_is_user_mod( $logged_id, $group_id ) ) {
    		$stop_notification = true;
    	}
    	
    	return $stop_notification;
    }
    
    add_filter( 'bp_local_group_notifier_skip_notification', 'bpcustom_only_enable_for_group_admin_mod_posts', 10, 2 );
    
    

    That will limit it to group admin/mods.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on in reply to: Gallery Activity Posts #51421

    Hi Chris,
    Thank you for the question.

    The plugin does create 2 activity types(xyz created a gallery) and (xyz posted n images in gallery).
    Depending on the privacy of media/gallery, It might not be visible in the activity directory.

    Please make sure you have the activity types enabled in MediaPress->settings->BuddyPress section.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on in reply to: [Resolved] Group Notifier Plugin #51420

    Thank you. I am glad it is resolved!

  • Keymaster
    (BuddyDev Team)
    Posts: 25130
    Brajesh Singh on in reply to: [Resolved] Hiding users from widgets not working #51419

    Hi,
    Thank you for your patience.

    Please try using the following code

    
    
    /**
     * Exclude Users from BuddyPress Members List by WordPress role.
     *
     * @param array $args args.
     *
     * @return array
     */
    function buddydev2_exclude_users_by_role( $args ) {
    	// do not exclude in admin.
    	if ( is_admin() && ! defined( 'DOING_AJAX' ) ) {
    		return $args;
    	}
    
    	$excluded = isset( $args['exclude'] ) ? $args['exclude'] : array();
    
    	if ( ! is_array( $excluded ) ) {
    		$excluded = explode( ',', $excluded );
    	}
    
    	$role     = 'administrator';// change to the role to be excluded.
    	$user_ids = get_users( array( 'role' => $role, 'fields' => 'ID' ) );
    
    	$excluded = array_merge( $excluded, $user_ids );
    
    	$args['exclude'] = $excluded;
    
    	return $args;
    }
    
    add_filter( 'bp_after_core_get_users_parse_args', 'buddydev2_exclude_users_by_role' );
    

    Regards
    Brajesh