Kalusha (@kalusha)

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 28 total)
  • @kalusha

    Participant

    Ah, ok. Thank you Robin

    @kalusha

    Participant

    Hello,

    nobody any Idea.

    Or is it not possible?

    Thanks

    @kalusha

    Participant

    Hello,

    I have also an Problem like this.

    I have Users “Abonnent” which have an Forum Role and some who had no Forum Role.

    Now I want to change the Users “Abonnent” who had no Forum Role to the Forum Role “Teilnehmer”

    But only the User “Abonnent”.

    How can I do this?

    Thanks from Germany

    @kalusha

    Participant

    Hey, thank you. But I become this message:

    Das Snippet wurde deaktiviert wegen einem Fehler in der Zeile 4:

    Cannot redeclare function rew_change_caps.

    It doesn´t work

    regards

    @kalusha

    Participant

    Good morning,

    In my forum they have the same capability but the Name group of two i needed. The forum is only one Part of my site.
    Did you have an idea for the Code?
    Thanks a lot

    @kalusha

    Participant

    Perfect… Thank you

    @kalusha

    Participant

    Thank you. I have seen. But I need a Plugin with attachments.

    regards

    @kalusha

    Participant

    Robin, I know you have a solution for this. Can you please help me???

    That were great.

    Or any other?

    @kalusha

    Participant

    Anybody any idea???

    @kalusha

    Participant

    My Idea were with the Plugin “Front End PM”. So only a link with new Message in every User Profile.

    I’m curious about your plugin

    @kalusha

    Participant

    Can you please help me Robin or any other 🙂

    In reply to: User Role

    @kalusha

    Participant

    Here I have found why the bulk action don´t work

    Bulk action in >>Users Change Forum Role doesn’t work

    Now I have change all Users with bulk action.

    Thank you

    @kalusha

    Participant

    I have now this code into functions

    ##Name ändern Participant in User Standard User
    function my_custom_roles( $role, $user_id ) {
    if( $role == ‘Teilnehmer’ )
    return ‘Standard User’;

    return $role;

    }

    add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles’, 10, 2 );

    function my_custom_roles2( $role, $user_id ) {
    if( $role == ‘Keymaster’ )
    return ‘Michael’;

    return $role;
    }

    add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles2’, 10, 2 );

    function my_custom_roles3( $role, $user_id ) {
    if( $role == ‘Zuschauer’ )
    return ‘Premium User’;

    return $role;
    }

    add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles3’, 10, 2 );

    So I change only the names. Now I must to have that the spectator has the same capability as the participants. So I have no code for this found, I have change the capability.php in bbpress core. I know it´s not the best way and after a Update I must change it again but it works. I have no other idea. 🙁

    @kalusha

    Participant

    Thank you Robin…. but I try and try and it doesn´t work:(

    In reply to: User Role

    @kalusha

    Participant

    OK, I have tried it with this…

    add_filter( ‘bbp_get_dynamic_roles’, ‘ntwb_bbpress_custom_role_names’ );

    function ntwb_bbpress_custom_role_names() {
    return array(

    // Participant
    bbp_get_participant_role() => array(
    ‘name’ => ‘Standard User’,
    ‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() )
    ),

    // Spectator
    bbp_get_spectator_role() => array(
    ‘name’ => ‘–>Premium User<–‘,
    ‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() )
    )
    );
    }

    I can now change every User to a “Standard User” or “Premium User”. That is what I want, BUT with the Premium User I can not write any replies or others. With the Standard User is everything ok.

    Where is the mistake???

    In reply to: User Role

    @kalusha

    Participant

    Hello again,

    can anybody give me a function that a spectator have the same capability as a participant.

    Please

    In reply to: User Role

    @kalusha

    Participant

    bulk

    After I make Bulk aktion nothing change.

    On the Picture you can see the Situation better.

    With Bulk Action were it perfect. But it doesn´t work.

    Hope you can help me?!?!

    In reply to: User Role

    @kalusha

    Participant

    I have try it but bulk action doesn´t work.

    Maybe you can take a look on my Site?

    In reply to: User Role

    @kalusha

    Participant

    Thank you but it doen´t change anything…

    Other idea?

    In reply to: User Role

    @kalusha

    Participant

    No,

    can you help me?

    In reply to: User Role

    @kalusha

    Participant

    Can you please help me with that???

    PLEASE

    @kalusha

    Participant

    any News???

    In reply to: User Role

    @kalusha

    Participant

    thank you for the tip.

    Can you please give me the function…

    It doesn´t work so.

    best regards

    In reply to: User Role

    @kalusha

    Participant

    I thing anything like this…

    function my_custom_roles3( $role, $user_id ) {
    if( $role == ‘Author’ )
    return ‘***Premium User***’;

    return $role;

    }

    add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles3’, 10, 2 );

    In reply to: User Role

    @kalusha

    Participant

    My Problem is already there 🙁

    When this is not possible it were also ok when I had a function which says…

    Every “Autor” is show in my WordPress Forum as an “Premium User”.

    Hope anybody can help me…

Viewing 25 replies - 1 through 25 (of 28 total)