janhoos (@janhoos)

Forum Replies Created

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

  • janhoos
    Participant

    @janhoos

    Just installed W3 total cache yesterday and it seemed to work. When I tried logging in through a sidebar widget it did not work. Disabled page caching and it works again.

    So I guess there must be an exclude setting for the forum area that could make it work. Will try this this evening.


    janhoos
    Participant

    @janhoos

    haha yea! So far for me, BBpress is a mixed bag. Its simple alright! You need to add in a lot of stuff to make it come near the other forum softwares. But the big advantage is the integration with WordPress <3


    janhoos
    Participant

    @janhoos

    Agreed! Missing this functionality 2. I have it set to your setting as well, but a perfect widget would be a combination of the 2! Not a coder myself as well unfortunately.


    janhoos
    Participant

    @janhoos

    Hi Solheubner,

    Awesome! It totally worked haha! Sorry it took me so long to see your reply. For some reason I havent put on e-mail subscriptions.

    Of course what you have now is that it does not check if you had a subscription on that topic and put a check in the box if you did. But this is a lot better then having it always on for everyone!


    janhoos
    Participant

    @janhoos

    Is there a way where I can do the opposite? Uncheck the box by default? Like on this forum?

    In reply to: Add forum roles

    janhoos
    Participant

    @janhoos

    Is there a way to give a custom role a custom set of capabilities?

    Like the ones found on the capabilities.php file?

    // Primary caps
    ‘spectate’ => true,
    ‘participate’ => true,
    ‘moderate’ => false,
    ‘throttle’ => false,
    ‘view_trash’ => false,

    // Forum caps
    ‘publish_forums’ => false,
    ‘edit_forums’ => false,
    ‘edit_others_forums’ => false,
    ‘delete_forums’ => false,
    ‘delete_others_forums’ => false,
    ‘read_private_forums’ => true,
    ‘read_hidden_forums’ => false,

    // Topic caps
    ‘publish_topics’ => true,
    ‘edit_topics’ => true,
    ‘edit_others_topics’ => false,
    ‘delete_topics’ => false,
    ‘delete_others_topics’ => false,
    ‘read_private_topics’ => false,

    // Reply caps
    ‘publish_replies’ => true,
    ‘edit_replies’ => true,
    ‘edit_others_replies’ => false,
    ‘delete_replies’ => false,
    ‘delete_others_replies’ => false,
    ‘read_private_replies’ => false,

    // Topic tag caps
    ‘manage_topic_tags’ => false,
    ‘edit_topic_tags’ => false,
    ‘delete_topic_tags’ => false,
    ‘assign_topic_tags’ => true,

    Using the code above, I don’t know where to put the capabilities.


    janhoos
    Participant

    @janhoos

    Awesome! Thanks for letting me know and trying. Ill see if I can switch my setup around to yours!


    janhoos
    Participant

    @janhoos

    Did any of you test out wether the hidden content is visible through the search results?

    Right now I’m using Page Security by Contexture to shield off the forums from certain member ranks.

    But non members can still retrieve the content of off limits replies through the search form. They also show up for non access members in the recent replies widget.


    janhoos
    Participant

    @janhoos

    I’ve installed a plugin called Page Security by Contexture to add private functionality. It won’t use the roles by BBpress, but it makes it possible

    In reply to: Add forum roles

    janhoos
    Participant

    @janhoos

    Hi Blg002,

    It worked for me! Added it to the theme functions and changed the function to add in 3 more roles.

    Can probably optimise it but it works like this right now:

    function add_custom_role( $bbp_roles ) {
    $bbp_roles[‘my_custom_role’] = array(
    ‘name’ => ‘ACN Lid’,
    ‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() ) // i just want them to have the same capabilities as participants

    );
    $bbp_roles[‘my_custom_role2’] = array(
    ‘name’ => ‘ACN Aspirant’,
    ‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() ) // i just want them to have the same capabilities as participants

    );
    $bbp_roles[‘my_custom_role3’] = array(
    ‘name’ => ‘ACN Lid admin’,
    ‘capabilities’ => bbp_get_caps_for_role( bbp_get_keymaster_role() ) // i just want them to have the same capabilities as participants

    );

    return $bbp_roles;
    }
    add_filter( ‘bbp_get_dynamic_roles’, ‘add_custom_role’, 1 );

    In reply to: Add forum roles

    janhoos
    Participant

    @janhoos

    Cool! Where did you add that? Did you download a plug-in that lets you create simple plugins? Or did you add that to a functions file somewhere?

    Whats the safest place? Cause I know a few ways of adding this in 😛


    janhoos
    Participant

    @janhoos

    I’ll try that out! I used the .entry-title tag before. And that was used by metro. didnt use .bbPress


    janhoos
    Participant

    @janhoos

    Thanks for the answer. The problem is the theme uses the same tag. I could alter it in my theme, but I would rather add a class in bbPress. As I bought the theme and I believe it will get updates every now and then. Although you can say the same about bbPress of course… 😛

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