sopliar (@sopliar)

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • In reply to: Change user color

    sopliar
    Participant

    @sopliar

    I solved with bbp style pack!

    In reply to: Change user color

    sopliar
    Participant

    @sopliar

    Thank you very much, I try to ask the plugin support.

    Last thing, could you tell me how to make the name appear to tag users on the forum? Because there are a nick and name display, I would like to show which nick to use to tag, making it appear just like here.
    @robin-w

    View post on imgur.com

    In reply to: Change user color

    sopliar
    Participant

    @sopliar

    In reply to: Change user color

    sopliar
    Participant

    @sopliar

    Hello @robin-w, this is the code

    add_filter( 'bbp_get_dynamic_roles', 'ntwb_bbpress_custom_role_names' );
    function ntwb_bbpress_custom_role_names() {
    	return array(
    		// Keymaster
    		bbp_get_keymaster_role() => array(
    			'name'         => 'Amministratore',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() )
    		),
    		// Moderator
    		bbp_get_moderator_role() => array(
    			'name'         => 'Moderatore',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() )
    		),
    		// Participant
    		bbp_get_participant_role() => array(
    			'name'         => 'Utente',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
    		),
    		// Spectator
    		bbp_get_spectator_role() => array(
    			'name'         => 'Visitatore',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_spectator_role() )
    		),
    		// Blocked
    		bbp_get_blocked_role() => array(
    			'name'         => 'Bannato',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_blocked_role() )
    		)
    	);
    }
    
    In reply to: Change user color

    sopliar
    Participant

    @sopliar

    Thank you very much.
    I solved for the threads, but for status legend not yet.

    I don’t understand how apply the color in status legend, can you explain better please?

Viewing 5 replies - 1 through 5 (of 5 total)