Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 7,326 through 7,350 (of 64,430 total)
  • Author
    Search Results
  • #191204
    mauriziocrisanti
    Participant

    I installed the plugin BBpress and created a forum and two discussions. when I click on the forum preview from WP the url shows my home page. I confirmed the permalinks settings but the problem still exists. What can I do? thank you

    #191185
    fabioweb
    Participant

    Hello! As you can see here string is not translated but into bbpress-it_IT.po is already translated.
    This is a theme issue?
    https://ibb.co/fePX0H
    https://ibb.co/g3Wqnx

    Best regards

    #191175
    naseemib
    Participant

    Hello,
    i would like to know how to make my homepage as a forum. i mean when the user join my website he will directly see the forums. i dont want him to click the forum tab in menu and then join http://www.website.com/forum
    like this website : https://www.utehub.com/

    wordpres version : wordpress 4.9.4 , twent fifteen
    bbpress version : 2.5.14

    #191174
    kingofblingbling
    Participant

    The site use wordpress.org and the theme is OceanWP. So now anybody can prove to use the bbpress plugin and see the screen that I was posted.

    #191160
    erich199
    Participant

    Hi @robin-w,

    I managed to get this to work with this code
    I needed a custom role and I also needed to reorder it in my legend. This code made it work

    //BBpress Custom Roles // 
    function add_role_caps_filter( $caps, $role )
    {
        /* Only filter for roles we are interested in! */
        if( $role == 'bbp_lead' )
            $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 'tutor' role */
            case 'bbp_lead':
                return array(
                    // Primary caps
                    'spectate'              => true,
                    'participate'           => true,
                    'moderate'              => true,
                    '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'    => 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,
                );
     
                break;
     
            default :
                return $role;
        }
    }
    // End BBpress Custom Roles //
    
    //BBpress Rename Roles //
    add_filter( 'bbp_get_dynamic_roles', 'ntwb_bbpress_custom_role_names' );
    function ntwb_bbpress_custom_role_names() {
        return array(
    		// Keymaster
    		bbp_get_keymaster_role() => array(
    		'name' => 'Administrator',
    		'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() )
    		),
    		'bbp_lead' => array(
            'name' => 'Community Lead',
            'capabilities' => custom_capabilities( 'bbp_lead' )
            ),
    		// Moderator
    		bbp_get_moderator_role() => array(
    		'name' => 'Moderator',
    		'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() )
    		),
    		// Participant
    		bbp_get_participant_role() => array(
    		'name' => 'Member',
    		'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
    		),
    		// Spectator
    		bbp_get_spectator_role() => array(
    		'name' => 'Spectator',
    		'capabilities' => bbp_get_caps_for_role( bbp_get_spectator_role() )
    		),
    		// Blocked
    		bbp_get_blocked_role() => array(
    		'name' => 'Blocked',
    		'capabilities' => bbp_get_caps_for_role( bbp_get_blocked_role() )
    		)
    	);
    }
    //BBpress Rename Roles End //
    #191154
    cinsin
    Participant

    Reply from Members plugin author:

    bbPress roles are not editable and cannot be changed. They’re handled completely within bbPress. Members will only allow you to view uneditable roles and doesn’t itself change them.

    #191141
    Robin W
    Moderator

    The 2nd function assumes that you only have the default roles.

    Put this first and it should work ie

    //BBpress Rename Roles //
         /* BBPress Renaming Roles */
        add_filter( 'bbp_get_dynamic_roles', 'ntwb_bbpress_custom_role_names' , 1);
        function ntwb_bbpress_custom_role_names() {
        return array(
        // Keymaster
        bbp_get_keymaster_role() => array(
        'name' => 'Administrator',
        'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() )
        ),
        // Moderator
        bbp_get_moderator_role() => array(
        'name' => 'Moderator',
        'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() )
        ),
        // Participant
        bbp_get_participant_role() => array(
        'name' => 'Member',
        'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
        ),
        // Spectator
        bbp_get_spectator_role() => array(
        'name' => 'Spectator',
        'capabilities' => bbp_get_caps_for_role( bbp_get_spectator_role() )
        ),
        // Blocked
        bbp_get_blocked_role() => array(
        'name' => 'Blocked',
        'capabilities' => bbp_get_caps_for_role( bbp_get_blocked_role() )
        ));}
    //BBpress Rename Roles End //
    
    //BBpress Custom Roles // 
    function add_new_roles( $bbp_roles )
    {
        /* Add a role called tutor */
        $bbp_roles['bbp_lead'] = array(
            'name' => 'Community Lead',
            'capabilities' => custom_capabilities( 'bbp_lead' )
            );
     
        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_lead' )
            $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 'tutor' role */
            case 'bbp_lead':
                return array(
                    // Primary caps
                    'spectate'              => true,
                    'participate'           => true,
                    'moderate'              => true,
                    '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'    => 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,
                );
     
                break;
     
            default :
                return $role;
        }
    }
    // End BBpress Custom Roles //
    #191126
    jelliott2014
    Participant

    I am creating a forum for my club (about 60 members) containing a few forums and sub forums. I would like to have the content of all replies/topics that members create under eacb forum be displayed together. This would be greatly preferred from a user experience standpoint for a small forum.

    I can get all topic headings to appear, but then can view only one topic at a time. I have seen sites with this layout, so I’m missing something obvious.

    I am using bbPress 2.5.14 with WP 4.9.4. Also using bbPress style pack.

    Thanks.

    #191125
    kingofblingbling
    Participant

    It’s under the title “Forum” in the bar/header; I think is to default for all but I can explain better if you dont understand.

    erich199
    Participant

    Hi @robin-w,

    For some odd reason it’s making two post entries in bbpress. It’s showing duplicate topics on a “Recent Topic” widget and the url’s are different. It’s strange. I can let you take a look at my website if you have time.

    Thanks again for this, it really is great and helps me a lot.

    #191095
    wpturk
    Participant

    I use this to change default Profile URL (author link) to my custom Profile Page URL.

    How can I also change mention links to my custom profile page url?

    (bbpress 2.6 RC5)

    wpturk
    Participant

    I use the latest bbpress 2.6 RC5. The new feature mention is not working properly.

    Whenever a user has email address in the text body, the domain after “@” is considered as mention.

    ex: in text body info @ test.com (I use with space because the same case here in forum)

    changes to:


    @test
    .com”>info @test.com

    and @test is clickable as a mention.

    #191074

    In reply to: Creating Custom Search

    Adolfo Augusto
    Participant

    It was necessary create file bbpress.php, copy the files for folder(in my theme) bbpress: content-search, loop-search and pagination-search.

    how this post

    Getting Started in Modifying the Main bbPress Template

    for tamplate customized.

    #191072

    In reply to: Newsletter Integration

    Robin W
    Moderator

    it integrates to buddypress I believe

    Available Integrations

    and this may help

    bbPress Integration

    #191059
    Robin W
    Moderator

    It could be coded, but it would be an hours work and several calls. A plugin that relies on bbpress should check that when loaded, but whilst I know most of mine do, I couldn’t swear that they all do !!

    #191057
    erich199
    Participant

    Hello,
    I’m trying to rename the current roles as well as ADD new roles. When I add the filter to change the current role name, it doesn’t add the new user role I’ve added. If I remove that code, then the new user role shows up.

    This is the code I’m using.

    //BBpress Custom Roles // 
    function add_new_roles( $bbp_roles )
    {
        /* Add a role called tutor */
        $bbp_roles['bbp_lead'] = array(
            'name' => 'Community Lead',
            'capabilities' => custom_capabilities( 'bbp_lead' )
            );
     
        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_lead' )
            $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 'tutor' role */
            case 'bbp_lead':
                return array(
                    // Primary caps
                    'spectate'              => true,
                    'participate'           => true,
                    'moderate'              => true,
                    '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'    => 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,
                );
     
                break;
     
            default :
                return $role;
        }
    }
    // End BBpress Custom Roles //
    
    //BBpress Rename Roles //
         /* BBPress Renaming Roles */
        add_filter( 'bbp_get_dynamic_roles', 'ntwb_bbpress_custom_role_names' );
        function ntwb_bbpress_custom_role_names() {
        return array(
        // Keymaster
        bbp_get_keymaster_role() => array(
        'name' => 'Administrator',
        'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() )
        ),
        // Moderator
        bbp_get_moderator_role() => array(
        'name' => 'Moderator',
        'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() )
        ),
        // Participant
        bbp_get_participant_role() => array(
        'name' => 'Member',
        'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
        ),
        // Spectator
        bbp_get_spectator_role() => array(
        'name' => 'Spectator',
        'capabilities' => bbp_get_caps_for_role( bbp_get_spectator_role() )
        ),
        // Blocked
        bbp_get_blocked_role() => array(
        'name' => 'Blocked',
        'capabilities' => bbp_get_caps_for_role( bbp_get_blocked_role() )
        ));}
    //BBpress Rename Roles End //
    #191056

    In reply to: list of all functions

    Robin W
    Moderator

    would love to find the time to write it!!

    Like all open software bbpress relies on users to make it successful, and I’m not a bbpress author, just a user who got into it, and I wrote much of the ‘getting started’ guide as I installed my first bbpress site.

    If you want to help, then as above the key start point is the templates. Mapping these into a user understandable chart would be a great start, so go to

    bbpress/templates/default/bbress/content-archive-forum.php
    This is the first template called, and all the functions and templates you want to use will cascade from here.

    #191054

    In reply to: list of all functions

    Nate Zander
    Participant

    Bump. Would love an actually complete codex to help guide theme development.
    https://codex.bbpress.org/developer/ 🙁

    #191047
    haddlyapis
    Participant

    Hi there,
    the issue here is that I have several bbpress add-on plugins. If I deactivate BBpress before deactivating all of the add-on plugins (e.g. google translate, AsynCRONous bbPress Subscriptions, bbpress Toolkit etc) the website crashes. If I deactivate all of them first, then no problem.
    Is there is simple fix “if” statement that i can add to my functions.php file, whereby “if” Bbpress plugin is inactive, also make the following plugins inactive?
    Apart from that, this plugin is great.
    Thx

    #191046

    In reply to: signature separator

    Robin W
    Moderator

    bbpress doesn’t have a signature field. Are you using another plugin to do this ?

    #191039
    TechHaus
    Participant

    Thank you @robin-w! So the function I linked to activated the feature, and then I was able to copy the content-single-topic-lead.php into a bbpress folder in my theme, and edit it a bit like in your link. Feeling good about it.

    I do have a question though, if anyone can help me figure this out (i’m new to php and am not familiar with the syntax). In the file https://meta.trac.wordpress.org/browser/sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/bbpress/loop-single-topic.php , on line 73, what this mean:

    `<?php bbp_show_lead_topic() ? bbp_topic_reply_count() : bbp_topic_post_count(); ?>’

    That’s one of the few places I see the function called at all in the templates they edited. Still digging and learning. Thanks for any help or ideas.

    kais12
    Participant

    Hi

    I used bbpress 2.6 RC 5 and migrated and an SMF forum to bbpress. All went well but the users ae being shown wrong posts .

    Some users had 12000+ posts in SMF and now they have 2700 or 3000

    Help please!

    Kais

    #190997
    discusspf
    Blocked

    Hi, I am using bbPress 2.5 here: https://discusspf.com/community/

    My problem is occurring as follows: I have the forum set up so it displays the recent topics as a shortcode on a page for the forum. This works fine for me (keymaster) and displays a create topic box at the bottom of the forum. However, for normal users it displays that they cannot create topics on the forum index, but when they navigate to a particular forum area they are able to create topics then. What is causing this issue and how might I fix it?

    Thanks in advance.

    #190993
    Robin W
    Moderator
    #190992
    TechHaus
    Participant

    Ok, found this… still digging…

    bbp_show_lead_topic

Viewing 25 results - 7,326 through 7,350 (of 64,430 total)
Skip to toolbar