swammy05 (@swammy05)

Forum Replies Created

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

  • swammy05
    Participant

    @swammy05

    worked like a charm. Thank you!


    swammy05
    Participant

    @swammy05

    Yes, that makes sense.

    I did find this: https://bbpress.trac.wordpress.org/ticket/2685

    Is that a core fix that has not been made? My bbpress is up to date


    swammy05
    Participant

    @swammy05

    Thank you again, Robin. I’ll followup with my findings.

    I did switch the theme quickly (twenty twelve), and I noticed two things:

    My role no longer displayed as ‘villager’ but instead switched back to ‘participant’, and the ‘trash’ links were never present. Not sure why the role would have been changed with a theme switch, but there ya go.


    swammy05
    Participant

    @swammy05

    Thanks for jumping back into this old thread, Robin.

    I’ll have to wait until the middle of the night to try that, as it’s an active community with a lot of users. So you think this is an error caused by a plugin despite no warnings?

    The only plugin that I can imagine would touch this behavior is ‘paid memberships pro’, which is scary to deactivate, at the risk of losing data.

    Anything else I can try to debug/test for you?


    swammy05
    Participant

    @swammy05

    To add a bit more context:

    If I add ‘delete_topics’ capability, I do not see the ‘trash’ link in the admin links, even on my topics.
    If I add ‘delete_others_topics’, the trash link does show on all topics. Same for replies


    swammy05
    Participant

    @swammy05

    Robin, I’ve followed these steps (and several other of your support responses on this issue), and I’ve successfully created new roles using both methods, but I have a strange symptom: No matter what capabilities I allow, only the ‘Edit’ link shows on topics and replies. I simplified it to a new role, modeled after a keymaster. The role shows up, the database capabilities shows correctly, and now keymaster-only data shows under user profile images (like IP address), but still no admin links such as move, trash, etc. If I switch the user back to a regular moderator role, the links show just fine:

    function add_custom_role( $bbp_roles ) {
      
    $bbp_roles['villager'] = array(
    'name' => 'Villager',
    'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() ) // the same capabilities as participants
    );
    return $bbp_roles;
    }
    add_filter( 'bbp_get_dynamic_roles', 'add_custom_role', 1 );
Viewing 6 replies - 1 through 6 (of 6 total)