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: 25347
    Brajesh Singh on in reply to: [Resolved] BuddyPress Group Badges #25853

    Hi Hans,
    I am sorry but I am not sure I am understanding it correctly.

    I am unable to understand how a badge will be able to represent a custom action for the group. I have a few question.

    1. is the badge assigned to group and is visible on group and not on user profile?
    2. If yes, allowing group admin to create badge will make it meaningless, why would you like the option for group admin?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25347
    Brajesh Singh on in reply to: [Resolved] count all notifications #25852

    Hi Rav,
    Thank you for the question.

    Please use the following code.

    
    
    $read_count = BP_Notifications_Notification::get_total_count( array(
    	'user_id' => bp_loggedin_user_id(),
    	'is_new'  => 0,
    ) );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25347
    Brajesh Singh on in reply to: [Resolved] BP Group Description #25851

    Hi Hans,
    Sorry but I am not able to provide any snippet.

    BP Nouveau does not provide any consistent action hook between the header and the content.
    If there were any, we could have used did_action() to easily accomplish it.

    My suggestion will be to override default-fron.php and put this line at top.

    
    remove_filter( 'bp_get_group_description', 'bp_excerpt_group_description');
     
    

    That way, you remove the above filter from being applied to front page content.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25347

    Hi Cap,
    Sorry, I am not seeing the conditios on your current registration page.

    There are two reasons why this may happen.

    1. A javascript error is preventing the plugin from applying conditions.
    2. Or the markup is not confirming to the plugin’s default understanding.

    I doubt it is the first case as I can see some js error from various plugins there.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25347
    Brajesh Singh on in reply to: Show full group description (mobile devices) #25847

    Hi Craig,
    Thank you for the question.
    This is most probably happening dues to css media queries or text-overflow property.

    Are you using a custom theme?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25347
    Brajesh Singh on in reply to: [Resolved] Username Availability Checker issue #25846

    Hi Mac,
    I am sorry. I could not release due to lack of time. Will need till Tuesday.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25347
    Brajesh Singh on in reply to: [Resolved] Username Availability Checker issue #25837

    Hi Mac,
    Thank you.

    The usernames will be treated different on a normal WordPress install. “ian johnson” becomes “ian-johnson” for nice name.

    The problem is BuddyPress is removing the space before inserting user

    
    $user_login     = preg_replace( '/\s+/', '', sanitize_user( $user_login, true ) );
    

    This was unexpected.

    Anyway, I will push a release today or tomorrow with this fix and will let you know.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25347
    Brajesh Singh on in reply to: [Resolved] Username Availability Checker issue #25835

    Hi Mac,
    Are you using BuddyPress registration?

  • Keymaster
    (BuddyDev Team)
    Posts: 25347
    Brajesh Singh on in reply to: [Resolved] BP Group Description #25831

    Hi Hans,
    I will look into it and assist you tomorrow.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25347
    Brajesh Singh on in reply to: [Resolved] BuddyPress Group Badges #25830

    Hi Hans,
    Thank you for the suggestion.

    Can you please help me understand the following:-
    1. What a group badge represents?
    2. How do we assign a badge to a user(criteria)?
    3. Who manages the group badges?(site admin, group admin?)

    Thank you
    Brajesh