Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 8,576 through 8,600 (of 64,427 total)
  • Author
    Search Results
  • bobibrown0
    Participant

    I’ve been searching for an answer, that I couldn’t find here. It was actually quite easy to find the solution by myself. But just in case someone need do to this too, this is how you do it:

    -> Create a new folder named “bbpress” at the root of your wordpress theme:
    /wp-content/themes/YOURTHEMENAME/bbpress/

    -> Find the file named “content-single-forum.php” located here:
    /wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.php
    and copy into your newly created folder:
    /wp-content/themes/YOURTHEMENAME/bbpress/content-single-forum.php

    Now bbpress will use this file instead, if your “YOURTHEMENAME” is in use.

    -> Open the file under
    /wp-content/themes/YOURTHEMENAME/bbpress/content-single-forum.php
    Go to line 48, and you should find this:
    <?php bbp_get_template_part( 'form', 'topic' ); ?>
    Comment this line this way:
    <?php //bbp_get_template_part( 'form', 'topic' ); ?>

    And you’re done! Easy and clean!

    Of course you might want to add a button to create a new topic.
    You can do it, following these steps:

    https://bbpress.org/forums/topic/how-to-add-new-topic-button/

    #185682

    In reply to: Multiple Forum Indexes

    lulukala
    Participant

    @Robin: I had heard bbpress tends to heavily bog down when the forum structure gets so dense with so many forums and subforums? Is it possible a multisite sharing users with independent forums might be a better solution to the OP’s request?

    Of course, I’m assuming that it’s possible for a multisite network to have a single set of user profile data as well [rather than simply sharing user names and logins and such.] If that’s not possible please let me know.

    #185676
    rouviere
    Participant

    My apologies if this has been asked before, but this is my first post to this forum.

    Because of a tsunami of spam on our site I’ve installed bbPress Moderation. This has not been updated for a couple of years but still enables moderating comments to our bbPress forum (currently running 2.5.12).

    I have two questions:

    1. Is bbPress Moderation the best moderation solution for bbPress at this time? If not, is there something else?

    2. Currently only Administrators can moderate comments. We would like to assign this task to users that are not Administrators. Is it possible to delegate this role? If so, how?

    Thanks in advance for the help.

    #185671
    Robin W
    Moderator

    hard to judge as you only showed a postbox size image, but doesn’t look like bbpress

    #185670
    margley
    Participant

    Yes. I’m currently using buddypress for my site. Since this is a bbpress section, I thought it would be tied to that plugin.

    Shmoo
    Participant

    Just curious, years ago there was lot’s of talk about performance of bbPress for support-forums with high volume content. I believe it had something to do with the last query of the freshness time inside the loop.

    Is this still an issue today? Else, what is the best setup to achieve content on a yearly or two yearly base. Maybe something like a permalink setup like this if it’s possible:

    example.com/forums/2017/post-title/

    If so you could easily export and archive all 2017-2018 posts and upload them as static HTML pages to your server. After that, you’ll delete all those 2017-2018 posts from the database to keep it light and steady.

    #185660
    tweichart
    Participant

    i don’t know, just clicked update in my wordpress installation… https://wordpress.org/plugins/bbpress/ shows 2.5.13 too btw, last updated 13 hours ago

    VinceS2
    Participant

    If there is a “closing topic” task, this one was relisted per below and solved. Changed back from php 7.1.7 to 7.0.21 and issue totally fixed it.

    Fatal error: Uncaught Error: [] operator not supported – any clues?

    Robin W
    Moderator

    Suspect you are using php 7.1
    so 3 fixes
    1. downgrade to a lesser version of php
    2. upgrade to bbpress 2.6rc3
    3. in bbpress 2.5.12 change line 1851 from
    $meta_query = $posts_query->get( ‘meta_query’ );
    to
    $meta_query = $posts_query->get( ‘meta_query’, array() );
    Since the next upgrade will fix that anyway, no issue in changing the bbpress file
    best I can offer I’m afraid

    VinceS2
    Participant

    Hi,
    I am using the bbPress forum at the moment for one way communication – later I expect it to become more interactive but for now it is more a record of the underlying story and issues. So I don’t check it often, last time was a month ago. Now it went to 404’s and page missing for everything. So I got the bright idea to run the Tool to repair it and selected everything. Now I only get errors for forums but the topics are working again.

    See https://www.vrdriversim.com.au/forums/forum/technical/ for an example of the problem. Here is an excerpt, with myaddress inserted where my actual address was. Its a security thing for the long term.

    Fatal error: Uncaught Error: [] operator not supported for strings in /home/myaddress/public_html/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /home/myaddress/public_html/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /home/myaddress/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2

    Yet in the WP admin panel I can see all the forums and they look fine. Here is an example of a working topic link: https://www.vrdriversim.com.au/forums/topic/green-screening/ which is a topic in the earlier given error example forum link.

    I am also struggling to find exactly where the real files should be, so I can look there and see if they exist, or deal with restoring from back-ups, which I have, if necessary – once I understand what has gone wrong here in the first place! Could it be WP 4.8? I am on php 7.0.21, Apache server

    I tried disable all other plugins, no apparent difference. I turned them all back on, still the same. Tried installing 2012 theme, no change (to forum link fails).

    Over the last few days I have regularly deactivated and reactivated bbPress as part of working with the author of another plugin to find out why their admin panel is behaving weirdly (basically scripts not running without a page refresh or at all). So does deactivating bbPress break it at some level? Seems, from other posts here, it does for others, sometimes. Me too? How, or how fix is the more important q – stopping the behaviour comes later…

    I posted this topic here: https://bbpress.org/forums/topic/vanished-forum-but-topics-remain-is-it-a-wp-4-8-issue/ but it isn’t listed in Troubleshooting and my profile says I haven’t started any topics. More weirdness. So 24hrs later I am trying again, few more details this time.

    pandraka
    Participant

    WordPress 4.8
    PHP 7
    bbpress 2.5.12
    buddypress 2.8.2

    I’m using group types on my bbpress/buddypress site. I’ve had to get creative when it comes to breadcrumbs. There was one minor changes to the bbp_get_breadcrumb function that I had to make to make the breadcrumbs work. I copied the function into my functions.php and added a filter. I’m getting an error/notice:
    Notice: Use of undefined constant mod_bbp_get_breadcrumb – assumed ‘mod_bbp_get_breadcrumb’

    The function is doing exactly what I want it to do. but this error is showing up. The functions is originally located in bbpress/includes/common/template.php file

    here’s the code:

    <?php
    function mod_bbp_get_breadcrumb( $args = array() ) {

    // Turn off breadcrumbs
    if ( apply_filters( ‘bbp_no_breadcrumb’, is_front_page() ) )
    return;

    // Define variables
    $front_id = $root_id = 0;
    $ancestors = $crumbs = $tag_data = array();
    $pre_root_text = $pre_front_text = $pre_current_text = ”;
    $pre_include_root = $pre_include_home = $pre_include_current = true;

    /** Home Text *********************************************************/

    // No custom home text
    if ( empty( $args[‘home_text’] ) ) {

    $front_id = get_option( ‘page_on_front’ );

    // Set home text to page title
    if ( !empty( $front_id ) ) {
    $pre_front_text = get_the_title( $front_id );

    // Default to ‘Home’
    } else {
    $pre_front_text = __( ‘Home’, ‘bbpress’ );
    }
    }

    /** Root Text *********************************************************/

    // No custom root text
    if ( empty( $args[‘root_text’] ) ) {
    $page = bbp_get_page_by_path( bbp_get_root_slug() );
    if ( !empty( $page ) ) {
    $root_id = $page->ID;
    }
    $pre_root_text = bbp_get_forum_archive_title();
    }

    /** Includes **********************************************************/

    // Root slug is also the front page
    if ( !empty( $front_id ) && ( $front_id === $root_id ) ) {
    $pre_include_root = false;
    }

    // Don’t show root if viewing forum archive
    if ( bbp_is_forum_archive() ) {
    $pre_include_root = false;
    }

    // Don’t show root if viewing page in place of forum archive
    if ( !empty( $root_id ) && ( ( is_single() || is_page() ) && ( $root_id === get_the_ID() ) ) ) {
    $pre_include_root = false;
    }

    /** Current Text ******************************************************/

    // Search page
    if ( bbp_is_search() ) {
    $pre_current_text = bbp_get_search_title();

    // Forum archive
    } elseif ( bbp_is_forum_archive() ) {
    $pre_current_text = bbp_get_forum_archive_title();

    // Topic archive
    } elseif ( bbp_is_topic_archive() ) {
    $pre_current_text = bbp_get_topic_archive_title();

    // View
    } elseif ( bbp_is_single_view() ) {
    $pre_current_text = bbp_get_view_title();

    // Single Forum
    } elseif ( bbp_is_single_forum() ) {
    $pre_current_text = bbp_get_forum_title();

    // Single Topic
    } elseif ( bbp_is_single_topic() ) {
    $pre_current_text = bbp_get_topic_title();

    // Single Topic
    } elseif ( bbp_is_single_reply() ) {
    $pre_current_text = bbp_get_reply_title();

    // Topic Tag (or theme compat topic tag)
    } elseif ( bbp_is_topic_tag() || ( get_query_var( ‘bbp_topic_tag’ ) && !bbp_is_topic_tag_edit() ) ) {

    // Always include the tag name
    $tag_data[] = bbp_get_topic_tag_name();

    // If capable, include a link to edit the tag
    if ( current_user_can( ‘manage_topic_tags’ ) ) {
    $tag_data[] = ‘‘ . esc_html__( ‘(Edit)’, ‘bbpress’ ) . ‘‘;
    }

    // Implode the results of the tag data
    $pre_current_text = sprintf( __( ‘Topic Tag: %s’, ‘bbpress’ ), implode( ‘ ‘, $tag_data ) );

    // Edit Topic Tag
    } elseif ( bbp_is_topic_tag_edit() ) {
    $pre_current_text = __( ‘Edit’, ‘bbpress’ );

    // Single
    } else {
    $pre_current_text = get_the_title();
    }

    /** Parse Args ********************************************************/

    // Parse args
    $r = bbp_parse_args( $args, array(

    // HTML
    ‘before’ => ‘<div class=”bbp-breadcrumb”><p>’,
    ‘after’ => ‘</p></div>’,

    // Separator
    ‘sep’ => is_rtl() ? __( ‘‹’, ‘bbpress’ ) : __( ‘›’, ‘bbpress’ ),
    ‘pad_sep’ => 1,
    ‘sep_before’ => ‘<span class=”bbp-breadcrumb-sep”>’,
    ‘sep_after’ => ‘</span>’,

    // Crumbs
    ‘crumb_before’ => ”,
    ‘crumb_after’ => ”,

    // Home
    ‘include_home’ => $pre_include_home,
    ‘home_text’ => $pre_front_text,

    // Forum root
    ‘include_root’ => $pre_include_root,
    ‘root_text’ => $pre_root_text,

    // Current
    ‘include_current’ => $pre_include_current,
    ‘current_text’ => $pre_current_text,
    ‘current_before’ => ‘<span class=”bbp-breadcrumb-current”>’,
    ‘current_after’ => ‘</span>’,
    ), ‘get_breadcrumb’ );

    /** Ancestors *********************************************************/

    // Get post ancestors
    if ( is_singular() || bbp_is_forum_edit() || bbp_is_topic_edit() || bbp_is_reply_edit() ) {
    $ancestors = array_reverse( (array) get_post_ancestors( get_the_ID() ) );
    }

    // Do we want to include a link to home?
    if ( !empty( $r[‘include_home’] ) || empty( $r[‘home_text’] ) ) {
    $crumbs[] = ‘‘ . $r[‘home_text’] . ‘‘;
    }

    // Do we want to include a link to the forum root?
    if ( !empty( $r[‘include_root’] ) || empty( $r[‘root_text’] ) ) {

    // Page exists at root slug path, so use its permalink
    $page = bbp_get_page_by_path( bbp_get_root_slug() );
    if ( !empty( $page ) ) {
    $root_url = get_permalink( $page->ID );

    // Use the root slug
    } else {
    $root_url = get_post_type_archive_link( bbp_get_forum_post_type() );
    }

    // Add the breadcrumb
    $crumbs[] = ‘‘ . $r[‘root_text’] . ‘‘;
    }

    // Ancestors exist
    if ( !empty( $ancestors ) ) {

    // Loop through parents
    foreach ( (array) $ancestors as $parent_id ) {

    // Parents
    $parent = get_post( $parent_id );

    // Skip parent if empty or error
    if ( empty( $parent ) || is_wp_error( $parent ) )
    continue;

    // Switch through post_type to ensure correct filters are applied
    switch ( $parent->post_type ) {

    // Forum
    case bbp_get_forum_post_type() :
    // PAA – modified
    //echo ‘forum title’. bbp_get_forum_title( $parent->ID) ;
    $test_title = bbp_get_forum_title( $parent->ID) ;
    if ($test_title == ‘Group Forums’){
    $base_url = bp_get_root_domain();
    $crumbs[] = ‘Groups‘;}
    else
    {$crumbs[] = ‘ID ) ) . ‘” class=”bbp-breadcrumb-forum”>’ . bbp_get_forum_title( $parent->ID ) . ‘‘; };

    break;

    // Topic
    case bbp_get_topic_post_type() :
    $crumbs[] = ‘ID ) ) . ‘” class=”bbp-breadcrumb-topic”>’ . bbp_get_topic_title( $parent->ID ) . ‘‘;
    break;

    // Reply (Note: not in most themes)
    case bbp_get_reply_post_type() :
    $crumbs[] = ‘ID ) ) . ‘” class=”bbp-breadcrumb-reply”>’ . bbp_get_reply_title( $parent->ID ) . ‘‘;
    break;

    // WordPress Post/Page/Other
    default :
    $crumbs[] = ‘ID ) ) . ‘” class=”bbp-breadcrumb-item”>’ . get_the_title( $parent->ID ) . ‘‘;
    break;
    }
    }

    // Edit topic tag
    } elseif ( bbp_is_topic_tag_edit() ) {
    $crumbs[] = ‘‘ . sprintf( __( ‘Topic Tag: %s’, ‘bbpress’ ), bbp_get_topic_tag_name() ) . ‘‘;

    // Search
    } elseif ( bbp_is_search() && bbp_get_search_terms() ) {
    $crumbs[] = ‘‘ . esc_html__( ‘Search’, ‘bbpress’ ) . ‘‘;
    }

    /** Current ***********************************************************/

    // Add current page to breadcrumb
    if ( !empty( $r[‘include_current’] ) || empty( $r[‘current_text’] ) ) {
    $crumbs[] = $r[‘current_before’] . $r[‘current_text’] . $r[‘current_after’];
    }

    /** Separator *********************************************************/

    // Wrap the separator in before/after before padding and filter
    if ( ! empty( $r[‘sep’] ) ) {
    $sep = $r[‘sep_before’] . $r[‘sep’] . $r[‘sep_after’];
    }

    // Pad the separator
    if ( !empty( $r[‘pad_sep’] ) ) {
    if ( function_exists( ‘mb_strlen’ ) ) {
    $sep = str_pad( $sep, mb_strlen( $sep ) + ( (int) $r[‘pad_sep’] * 2 ), ‘ ‘, STR_PAD_BOTH );
    } else {
    $sep = str_pad( $sep, strlen( $sep ) + ( (int) $r[‘pad_sep’] * 2 ), ‘ ‘, STR_PAD_BOTH );
    }
    }

    /** Finish Up *********************************************************/

    // Filter the separator and breadcrumb
    $sep = apply_filters( ‘bbp_breadcrumb_separator’, $sep );
    $crumbs = apply_filters( ‘bbp_breadcrumbs’, $crumbs );

    // Build the trail
    $trail = !empty( $crumbs ) ? ( $r[‘before’] . $r[‘crumb_before’] . implode( $sep . $r[‘crumb_after’] . $r[‘crumb_before’] , $crumbs ) . $r[‘crumb_after’] . $r[‘after’] ) : ”;

    return apply_filters( ‘mod_bbp_get_breadcrumb’, $trail, $crumbs, $r );
    }

    add_filter( ‘bbp_get_breadcrumb’,mod_bbp_get_breadcrumb, 98, 2);
    ?>

    At this point I’m not sure what else to do or if it’s ok to ignore the warning

    deserthighway
    Participant

    I get the following error when trying to import an existing smf forum using the import tool in the forums.

    WordPress database error: [Unknown character set: ‘utf8mb4’]
    SELECT convert(topics.id_topic USING “utf8mb4”) AS id_topic,convert(topics.num_replies USING “utf8mb4”) AS num_replies,convert(topics.id_board USING “utf8mb4”) AS id_board,convert(topics.id_member_started USING “utf8mb4”) AS id_member_started,convert(messages.poster_ip USING “utf8mb4”) AS poster_ip,convert(messages.body USING “utf8mb4”) AS body,convert(messages.subject USING “utf8mb4”) AS subject,convert(topics.locked USING “utf8mb4”) AS locked,convert(topics.is_sticky USING “utf8mb4”) AS is_sticky,convert(messages.poster_time USING “utf8mb4”) AS poster_time FROM smf_topics AS topics LEFT JOIN smf_messages AS messages ON topics.id_first_msg = messages.id_msg LIMIT 0, 100

    How do I get past this?

    WP Version 4.8
    bbpress version 2.5.12
    http://hbmm-national.org/HBMM-National-2017-Forum/
    (Site is just being started to build forum before going live as a subdomain)

    Thanks in advance for any help you can offer.

    R. Duane Gryder
    HonorBound Motorcycle Ministry

    VinceS2
    Participant

    Hi,
    I am using the bbPress forum at the moment for one way communication – later I expect it to become more interactive but for now it is more a record of the underlying story and issues. So I don’t check it often, last time was a month ago. Now it went to 404’s and page missing for everything. So I got the bright idea to run the Tool to repair it and selected everything. Now I only get errors for forums but the topics are working again.

    See https://www.vrdriversim.com.au/forums/forum/technical/ for an example of the problem. Here is an excerpt, with myaddress inserted where my actual address was. Its a security thing for the long term.

    Fatal error: Uncaught Error: [] operator not supported for strings in /home/myaddress/public_html/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /home/myaddress/public_html/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /home/myaddress/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2

    Yet in the WP admin panel I can see all the forums and they look fine. Here is an example of a working topic link: https://www.vrdriversim.com.au/forums/topic/green-screening/ which is a topic in the earlier given error example forum link.

    I am also struggling to find exactly where the real files should be, so I can look there and see if they exist, or deal with restoring from back-ups, which I have, if necessary – once I understand what has gone wrong here in the first place! Could it be WP 4.8? I am on php 7.0.21, Apache server

    And yes, I did disable all other plugins before writing this, although it made no apparent difference. I turned them all back on, still the same.

    PS: Just reading other topics and I should add – over the last few days I have regularly deactivated and reactivated bbPress as part of working with the author of another plugin to find out why their admin panel is behaving weirdly (basically scripts not running without a page refresh or at all). So does deactivating bbPress break it at some level? Seems it does for others, sometimes. Me too? How or how fix is the more important q – stopping the behaviour comes later…

    #185623
    Robin W
    Moderator

    interesting question

    I think bbpress just uses the wordpress pretty permalinks, so might be worth trying this plugin to see if you can change the default

    Edit Author Slug

    I’ve only read the page above, not tried it !

    Please do report back if it works (or if it doesn’t)

    #185621
    Robin W
    Moderator

    Firstly, when a user registers,

    bbpress just uses wordpress, so it should work if qordpress is working.

    Can you try using http://www.mysite.com/wp-login and see if that works.

    Also, when a user logs in, in the login bbpress widget, it still shows the username and password login boxes, but if I go into a sub forum, the widget then shows the users details.

    not sure what you mean here. On what page or post do you have this first widget?

    #185620
    gavinsims
    Participant

    Hi,
    I created a bbpress forum with my site and it seems to be working in general, but I have a few issues.
    Firstly, when a user registers, they don’t get the new user email. I checked all settings and can’t see why this would be. They appear in my users control panel, and if they selected “forgot password”, they then get a forgot password email, but no activation email. Anyone have any idea why this would be?

    Also, when a user logs in, in the login bbpress widget, it still shows the username and password login boxes, but if I go into a sub forum, the widget then shows the users details.

    I’ve looked into this since yesterday, but can’t seems to work out what I’m doing wrong. Can anyone please offer any help?
    Thank you

    #185619
    andrew55
    Participant

    Sorry for all the confusion. I was guessing this was a bbPress issue. After digging and digging, I discovered the issue is actually from this plugin:

    You Have a New (BuddyPress) Message

    It appears to be creating the paragraph and break, even when there is no message notice present. This is what’s causing the spacing issue. I really like plugin, so I will experiment to see how I can make it work.

    Also, did you get my email earlier? Just checking!

    #185618
    Robin W
    Moderator

    ok, a new page in a default theme has this

    <div class="entry-content">
    <div id="bbpress-forums">
    

    your page has this

    <div class="entry-content">
    <div style="clear: both"></div>
    <div class="the_champ_sharing_container the_champ_horizontal_sharing" super-socializer-data-href="https://www.lifeleap.org/community/">
    <div class="the_champ_sharing_title" style="font-weight:bold">Share:</div>
    <ul class="the_champ_sharing_ul">
    <li class="theChampSharingRound">
    <li class="theChampSharingRound">
    <li class="theChampSharingRound">
    <li class="theChampSharingRound">
    <li class="theChampSharingRound">
    </ul>
    <div style="clear:both"></div>
    </div>
    <div style="clear: both"></div>
    <p>
    <br>
    </p>
    <div id="bbpress-forums">

    Don’t think it’s bbpress

    #185617
    haddlyapis
    Participant

    Hi,
    Is there a way to also include the “Spectator” role and “No role for this forum” role in the top list of users? (see link below).
    It would make it easier to check who has recently signed up but hasn’t been assigned a “Participant” role for the forum.
    Thx.

    for BBPress Support forum

    #185614
    andrew55
    Participant

    The paragraph/break was there before the social icons were installed (Super Socializer). It’s just more obvious now.

    I thought paragraph/break was part of bbPress, but maybe I put them in there last year. I’ve been going through theme files and don’t see anything which should cause this.

    The into text and picture of hands is just a widget, which goes away after signup/login. I tested, and this isn’t the issue.

    Any suggestions for this strange issue?

    #185613

    In reply to: Members only forum

    lesan
    Participant

    For anyone with the same problem, this works for me:

    bbP Members Only

    #185611
    andrew55
    Participant

    On homepage of bbPress, using inspect, I found a strange paragraph with a break in it. You can see it hear between sharing buttons and search form:

    Online Spiritual Community – Free Psychic Readings, Law Of Attraction & More

    It’s causing quite a space between sharing buttons and search form. Any suggestions on where I might be able to edit/remove this in theme files? Been searching with no luck.

    Thanks for any help!

    #185604
    andrew55
    Participant

    Robin – That’s a powerful plugin. I’ve had it installed for some time. Should be part of bbPress core!

    In plugin, I see where you can change names of roles. This is helpful, but many of our roles are WP roles and custom roles (which I don’t see listed in plugin).

    Any other suggestion on how to change the name of a WP or custom role (just what displays on front-end)?

    For example, if I have a custom role “unsubscribed,” how can I change this to “Inactive”

    Thanks for any help.

    #185602
    Robin W
    Moderator

    ok, for bbpress roles, then my style pack plugin will let you change role names (and a whole lot more)

    bbp style pack

    go to settings>bbp style pack>forum roles

    #185601
    andrew55
    Participant

    Ok, I see now.

    Yes, it’s a role we are trying to change. We are doing some whacky things with roles. On frontend of bbPress, sometimes we display bbPress roles and sometimes standard WordPress roles.

    I was looking for a method to change how roles are displayed on frontend, without changing the actual name of the role in the database.

    For example, instead of “Participant,” is shows as “New Member”

    Or, instead of “Subscriber,” is shows as “Student”

    Maybe there are different methods to accomplish this for standard WordPress roles and bbPress roles?

    Thanks for any suggestions.

Viewing 25 results - 8,576 through 8,600 (of 64,427 total)
Skip to toolbar