BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25174

    Hi George,
    Thank you.

    The new background in BP is nice. I have been working on one of our premium themes( coming by the end of next week) and have been exploring the options too. I was glad to see your post as I wanted to do something similar in the theme.

    The question that arises here is what features we need to make part of this plugin. The current implementation of BuddyPress core background does not give much control to the user but theme designers have full control over the appearance of the background.

    If we leave background and move to simple customizer( lite implementation of the WordPress customizer), what controls we want to give to the user?

    If we can make a list of feature here, I will be happy to have it by the next weekend when our theme comes.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Notify Admins #1378

    Hi Mary,
    Thank you for confirming.

    I will add in a day or 2 options in the wp login notifier plugin. We don’t have to use code to add emails as that plugin has options panel and I just need to extend that. Will keep you updated.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25174

    Hi George,
    Just confirming that you were right about the issue. I mistook BuddyBlog templates for bcg and thought it was there. I will be doing an update later today.

    There are 2 things that I am thinking of:- If we are going for an update, It will be nice to have almost same functionality aas BuddyBlog here too. Like listing of drafts, editing which is currently not there.

    I am not sure at the moment if I should just add the pagination or work to make it feature complete(It lacks a lot of feature at the moment). Whatever is the decision, will have an update late tonight( Indian time ).

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Notify Admins #1372

    Hi Mary,
    I am sorry. It took me a little longer to figure out. There was a mistake on my part. There were two typos in my code. I was passing ‘header’ and expecting ‘headers’ causing the empty email list.

    You can see the change here.
    https://github.com/buddydev/bbp-notify-admins/commit/6fe27671a327bec2a2ef1f2a55ee9b901659ce65

    I have updated the plugin to version 1.0.2 with the fix.

    Please upgrade and now the above code will work.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Notify Admins #1370

    Did you try posting by your admin account? If yes, please try creating a topic/replying with normal user account(Super admins and current user are excluded).

    Also, since the other users are sent as bcc, please do check spam folders too.

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Notify Admins #1368

    Hi Mary,
    Welcome to BuddyDev forums.

    Thank you for asking the question. I have updated the plugin and version 1.0.1 is now available on WordPress.org plugin repo. It includes a filter that allows us to add any number of extra emails.

    Please upgrade to version 1.0.1 and then you can put following in your theme’s functions.php

    
    
    function bpp_notify_admin_extra_email_address( $emails, $context = null ) {
    	//$context will be 'topic'/'reply' if you need to do extra filtering
    	
    	$new_emails = array(
    		'a@example.com',
    		'b@example.com',
    		//keep adding
    	);
    	
    	return array_merge( $emails, $new_emails );
    }
    add_filter( 'bbp_notify_admin_email_addresses', 'bpp_notify_admin_extra_email_address', 10, 2 );
    
    

    Change the email address/add more as you need.
    Please note, there is no need to append admin email and it will be already included.

    Hope that helps. Please do let me know if it works for you or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Happy Birthday Brajesh #1366

    Thank you George and Thank you Hans 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Unable to reply in the topic I created? #1362

    Hi Laurie,
    sorry about that topic issue. If that happens next time, please try refreshing browser. That hsould fix it.

    Now, about your question. Yes, you are right. The problem is it only looks for followers when friends is not active.

    Again, enabling followers is still not an issue, I ma posting modified code from my previous post to include following users with friends.

    
    
    add_filter( 'fblike_activity_get_friend_ids', 'fb_like_custom_include_folling_user_ids_with_friends', 10, 2 );
    function fb_like_custom_include_folling_user_ids_with_friends( $user_ids, $current_user_id ) {
    	
    		$following_ids = bp_follow_get_following ( array('user_id'=> $current_user_id ) );
    	
    		$all_ids =  array_merge( $user_ids, (array) $following_ids );
    		
    		return array_unique( $all_ids );
    }
    
    

    Can you please put it in your bp-custom.php or theme’s functions.php and check if it is working or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25174

    Hi George,
    sorry for missing it. Will look at it today and get back to you.

  • Keymaster
    (BuddyDev Team)
    Posts: 25174
    Brajesh Singh on in reply to: Happy Birthday Brajesh #1358

    Thank you Israel 🙂
    I appreciate the feelings 🙂

    Thank you
    Brajesh