Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 2,501 through 2,525 (of 64,430 total)
  • Author
    Search Results
  • #225842
    kevb8lly
    Participant

    Hi

    I have just installed bbPress. Things seem to be ok, except that someone posted something earlier and not all of his post is showing. When you edit the post you see it all, but when you save the post has the last couple of sentences missing.

    I’m assuming there is a setting somewhere, but I can’t find it.

    #225824
    dusemedia
    Participant

    That plugin works fine for the WP Classic Editor but not for the BBPress Teeny editor.

    The paste as plain text code in the documentation above works fine for the regular BBPress TinyMCE editor but not for the BBPress Teeny editor.

    #225808
    Robin W
    Moderator

    it’s a wordpress rather than bbpress issue.

    The documentation could be clearer, but that section refers to the tinymce not the text editor

    I’ve not tried it, but this might help

    Paste As Plain Text By Default

    #225801
    tumptyteapot
    Participant

    Hi
    I have a forum running through bbPress and a membership site running through Paid Memberships Pro. The site also has BuddyPress installed.

    We would like members to be able to add social media links and more info to their public bios. I’m not sure the best way to do this – would it be through bbPress or BuddyPress or PMPro? It doesn’t seem to be an out of the box thing on any of these plugins.

    I’m not clear what is doing what.

    Any advice would be very gratefully received.

    Rkarel
    Participant

    Hello! So, mistake url in BBpress’s forum pages will 404 https://bbpress.org/forums/topic/if-i-add-to-url-number-or-a-letter-the-page-is-still-available123/

    in Buddypress’s another sub-pages will be 404 too http://hunfis.ru/groups/gornitsa/members123/

    and only in Buddypress’s group forums will not 404. It is normally?

    #225780
    Robin W
    Moderator

    @oscowordpress1

    There is a temporary fix, either

    1. use code

    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' );
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    or

    2. install and activate

    bbp style pack

    #225768
    quilp
    Participant

    I’ll do that the next time the problem reoccurs to see if that clears the problem without deactivating bbpress.

    Was there something in the debug log that led you to this recommendation, or was it just the description of the problem of “Results Not Found” ?

    Thank you!

    Rkarel
    Participant

    Hello. I used last version WP+BP+bbPress and have many page doubles because of some bug.

    URL topic – http://hunfis.ru/groups/gornitsa/forum/topic/vesnyanka add for example – 123 and page still working http://hunfis.ru/groups/gornitsa/forum/topic/vesnyanka123 but must be 404…

    #225759
    Robin W
    Moderator
    #225755
    gillian0606
    Participant

    The bbPress forum in my LifterLMS members only course site shows up from a google search of the url, which is https://gillianriley.com

    This enables public access to all posts – very alarming for me to discover!

    Is there anything that can be done to make my forum private?

    WP 5.8.2
    bbPress 2.6.8

    #225745
    quilp
    Participant

    – is it to just one person, the same person, different people, all people accessing the site

    it affects all people using the site. Except for the home page, all other pages return the “No Results found message”

    – is the site unusable, does it freeze, or is it just if they try to do something ?

    The home page is accessible – the site does not “freeze,” but the blog page, all blog posts, the about page, the resources page and the forum simply display a “Results Not Found” message. If bbpress is deactivated, then all pages function properly again but, of course the forum does not. Reactivating bbpress restores forum functionality, but within a matter of days, the problem returns.

    #225728
    Robin W
    Moderator

    this is a temporary fix, the bbpress authors are looking at a permanent one

    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' );
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    #225727
    Robin W
    Moderator

    @johnjamesjacoby

    as far as I understand, the issue is detailed in changeset 7190 – yes?

    so it is basically to hide the ‘generate passwword’ in form-user-passwords.php if the user’s browser does not support js or it is disabled.

    If so, at the moment all bbpress pages end up with a no-js class as bbpress sets ‘no-js’ as the default, which means that the quicktags do not display on the topic and reply forms as they need js but the css thinks it is no-js, and the visual editor does not work for the same reasons.

    At the moment you only test for js using the script technique in form-user-passwords.php viz

    <script type="text/javascript">
    	document.body.className = document.body.className.replace( 'no-js', 'js' );
    </script>

    so I would suggest 1 of 2 approaches

    1. putting this test in more generally so it runs on any bbpress page (as usefully suggested by @webcreations907) maybe by adding to the main function, or adding a filter in \includes\core\filters.php to run the script

    so something like :

    add_filter ('bbp_body_class' , bbp_test_js) ;
    function bbp_test_js ($classes) {
    ?>
    <script type="text/javascript">
    	document.body.className = document.body.className.replace( 'no-js', 'js' );
    </script>
    <?php
    return $classes ;
    }

    so that others could disable it

    2. changing the class to bbp-no-js should work, if you do this in the bbp_body_class function and the form-user-passwords.php and in css, then I can no reason why it would not work if that is the sole intention of this.

    #225722
    maksanse
    Participant

    Thank you Robin & John for those detailed answers !


    @robin-w
    , you were right : I was trying to modify my page with this handler… what is not possible the way I intended.

    So I found a way to do my feature differently.

    Best regards and thank you 2 so much for your implication in bbpress 🙏

    #225721

    @robin-w – any suggestions on improvements bbPress should make?

    I was thinking of renaming no-js to bbp-no-js to try and avoid an issue with other plugins or themes already doing something with that class, but I’m not sure that solves this specific problem.

    #225717
    quilp
    Participant

    Following up on recommendation to turn debug on.

    BBPress is now Version 2.6.8

    With the most recent occurrence, I had debug mode on.

    To recap, periodically the blog page, blog posts, and bbpress forum return “No Results Found”

    Deactivating bbpress resolves the problem. bbpress can then be reactivated to restore forum functionality. Problem recurrs multiple times within a week.

    The last two occurrences of the issue were 6 days apart. Nov 17 and this morning Nov 23rd.

    debug log from 11/23

    23-Nov-2021 14:59:45 UTC] PHP Deprecated: get_option was called with an argument that is deprecated since version 5.5.0! The “blacklist_keys” option key has been renamed to “disallowed_keys”. in /home2/kingdqj0/public_html/wp-includes/functions.php on line 5495
    [23-Nov-2021 14:59:49 UTC] PHP Deprecated: get_option was called with an argument that is deprecated since version 5.5.0! The “blacklist_keys” option key has been renamed to “disallowed_keys”. in /home2/kingdqj0/public_html/wp-includes/functions.php on line 5495
    [23-Nov-2021 15:01:22 UTC] PHP Deprecated: get_option was called with an argument that is deprecated since version 5.5.0! The “blacklist_keys” option key has been renamed to “disallowed_keys”. in /home2/kingdqj0/public_html/wp-includes/functions.php on line 5495

    [23-Nov-2021 15:21:35 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bbp_get_user_topic_count_raw() in /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php:63
    Stack trace:
    #0 /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php(35): bur_display_counts(12415, ‘yes’)
    #1 /home2/kingdqj0/public_html/wp-includes/class-wp-hook.php(303): bur_display_counts_bp_profile(”)
    #2 /home2/kingdqj0/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array)
    #3 /home2/kingdqj0/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /home2/kingdqj0/public_html/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php(57): do_action(‘bp_before_membe…’)
    #5 /home2/kingdqj0/public_html/wp-includes/template.php(772): require(‘/home2/kingdqj0…’)
    #6 /home2/kingdqj0/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template(‘/home2/kingdqj0…’, false, Array)
    #7 /home2/kin in /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php on line 63
    [23-Nov-2021 15:21:38 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bbp_get_user_topic_count_raw() in /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php:63
    Stack trace:
    #0 /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php(35): bur_display_counts(12415, ‘yes’)
    #1 /home2/kingdqj0/public_html/wp-includes/class-wp-hook.php(303): bur_display_counts_bp_profile(”)
    #2 /home2/kingdqj0/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array)
    #3 /home2/kingdqj0/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /home2/kingdqj0/public_html/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php(57): do_action(‘bp_before_membe…’)
    #5 /home2/kingdqj0/public_html/wp-includes/template.php(772): require(‘/home2/kingdqj0…’)
    #6 /home2/kingdqj0/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template(‘/home2/kingdqj0…’, false, Array)
    #7 /home2/kin in /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php on line 63
    [23-Nov-2021 15:22:19 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bbp_get_user_topic_count_raw() in /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php:63
    Stack trace:
    #0 /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php(35): bur_display_counts(12415, ‘yes’)
    #1 /home2/kingdqj0/public_html/wp-includes/class-wp-hook.php(303): bur_display_counts_bp_profile(”)
    #2 /home2/kingdqj0/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array)
    #3 /home2/kingdqj0/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /home2/kingdqj0/public_html/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php(57): do_action(‘bp_before_membe…’)
    #5 /home2/kingdqj0/public_html/wp-includes/template.php(772): require(‘/home2/kingdqj0…’)
    #6 /home2/kingdqj0/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template(‘/home2/kingdqj0…’, false, Array)
    #7 /home2/kin in /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php on line 63
    [23-Nov-2021 15:26:06 UTC] PHP Notice: Undefined property: stdClass::$new_version in phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php on line 698
    [23-Nov-2021 15:26:06 UTC] PHP Notice: Undefined property: stdClass::$new_version in phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php on line 698
    [23-Nov-2021 15:26:06 UTC] PHP Notice: Undefined property: stdClass::$new_version in phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php on line 698
    [23-Nov-2021 15:26:06 UTC] PHP Notice: Undefined property: stdClass::$new_version in phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php on line 698
    [23-Nov-2021 15:26:06 UTC] PHP Notice: Undefined property: stdClass::$new_version in phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php on line 698

    #225534
    Robin W
    Moderator

    very happy for you to mention it 🙂

    Adding the no-js class to the bbpress body is something that bbpress 2.6.8 introduced. This was I am presuming on the presumption that that js was never needed on bbpress pages which is not the case in you want the visual editor or quicktags on the text editor.

    I’m simply taking it out for bbpress pages as a first step for those that need it, ie remving the change in 2.6.8 and reverting to the absence that bbpress has used for 7 years. My presumption is that the visual editor will not work on browsers that do not support js, which as you say is a very small amount if any actually used nowadays !!

    anyway thanks for your clarification, let’s see what the bbpress authors do.

    #225531
    lisabeavers
    Participant

    I am also using bbpress and have the same problem – the html bar for replies, etc. has completely disappeared for my users. I am on version 2.6.8 and it has not solved the problem. Help! (Please and thank you). I have checked everything and can’t find a single reason for it to be happening on my site. Everything was working great a few days ago.

    #225486
    Robin W
    Moderator

    the snippet I used takes it out before bbpress renders, @webcreations907 snippet does it after. Neither is right/wrong, and use whichever is better for you

    #225484
    webcreations907
    Participant

    That’s good, glad that worked out for you.

    You could also put it in bbpress.php in the plugin itself, then when the fix comes out and the plugin is updated it would get rid of it.

    For others looking for a solution, I tried to edit my post above but couldn’t, when I mentioned functions.php I mean the functions.php file that is within your current active WordPress theme.

    #225482
    webcreations907
    Participant

    When no-js is used, it’s usually removed using javascript or jquery to check if the browser supports it as some people turn it off in there browser preferences.

    Try adding the below code to your functions.php or code snippet plugin, etc.

    
    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' );
    }
    

    Make sure to clear any caches and check to see if it works for you.

    #225472
    Robin W
    Moderator

    @jjj Moving the ‘no-js’ class to the bottom of the ‘bbp_body_class’ function does not fix, as the quicktags toolbar is still not shown.

    the following filter fixes, but I’m not entirely sure what the introduction of then ‘no-js’ class to the function is doing, but I can’t see that the patch has any unintended consequences as it only runs on the relevant pages.

    add_filter ('bbp_body_class', 'rew_unset_no_js') ;
    
    function rew_unset_no_js($classes) {
    	if (in_array ('single-forum', $classes) || in_array ('single-topic', $classes)) {
    		if (($key = array_search('no-js', $classes)) !== false) {
    			unset($classes[$key]);
    		}
    	}
    return $classes ;
    }

    or if that doesn’t work

    add_filter ('bbp_body_class', 'rew_unset_no_js') ;
    
    function rew_unset_no_js($classes) {
    	if (($key = array_search('no-js', $classes)) !== false) {
    			unset($classes[$key]);
    		}
    return $classes ;
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    FOR THOSE USING BBP-STYLE-PACK – I’ll issue a revised version incorporating this shortly until fixed in bbpress.

    #225453
    TreeTrail
    Participant

    This topic has been resolved! We discovered what was causing this problem. It was not any custom code or plugin update issue. It was simply that I had changed the bbPress Forum > Visibility from “public” to “private”. Evidentially this prevents a plugin (like bbPress Toolkit) or custom code (like ours) from accessing the information.

    #225452
    KevinPlusPlus
    Participant

    I have this in my functions.php:

    /* Re-enable the visual editor for bbPress */
    add_filter( ‘bbp_after_get_the_content_parse_args’, ‘bbp_enable_visual_editor’ );

    function bbp_enable_visual_editor( $args = array() ) {
    $args[‘tinymce’] = true;
    $args[‘teeny’] = false;
    return $args;
    }

    I should add that with the 2.6.7/8, the text editor doesn’t even show the toolbar. All I get is the text window with no buttons at all.

    #225445
    OSCOWP
    Participant

    We enable it using bbpress style pack plugin.

    It did work before and since 2.6.7 it isn’t.

Viewing 25 results - 2,501 through 2,525 (of 64,430 total)
Skip to toolbar