Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.
Hi,
4. Whenever I save in the template options
he deletes our title
Each time, I’m forgetting to add the title again with little code Forum d'entraideThank you
Hi,
We are still waiting for an update
to date the bug still presentThank you
This reply has been marked as private.Hi,
Are you talking about the code here?
function my_custom_roles( $role, $user_id, $user_role ) { if( $role == 'Key Master' ) return 'Site Owner'; return $role; } add_filter( 'bbp_get_user_display_role', 'my_custom_roles', 10, 3 );
To modify other current roles?
I have to do like that?
function my_custom_roles( $role, $user_id, $user_role ) { if( $role == 'Key Master',moderator,',participant',spectator',blocked' ) return 'Propriétaire du site',Modérateur',Client',Invité',Bloqué'; return $role; } add_filter( 'bbp_get_user_display_role', 'my_custom_roles', 10, 3 );
Thank you
You have requested to activate Loco Translate?
To do whatfunction add_custom_role( $bbp_roles ) {
$bbp_roles[‘my_custom_role1’] = array(
‘name’ => ‘name 1’,
‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants
);
$bbp_roles[‘my_custom_role2’] = array(
‘name’ => ‘name 2’,
‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() ) // the same capabilities as participants
);
$bbp_roles[‘my_custom_role3’] = array(
‘name’ => ‘name 3’,
‘capabilities’ => bbp_get_caps_for_role( bbp_get_keymaster_role() ) // the same capabilities as keymaster
);
return $bbp_roles;
}
add_filter( ‘bbp_get_dynamic_roles’, ‘add_custom_role’, 1 );Are you talking about the code here?
In this code how to add
Keymaster | Moderator | Participant | Spectator | BlockedI just want with the roles with French
Then if you look on the forum our nickname does not change color there is still the default color
activate
try again
Hi,
1) I just checked you have access to the site?
We added the css,
But the username is not changing color2) So which one?
Thank you
-
AuthorPosts