Skip to:
Content
Pages
Categories
Search
Top
Bottom

URL without forum?

Published on April 24th, 2018 by selftrips ru

site.ru/forums/forum/forum-1
site.ru/forums/forum/forum-2
Is it possible to do like

site.ru/forums/forum-1
site.ru/forums/forum-2

Different registration for different forums/categories?

Published on April 24th, 2018 by selftrips ru

Is it possible to create a different registration for different forums/categories?
Thanks

add new roles

Published on April 23rd, 2018 by veepay

Hello,
I would like to create new roles in bbpress.
Since this is not easy, I have used this code

/**
 * Neue Benutzerrollen
 */
function add_new_roles( $bbp_roles )
{
    /* Add a role called Super-Administrator */
    $bbp_roles['bbp_super-administrator'] = array(
        'name' => 'Super-Administrator',
        'capabilities' => custom_capabilities( 'bbp_super-administrator' )
        );

    /* Add a role called Administrator */
    $bbp_roles['bbp_administrator'] = array(
        'name' => 'Administrator',
        'capabilities' => custom_capabilities( 'bbp_administrator' )
        );

    /* Add a role called VIP-Member */
    $bbp_roles['bbp_vip-member'] = array(
        'name' => 'VIP-Member',
        'capabilities' => custom_capabilities( 'bbp_vip-member' )
        );

    /* Add a role called Member */
    $bbp_roles['bbp_member'] = array(
        'name' => 'Member',
        'capabilities' => custom_capabilities( 'bbp_member' )
        );

    /* Add a role called Trial-Member */
    $bbp_roles['bbp_trial-member'] = array(
        'name' => 'Trial-Member',
        'capabilities' => custom_capabilities( 'bbp_trial-member' )
        );

    /* Add a role called User */
    $bbp_roles['bbp_user'] = array(
        'name' => 'User',
        'capabilities' => custom_capabilities( 'bbp_User' )
        );
 
    return $bbp_roles;
}
 
add_filter( 'bbp_get_dynamic_roles', 'add_new_roles', 1 );
 
function add_role_caps_filter( $caps, $role )
{
    /* Only filter for roles we are interested in! */
    if( $role == 'bbp_super-administrator' )
        $caps = custom_capabilities( $role );

    if( $role == 'bbp_administrator' )
        $caps = custom_capabilities( $role );

    if( $role == 'bbp_vip-member' )
        $caps = custom_capabilities( $role );

    if( $role == 'bbp_member' )
        $caps = custom_capabilities( $role );

    if( $role == 'bbp_trial-member' )
        $caps = custom_capabilities( $role );

    if( $role == 'bbp_user' )
        $caps = custom_capabilities( $role );
   
    return $caps;
}
 
