Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 1,426 through 1,450 (of 64,423 total)
  • Author
    Search Results
  • Robin W
    Moderator

    in effect they are one and the same thing.

    bbpress just uses the wordpress user with an additional role.

    If you want to prevent users from accessing the forum but still have site access you can use the ‘blocked’ role or set ‘no role’ and/or not set a default role in dashboard>settings>forums

    #234527
    sourfew
    Participant

    Hi

    Post new topic is about 8 sec.
    Put a post in trash about 30 sec.
    Delete a post is about 7 sec.
    Post a reply 4 sec.

    Viewing topics etc is fine with page load time about 0.5-1 sec.
    Forum size 37k posts 280k replies.
    Total in bbPress 95k posts and 650k replies.
    Smaller forums are faster.

    Is this expected or is there a way to speed things up?
    WP 5.9.5 bbPress 2.6.9. Disabling all plugins do not make any difference.
    Fast VPS with 8 cores, 32GB mem, SSD disks.

    Regards
    /Stefan

    #234517
    cbreezy
    Participant

    Took awhile but I fixed it by adding this code to the bbpress.css file in my child theme:

    #bbpress-forums div.bbp-reply-author a.bbp-author-link {
    padding: 0 0;
    }

    Marisa
    Participant

    If you delete a user in bbPress, does the WordPress user get deleted as well?

    #234491
    wpturk
    Participant

    It’s a bug since bbpress version 2.6.8. And it’s not fixed in 2.6.9

    https://bbpress.trac.wordpress.org/ticket/3445

    #234487
    wpturk
    Participant

    Hi, you can put this in your functions.php to fix the problem:

    if( !function_exists( 'bbpress_browser_supports_js' ) ){
            function bbpress_browser_supports_js() {
                    echo '<script>document.body.classList.remove("no-js");</script>';
            }
            add_action( 'wp_footer', 'bbpress_browser_supports_js' );
    }
    Robin W
    Moderator

    if you check out

    dashboard>settings>bbp style pack>other bbpress plugins you will find several that deal with parts of your list

    post count is in style pack

    user ranking is a plugin listed

    there are upload plugins there

    #234482
    Robin W
    Moderator

    if you are seeing emails, I suspect the problem is downstream from your site, and that spam detectors in the various mail providers are seeing emails with lots of bcc’s as spam.

    I would first see that emails are being sent by using

    Check & Log Email

    and setting it up to log emails

    You can then see what is being sent.

    If emails are going, then you might need to change the ‘from’ email address that bbpress uses to a real one on your domain, or by setting up the ‘noreply@’ email as a real one on your domain, you hoster will help you here if you don’t know how to do that.

    Finally you could use this plugin :

    AsynCRONous bbPress Subscriptions

    to send the emails one at a time. Whilst old it still works fine.

    #234479
    jelliott2014
    Participant

    I’ve looked thru previous posts on this topic without success; hopefully you can help.

    I have created a forum that several users of my site have subscribed to. When anyone creates a new topic or post to the forum, neither I nor other subscribers are notified. I do see an email sent to noreply@(MyDomain) notifying me of a post sent by me, but copies are not received by others who are subscribed (which I believe should be bcc’d). I am certain I’m overlooking something; can you help?
    Do users need to be logged into the website to receive an email?

    bbPress ver. 2.6.9
    Astra Theme ver. 4.02

    #234476
    cbreezy
    Participant

    I am customizing my bbPress installation and I have encountered an issue where there are two rectangles to the left and under-neath a user’s avatar on a post that appear to be misaligned. When I inspect element they appear to be bbp-reply-author or bbp-author-link, I can’t find where to edit this in css or in the bbpress functions. Does anyone know where I can look to fix this?

    My theme is a modified version of Seedlet and I am using the latest bbPress and WordPress versions.

    Here is a screen grab highlighting the issue:

    View post on imgur.com

    wpturk
    Participant

    This is the good part of bbpress. You don’t have hundreds of features you don’t need. As you mentioned, everything you need can be added via plugins or code customizations. (functions.php)

    Maybe, you can tell us which features you are missing? For example you can check the plugin “GD bbPress Toolbox” which adds many features to your bbpress forum.

    admiraljuicy
    Participant

    Hi, new to BBpress.

    I’ve noticed that there aren’t a lot of options regrading the customization of the forum, at least on the front end and you need to install additional plugins if you want to get more functionality or make things simpler to customize.

    My question is, are there any plugins that allow me to have features that are commonplace in other forum software, like who is online at the bottom, different icons for new/unread forums/posts.

    Essentially, I want to know what plugins are pretty much must haves for BBpress, I already have the BB style pack plugin which has helped immensely, but it’s still not enough. If there’s a tutorial out there to get all of the customization I’m after than I’d highly appreciate the help as well.

    I am using the latest version of wordpress and BBpress.
    The forum in question: https://sonic-city.net/forum/

    Thanks in advance

    #234472
    lesd1315
    Participant

    Thank you – I wasn’t aware of all the tools for bbPress. That solves the problem.

    #234467
    lesd1315
    Participant

    Many, many forum replies were accidentally put in trash. I want to get them back to where they belong.

    • I have tried to use bulk action to Restore them but then they show up as Draft
    • once they appear as Draft there is no bulk action to Approve them
    • when I bulk Edit them to change Status to Published they appear in the Forums as recent activity even though they could be several years old.

    Can I use MySQL in the database to change the forum replies to where they were before being trashed? If so, in which database table and which fields are these values set?

    WP version: 6.1.1
    bbPress version: 2.6.9
    using child theme based on Enfold 5.4.1

    Forums are at https://canadianvintageradio.com/cvrs-forums/

    #234456
    crsikes01
    Participant

    Certainly. This is the code to generate the new shortcode in functions.php or wherever your custom code is located:

    add_shortcode( 'custom_bbp-search', 'custom_bbp_search_shortcode' );
    function custom_bbp_search_shortcode( $atts ) {
    	$search_string = str_replace("-", " ", sanitize_title($_GET['bbp_search']));
            return do_shortcode( '[bbp-search search="'. $search_string .'"]' );
    }

    For the new page, just set up a new page (I called mine Forum Search with a url of /forum-search/) with the shortcode [custom_bbp-search] added.

    Finally, for the search form template, just copy wp-content/plugins/bbpress/templates/default/bbpress/form-search.php into wp-content/themes/[mythemename]/bbpress/form-search.php and replace the opening <form> line with the following:

    <form role="search" method="get" id="bbp-search-form" action="/forum-search/">

    #234454
    erich199
    Participant

    Re-posting this. For some reason my original post got marked as spam. So, this time I took out the screenshot link.

    I wanted to share some code I cooked up for one of my sites. I want to disclaimer that I’m not a professional coder but through lots of trail, error, and zero hair left I’ve found this code works very well for my website.

    There are two functions. The first one creates a “New Topic” button and uses a template hook to display it above the forum list. The second function does the same thing, but just uses a hook to display the button over the single topic display to create a “New Reply” button. The second function is basically the first function but renamed and uses a different template hook.

    These buttons, when clicked, open a modal that has the shortcode for a new topic/new reply. The code also passes the current forum id into the shortcode, so there is no need for the user to select a forum from the drop down menu. In my screenshot, I’ve enabled the WYSWYG TinyMCE editor and all buttons on it work properly. In addition, I’ve fixed it so that the user can’t accidentally close the modal. They have to physically click on the “Close” button in order to close it. I decided to do this for simplicity sake and so my users won’t accidentally click off the screen and close the modal.

    I made it because I was tired of users getting confused about the new topic/new reply topic area of bbpress. So, in order to bring it more in line with other forum software I made this code (through many trial and errors). I hope that it can help anyone in the community who’s using bbpress for their forums. Oh, I also made sure it displays nicely in mobile size screens. I added a screenshot to show people what it looks like.

    Modal Example

    
    /*
    This function adds the New Topic button to bbpress above the forum list template
    */
    
    function add_new_topic_button() {
        $forum_id = bbp_get_forum_id();
        ?>
        <button id="new-topic-button">New Topic</button>
        <div id="new-topic-modal">
            <button id="close-modal-button">Close</button>
            <div class="modal-content">
                <?php echo do_shortcode('[bbp-topic-form forum_id=' . $forum_id . ']'); ?>
            </div>
        </div>
        <script>
        jQuery(document).ready(function($) {
            var newTopicButton = $('#new-topic-button');
            var modal = $('#new-topic-modal');
            var close = $('#close-modal-button');
            newTopicButton.click(function() {
                modal.show();
                setTimeout(function() {
                    if (typeof bp !== 'undefined' && typeof bp.mentions !== 'undefined') {
                        bp.mentions.tinyMCEinit();
                    }
                }, 1000);
            });
            close.click(function() {
                modal.hide();
            });
            $('textarea#bbp_topic_content').addClass('bbp_topic_content');
        });
        </script>
        <style>
        #new-topic-modal {
            display: none;
            position: fixed;
            z-index: 999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.6);
        }
        .modal-content {
            background-color: #fefefe;
            margin: auto;
            padding: 20px;
            border: 1px solid #888;
            width: 50%;
            max-width: 600px;
            border-radius: 5px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        #close-modal-button {
            color: #aaaaaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            margin-right: 10px;
            margin-top: 40px;
        }
        #close-modal-button:hover,
        #close-modal-button:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }
        @media only screen and (max-width: 600px) {
            .modal-content {
                width: 90%;
                max-width: 90%;
            }
        }
        </style>
        <?php
    }
    add_action('bbp_template_before_single_forum', 'add_new_topic_button');
    
    
    /*
    This function adds the New Reply button to bbpress above the single topic template
    */
    
    function add_new_reply_button() {
        $forum_id = bbp_get_forum_id();
        ?>
        <button id="new-topic-button">New Topic</button>
        <div id="new-topic-modal">
            <button id="close-modal-button">Close</button>
            <div class="modal-content">
                <?php echo do_shortcode('[bbp-reply-form forum_id=' . $forum_id . ']'); ?>
            </div>
        </div>
        <script>
        jQuery(document).ready(function($) {
            var newTopicButton = $('#new-topic-button');
            var modal = $('#new-topic-modal');
            var close = $('#close-modal-button');
            newTopicButton.click(function() {
                modal.show();
                setTimeout(function() {
                    if (typeof bp !== 'undefined' && typeof bp.mentions !== 'undefined') {
                        bp.mentions.tinyMCEinit();
                    }
                }, 1000);
            });
            close.click(function() {
                modal.hide();
            });
            $('textarea#bbp_topic_content').addClass('bbp_topic_content');
        });
        </script>
        <style>
        #new-topic-modal {
            display: none;
            position: fixed;
            z-index: 999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.6);
        }
        .modal-content {
            background-color: #fefefe;
            margin: auto;
            padding: 20px;
            border: 1px solid #888;
            width: 50%;
            max-width: 600px;
            border-radius: 5px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        #close-modal-button {
            color: #aaaaaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            margin-right: 10px;
            margin-top: 40px;
        }
        #close-modal-button:hover,
        #close-modal-button:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }
        @media only screen and (max-width: 600px) {
            .modal-content {
                width: 90%;
                max-width: 90%;
            }
        }
        </style>
        <?php
    }
    add_action('bbp_template_before_single_topic', 'add_new_reply_button');
    
    
    /*
    This function calls the Buddypress js file to bbpress pages only so that @mentions can work in the modal
    */
    
    function enqueue_buddypress_js() {
        if ( function_exists( 'bp_is_active' ) && bp_is_active( 'mentions' ) ) {
            wp_enqueue_script( 'bp-mentions-js' );
        }
    }
    add_action( 'wp_enqueue_scripts', 'enqueue_buddypress_js' );
    
    
    /* Additional Custom Forum Modal CSS This will hide the default new topic/reply form boxes but shouldn't hide the ones inside of the modal */ 
    
    .modal-content .bbp-topic-form, .modal-content .bbp-reply-form {
    	padding-top: 5px;
    	padding-bottom: 5px;
    	margin-top: 5px;
    	margin-bottom: 5px;
    }
    
    .bbpress-wrapper > .bbp-topic-form {
      display: none;
    }
    
    .modal-content .bbp-topic-form legend {
    	display: none;
    }
    
    #new-topic-button {
      float: right;
      margin-right: 10px;
    }
    
    #bbpress-forums > .bbp-reply-form {
    	display: none;
    }
    
    #234453
    webcreations907
    Participant

    You could use the below which should add your registration link to that form.

    Add to your functions.php file in your theme.

    
    if(!function_exists('dnk_add_registration_link')){
    	function dnk_add_registration_link(){
    		if( function_exists('is_bbpress') && is_bbpress() ){
    			echo '<p>Don\'t have an account? <a href="'.esc_attr( wp_registration_url() ).'">Register</a></p>';
    		}
    	}
    }
    add_action( 'login_form','dnk_add_registration_link' ,10 );
    
    
    #234451
    wpturk
    Participant

    Unfortunately, register link ist not something you can activate via settings for this part of forum.

    You need to modify this file: form-user-login.php

    Best way would be to create a bbpress direcrory in your child theme and copy this file there and modify.

    You can also make use of the [bbp-register] shortcode.

    I hope this helps.

    #234450
    dnashif
    Participant

    I think you are right. It is showing as a default wp template.

    I wish BBpress had a shortcode to add to a page for the search results. Seems logical since they have other shortcodes that it would be a no brainer for them to create one.

    Or even function code to put in my child theme functions file. I am not a developer so nothing I can do.

    Seen other people commenting about the search results page. Don’t think BBpress cares though!

    Appreciate your looking at this for me wpturk.

    You are a super hero!

    Diana

    #234444
    erich199
    Participant

    I wanted to share some code I cooked up for one of my sites. I want to disclaimer that I’m not a professional coder but through lots of trail, error, and zero hair left I’ve found this code works very well for my website.

    There are two functions. The first one creates a “New Topic” button and uses a template hook to display it above the forum list. The second function does the same thing, but just uses a hook to display the button over the single topic display to create a “New Reply” button. The second function is basically the first function but renamed and uses a different template hook.

    These buttons, when clicked, open a modal that has the shortcode for a new topic/new reply. The code also passes the current forum id into the shortcode, so there is no need for the user to select a forum from the drop down menu. In my screenshot, I’ve enabled the WYSWYG TinyMCE editor and all buttons on it work properly. In addition, I’ve fixed it so that the user can’t accidentally close the modal. They have to physically click on the “Close” button in order to close it. I decided to do this for simplicity sake and so my users won’t accidentally click off the screen and close the modal.

    I made it because I was tired of users getting confused about the new topic/new reply topic area of bbpress. So, in order to bring it more in line with other forum software I made this code (through many trial and errors). I hope that it can help anyone in the community who’s using bbpress for their forums. Oh, I also made sure it displays nicely in mobile size screens. I added a screenshot to show people what it looks like.

    https://img.iwebnow.net/screenshots/popup.jpg

     
    /*
    This function adds the New Topic button to bbpress above the forum list template
    */
    
    function add_new_topic_button() {
        $forum_id = bbp_get_forum_id();
        ?>
        <button id="new-topic-button">New Topic</button>
        <div id="new-topic-modal">
            <button id="close-modal-button">Close</button>
            <div class="modal-content">
                <?php echo do_shortcode('[bbp-topic-form forum_id=' . $forum_id . ']'); ?>
            </div>
        </div>
        <script>
        jQuery(document).ready(function($) {
            var newTopicButton = $('#new-topic-button');
            var modal = $('#new-topic-modal');
            var close = $('#close-modal-button');
            newTopicButton.click(function() {
                modal.show();
                setTimeout(function() {
                    if (typeof bp !== 'undefined' && typeof bp.mentions !== 'undefined') {
                        bp.mentions.tinyMCEinit();
                    }
                }, 1000);
            });
            close.click(function() {
                modal.hide();
            });
            $('textarea#bbp_topic_content').addClass('bbp_topic_content');
        });
        </script>
        <style>
        #new-topic-modal {
            display: none;
            position: fixed;
            z-index: 999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.6);
        }
        .modal-content {
            background-color: #fefefe;
            margin: auto;
            padding: 20px;
            border: 1px solid #888;
            width: 50%;
            max-width: 600px;
            border-radius: 5px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        #close-modal-button {
            color: #aaaaaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            margin-right: 10px;
            margin-top: 40px;
        }
        #close-modal-button:hover,
        #close-modal-button:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }
        @media only screen and (max-width: 600px) {
            .modal-content {
                width: 90%;
                max-width: 90%;
            }
        }
        </style>
        <?php
    }
    add_action('bbp_template_before_single_forum', 'add_new_topic_button');
    
    
    
    /*
    This function adds the New Reply button to bbpress above the single topic template
    */
    
    function add_new_reply_button() {
        $forum_id = bbp_get_forum_id();
        ?>
        <button id="new-topic-button">New Topic</button>
        <div id="new-topic-modal">
            <button id="close-modal-button">Close</button>
            <div class="modal-content">
                <?php echo do_shortcode('[bbp-reply-form forum_id=' . $forum_id . ']'); ?>
            </div>
        </div>
        <script>
        jQuery(document).ready(function($) {
            var newTopicButton = $('#new-topic-button');
            var modal = $('#new-topic-modal');
            var close = $('#close-modal-button');
            newTopicButton.click(function() {
                modal.show();
                setTimeout(function() {
                    if (typeof bp !== 'undefined' && typeof bp.mentions !== 'undefined') {
                        bp.mentions.tinyMCEinit();
                    }
                }, 1000);
            });
            close.click(function() {
                modal.hide();
            });
            $('textarea#bbp_topic_content').addClass('bbp_topic_content');
        });
        </script>
        <style>
        #new-topic-modal {
            display: none;
            position: fixed;
            z-index: 999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.6);
        }
        .modal-content {
            background-color: #fefefe;
            margin: auto;
            padding: 20px;
            border: 1px solid #888;
            width: 50%;
            max-width: 600px;
            border-radius: 5px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        #close-modal-button {
            color: #aaaaaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            margin-right: 10px;
            margin-top: 40px;
        }
        #close-modal-button:hover,
        #close-modal-button:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }
        @media only screen and (max-width: 600px) {
            .modal-content {
                width: 90%;
                max-width: 90%;
            }
        }
        </style>
        <?php
    }
    add_action('bbp_template_before_single_topic', 'add_new_reply_button');
    
    
    
    /*
    This function calls the Buddypress js file to bbpress pages only so that @mentions can work in the modal
    */
    
    function enqueue_buddypress_js() {
        if ( function_exists( 'bp_is_active' ) && bp_is_active( 'mentions' ) ) {
            wp_enqueue_script( 'bp-mentions-js' );
        }
    }
    add_action( 'wp_enqueue_scripts', 'enqueue_buddypress_js' );
    
    
    /* Additional Custom Forum Modal CSS This will hide the default new topic/reply form boxes but shouldn't hide the ones inside of the modal */ 
    
    .modal-content .bbp-topic-form, .modal-content .bbp-reply-form {
    	padding-top: 5px;
    	padding-bottom: 5px;
    	margin-top: 5px;
    	margin-bottom: 5px;
    }
    
    .bbpress-wrapper > .bbp-topic-form {
      display: none;
    }
    
    .modal-content .bbp-topic-form legend {
    	display: none;
    }
    
    #new-topic-button {
      float: right;
      margin-right: 10px;
    }
    
    #bbpress-forums > .bbp-reply-form {
    	display: none;
    }
    
    #234435
    wpturk
    Participant

    Diana, maybe this link helps you. https://wpengine.com/support/run-query-phpmyadmin/

    In bbpress, topics and replies are kept in wp_posts table, so the above SQL statement lists all users with no replies and no topics. The second part of the statement checks the wp_comments table. Since if a user has no replies & topics in the forum but has a wordpress comment, the user will not be listed, and vice versa.

    Please first also check your table prefix, the SQL statement is for: wp_

    If you still have problems, you can contact me via move2media.com

    #234427
    dnashif
    Participant

    Will this also find any user who did not create a topic or a reply in bbpress?

    #234423

    In reply to: Report a post

    thebatdude
    Participant

    any updates for free or pay version to do this or other options?
    I’m not sure how this isn’t standard or easily available. Is this an indication that bbPress is lagging behind?

    #234408
    Mike Witt
    Participant

    I continue to get a lot of PHP Deprecated notices for blacklist_keys. I really don’t know where they’re coming from, but I notice that in bbpress/includes/common/functions.php, in the function bbp_check_for_moderation, there’s this:

    $option_name = ‘blacklist_keys’;

    I wonder if that should be changed to ‘disallowed_keys’

    #234386
    nobody
    Participant

    member can’t subscribe to forums, while subscribing to topics is doable. Anyone can help me ?

    bbpress version 2.6.9
    buddypress version Version 11.1.0
    using astra themes version 4.0.2

Viewing 25 results - 1,426 through 1,450 (of 64,423 total)
Skip to toolbar