Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    Hi Falona,
    First of all Welcome to Buddydev and my apologies for the delayed reply. I wanted to take this topic on the weekend as I will have more time to help you.

    For your particular use case, You need two type of members

    BuddyPress Member type feature suits pretty well here. You can have the two type of directories using member type.

    Please give a try to the following combination of plugins and see if you can get it going or not?

    1. BuddyPress Member type Generator:- To create member types for investors/enterprenuers
    2. BuxxyPress Xprofile member Type Field to allow user selecting the member type at registration
    3. Conditional Profile Fields for BuddyPress- If you want to allow different set of fields to different users
    Those are basic. The one most important thing is business. How do you plan to list the business and what features it should have ? Is it similar to Facebook page? This Business May need custom implementation.

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    Hi lavish,
    We are looking at it. We will get back to you later today.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    Hi M,
    My apologies for the inconvenience. Have you updated the Admin settings for this plugin and selected categories as the taxonomy? Also, which version of WordPress/BuddyPress are you using?

  • Keymaster
    (BuddyDev Team)
    Posts: 25468
    Brajesh Singh on in reply to: [Resolved] BuddyPress 'Super User' #4179

    Hi Javier,
    It is mostly a personal preference. If you are just putting small modifications, I will suggest going with bp-custom.php.
    If you are going for more customization and need flexibility, writing a plugin is better option to manage all codes(You can create modules/files for each component specific functionality to keep things managed in the plugin).

  • Keymaster
    (BuddyDev Team)
    Posts: 25468
    Brajesh Singh on in reply to: [Resolved] Video Gallery pagination #4178

    Hi Christian,
    our hands are full at the moment. I will ask Ravi to look into this.

    Btw, it seems you have enabled playlist view for videos. try enabling Grid view and pagination will appear.
    At the moment, a use can upload an image but in future FFMPEG support is coming.

  • Keymaster
    (BuddyDev Team)
    Posts: 25468
    Brajesh Singh on in reply to: Lightbox #4177

    Hi Philippe,
    Thank you. I will post the details this weekend(Sunday).
    Sorry for the delay.

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    Hi,
    Here are the methods:-

    1. Without considering privacy mpp_gallery_get_media_count( $gallery_id ) will give the count of all media inside the gallery

    2. There is no builtin API for the count with privacy, so we will write a new function like this

    
    
    function mpp_custom_get_media_count( $gallery_id  ) {
    
    	$gallery = mpp_get_gallery( $gallery_id );
    
    	$args = array(
    		'gallery_id'    => $gallery->id,
    		'status'    => mpp_get_accessible_statuses( $gallery->component, $gallery->component_id ),
    		'fields'=> 'ID',
    		'per_page'  => -1,
    		'nopaging'=> true,
    	);
    
    	$gq = new MPP_Media_Query( $args );
    
    	$count = $gq->post_count;
    
    	 return $count;
    }
    
    

    and we can use it as we wish. Please do not overuse it, it is database intensive operation.
    Hope it helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    Hi Minoo,
    There are multiple ways to do it. Do you want to consider the visibility of media while showing the count or not?

    If we do not consider the visibility of media, the count will be very efficient.

  • Keymaster
    (BuddyDev Team)
    Posts: 25468
    Brajesh Singh on in reply to: [Resolved] BuddyPress 'Super User' #4168

    Hi Javier,
    Thank you for posting. Give the user editor role and a custom capability ‘bp_moderate’ and he should be able to moderate almost all things BuddyPress.

    Hope that helps.
    regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    Hi Jamie,
    I am sorry for the delayed reply. I have looked at it in details and the update of the plugin will take me some time. There are issues that I have noticed. For example, some of the notifications were deleted automatically. I am planning to rewrite the whole experience to use new BuddyPresss advances(like notification meta etc) in next 1-2 weeks. For the time being, Please download the updated version from here for a temporary fix(Instead of duplicate notifications, It uses individual user in the message for notifications)

    https://github.com/sbrajesh/bp-activity-comment-notifier

    Hope that helps.