add_filter( 'bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2 );
 
function custom_capabilities( $role )
{
    switch ( $role )
    {
 
        /* Capabilities for 'Super-Administrator' role */
        case 'bbp_super-administrator':
            return array(
            
				// Keymasters only
				'keep_gate'             => true,

				// Primary caps
				'spectate'              => true,
				'participate'           => true,
				'moderate'              => true,
				'throttle'              => true,
				'view_trash'            => true,

				// Forum caps
				'publish_forums'        => true,
				'edit_forums'           => true,
				'edit_others_forums'    => true,
				'delete_forums'         => true,
				'delete_others_forums'  => true,
				'read_private_forums'   => true,
				'read_hidden_forums'    => true,

				// Topic caps
				'publish_topics'        => true,
				'edit_topics'           => true,
				'edit_others_topics'    => true,
				'delete_topics'         => true,
				'delete_others_topics'  => true,
				'read_private_topics'   => true,

				// Reply caps
				'publish_replies'       => true,
				'edit_replies'          => true,
				'edit_others_replies'   => true,
				'delete_replies'        => true,
				'delete_others_replies' => true,
				'read_private_replies'  => true,

				// Topic tag caps
				'manage_topic_tags'     => true,
				'edit_topic_tags'       => true,
				'delete_topic_tags'     => true,
				'assign_topic_tags'     => true
            );

        /* Capabilities for 'Administrator' role */
        case 'bbp_administrator':
            return array(
            
				// Primary caps
				'spectate'              => true,
				'participate'           => true,
				'moderate'              => true,
				'throttle'              => true,
				'view_trash'            => true,

				// Forum caps
				'publish_forums'        => true,
				'edit_forums'           => true,
				'read_private_forums'   => true,
				'read_hidden_forums'    => true,

				// Topic caps
				'publish_topics'        => true,
				'edit_topics'           => true,
				'edit_others_topics'    => true,
				'delete_topics'         => true,
				'delete_others_topics'  => true,
				'read_private_topics'   => true,

				// Reply caps
				'publish_replies'       => true,
				'edit_replies'          => true,
				'edit_others_replies'   => true,
				'delete_replies'        => true,
				'delete_others_replies' => true,
				'read_private_replies'  => true,

				// Topic tag caps
				'manage_topic_tags'     => true,
				'edit_topic_tags'       => true,
				'delete_topic_tags'     => true,
				'assign_topic_tags'     => true,
			);

        /* Capabilities for 'VIP-Member' role */
        case 'bbp_vip-member':
            return array(
            
				// Primary caps
				'spectate'              => true,
				'participate'           => true,

				// Forum caps
				'read_private_forums'   => true,

				// Topic caps
				'publish_topics'        => true,
				'edit_topics'           => true,

				// Reply caps
				'publish_replies'       => true,
				'edit_replies'          => true,

				// Topic tag caps
				'assign_topic_tags'     => true,
			);

        /* Capabilities for 'Member' role */
        case 'bbp_member':
            return array(
            
				// Primary caps
				'spectate'              => true,
				'participate'           => true,

				// Forum caps
				'read_private_forums'   => true,

				// Topic caps
				'publish_topics'        => true,
				'edit_topics'           => true,

				// Reply caps
				'publish_replies'       => true,
				'edit_replies'          => true,

				// Topic tag caps
				'assign_topic_tags'     => true,
			);

        /* Capabilities for 'Trial-Member' role */
        case 'bbp_trial-member':
            return array(
            
				// Primary caps
				'spectate'              => true,
				'participate'           => true,

				// Forum caps
				'read_private_forums'   => true,

				// Topic caps
				'publish_topics'        => true,
				'edit_topics'           => true,

				// Reply caps
				'publish_replies'       => true,
				'edit_replies'          => true,

				// Topic tag caps
				'assign_topic_tags'     => true,
			);

        /* Capabilities for 'User' role */
        case 'bbp_user':
            return array(
            
				// Primary caps
				'spectate'              => true,
				'participate'           => true,

				// Forum caps
				'read_private_forums'   => true,

				// Topic caps
				'publish_topics'        => true,
				'edit_topics'           => true,

				// Reply caps
				'publish_replies'       => true,
				'edit_replies'          => true,

				// Topic tag caps
				'assign_topic_tags'     => true,
			);
 
            break;
 
        default :
            return $role;
    }
}

Unfortunately, I have the problem that the rights are all set to deny, as soon as the user changes something in his profile.
Can I prevent that?

In addition I have installed the plugin “bbPress Advanced Capabilities”

VeePay

make all topic read for all users

Published on April 23rd, 2018 by rozo85

Is there a way for the admin toe make all topics read for alle users? Preferably with a date befor xx.xx.xx as a parameter. Or do i have to go into the database?

Grtz Rolf

Migrate / Import Kunena to bbPress tool

Published on April 22nd, 2018 by mestrawberry

I am using the bbPress import tool to try and move my old Joomla Kunena forum to bbPress on our new WordPress site, but on the conversion box it just says there are no users, topics, forums, etc. Any ideas?

New Site: www.mythicrealms.com/wordpress_new/forums
Old Site: www.mythicrealms.com

WordPress version 4.9.5
bbPress version 2.5.14

Please help!! Thank you!
Michelle

How to install bbpress in joomla

Published on April 21st, 2018 by Payment Spring

Hi there.
I tried to install bbpress in Joomla, but I can`t understand how it works. so please guide me..

Google recaptcha Error

Published on April 20th, 2018 by checmark

My register page keeps giving me an error “ERROR for site owner: Invalid site key”. As suggested by Google I deleted my keys and registered now ones. Still getting the error.

Appreciate any help.

Private Forum issue

Published on April 20th, 2018 by brmbk

I am using WP 4.9.5 and bbpress 2.5.14 for a closed user group. Access to the forum main page needs registration and sign in. That works well. On the forum main page the different forums are marked as privat. When I am on the page of a specific forum, in the title “Privat” appeards twice. This is not a critical issue, but not nice. What do I have to do to change that?

Trouble Getting bbpress sidebar to forum page

Published on April 19th, 2018 by cpo1wh

Hello, I’m a newby and having trouble getting bbpress sidebar to show on forum page. I’ve tried the various combinations with sidebar widget populated with a couple of other widgets, but still can’t see the bbpress sidebar. I have the wp tweaks installed as well. The forum page has the bbpress shortcode on it.
Thanks for your help. The website is oandp.link.

Forum/Topics Order

Published on April 19th, 2018 by checmark

Have struggled for hours on something I thought was SO simple. I finally managed to get my “Guidelines” to be the top forum; but I can’t figure how to get the sub forums or topics to show below the primary forum with the description. I don’t want the entire topic. Just the title.

Appreciate any help.

Thank you.

Forum

Skip to toolbar