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: 25494

    Hi Aditya,
    Welcome to BuddyDev.

    I am sorry, but we do not provide any support for Youzer or Youzer compatibility of our plugins/themes too.
    It is part of our unsupported plugins for compatibility/support.

    I will recommend asking the plugin developer for the support.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: [Resolved] Replace text on tabs with icons #28422

    Hi Carsten,
    BuddyPress does not offer tab icons out of the box. That’s why I meant in my previous reply.

    The above code is for a theme which supports icons and I am providing an example on how to use the code for an icon.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: [Resolved] Replace text on tabs with icons #28418

    Hi Carsten,

    Since your theme does not support it, I am unable to assist you with this. The efforts needed is beyond our support.

    You may want to check our Community Builder theme(Freely available) and see if it can help in anyway.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: Recent Profile Visitors page issue #28417

    Hi Carsten,
    I am sorry, I do not see anything wrong with that.

    You are using the ‘bp_after_member_body’ which gets fired on all user pages. That’s why the button is visible.

    I am not sure of your purpose but you should most probably use a different hook.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi Nabha,
    Thank you.

    I had a look at these filters. They are fired when an activity is created. We can not take decision when activity is created as the flag for moderation does not exist then.

    Once an activity is marked as reported, we need a filter that allows us to exclude items before they are sent via mail. This allows us to check if the activity is in moderation queue and help us take decision.

    Please do let me know if you get some response from them.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi Carsten,
    You are welcome.

    Try right clicking and inspecting the element. There might be an empty list item.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: S3 Storage Plugin? #28410

    Hi Yuva,
    I have sent a copy to your mail.

    Please do open a new topic if you need assistance with it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: [Resolved] Replace text on tabs with icons #28409

    Hi Carsten,
    Thank you for the question.

    Does your theme support icons for profile tab? I helped on that topic as their theme supported it and I only had to help him with specifying icon code.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494

    Hi Jennifer,
    Thank you for the question.

    Your best bet is to do it on ‘bp_core_activated_user’. Check for the xprofile field and user set_role() over the user object to set role.

    Here is an example, Please feel free to customize according to your needs.

    
    
    add_action( 'bp_core_activated_user', function ( $user_id ) {
    	$user     = get_user_by( 'id', $user_id );
    	$field_id = 20; // Numeric field id.
    	// We need raw data not in displayable form, so I am not using xprofile_get_field_data
    	$field_val = maybe_unserialize( BP_XProfile_ProfileData::get_value_byid( $field_id, $user_id ) );
    
    	// example of setting role.
    	if ( 'ans1' == $field_val ) {
    		$user->set_role( 'subscriber' );
    	}
    
    }, 1 );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25494
    Brajesh Singh on in reply to: Recent Profile Visitors page issue #28407

    Hi Carsten,
    Please share 2 screenshots to show me the issue. I will need more details to provide assistance.

    Regards
    Brajesh