Search Results for 'bbpress'
-
AuthorSearch Results
-
November 28, 2021 at 4:27 pm #225842
Topic: Post Not Being Fully Published
in forum Installationkevb8lly
ParticipantHi
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.
November 27, 2021 at 8:32 am #225824In reply to: Paste as plain text for the Teeny Editor?
dusemedia
ParticipantThat 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.
November 26, 2021 at 1:09 pm #225808In reply to: Paste as plain text for the Teeny Editor?
Robin W
Moderatorit’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
November 26, 2021 at 6:57 am #225801Topic: Best way to extend member profiles?
in forum Troubleshootingtumptyteapot
ParticipantHi
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.
November 25, 2021 at 5:29 am #225782Rkarel
ParticipantHello! 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?
November 25, 2021 at 4:47 am #225780In reply to: HTML editor doesn’t appear on bbpress 2.6.7
Robin W
ModeratorThere 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
or
2. install and activate
November 24, 2021 at 11:10 am #225768In reply to: bbp user ranking conflict with Divi?
quilp
ParticipantI’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!
November 24, 2021 at 9:55 am #225760Rkarel
ParticipantHello. 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…
November 24, 2021 at 9:19 am #225759In reply to: forum appears in google search
Robin W
ModeratorNovember 24, 2021 at 8:49 am #225755Topic: forum appears in google search
in forum Troubleshootinggillian0606
ParticipantThe 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.8November 23, 2021 at 10:33 pm #225745In reply to: bbp user ranking conflict with Divi?
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.
November 23, 2021 at 2:30 pm #225728In reply to: Editor buttons missing since 2.6.8 upgrade
Robin W
Moderatorthis 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
November 23, 2021 at 1:51 pm #225727In reply to: HTML editor doesn’t appear on bbpress 2.6.7
Robin W
Moderatoras 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.
November 23, 2021 at 12:57 pm #225722In reply to: Topic or forum (un)subscription hook
maksanse
ParticipantThank 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 🙏
November 23, 2021 at 12:55 pm #225721In reply to: HTML editor doesn’t appear on bbpress 2.6.7
John James Jacoby
Keymaster@robin-w – any suggestions on improvements bbPress should make?
I was thinking of renaming
no-js
tobbp-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.November 23, 2021 at 11:51 am #225717In reply to: bbp user ranking conflict with Divi?
quilp
ParticipantFollowing 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 698November 22, 2021 at 4:00 pm #225534In reply to: HTML editor doesn’t appear on bbpress 2.6.7
Robin W
Moderatorvery 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.
November 22, 2021 at 2:20 pm #225531In reply to: HTML editor doesn’t appear on bbpress 2.6.7
lisabeavers
ParticipantI 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.
November 22, 2021 at 4:15 am #225486In reply to: HTML editor doesn’t appear on bbpress 2.6.7
Robin W
Moderatorthe 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
November 21, 2021 at 11:44 pm #225484In reply to: HTML editor doesn’t appear on bbpress 2.6.7
webcreations907
ParticipantThat’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 thefunctions.php
file that is within your current active WordPress theme.November 21, 2021 at 11:20 pm #225482In reply to: HTML editor doesn’t appear on bbpress 2.6.7
webcreations907
ParticipantWhen
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.
November 21, 2021 at 12:30 pm #225472In reply to: HTML editor doesn’t appear on bbpress 2.6.7
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
FOR THOSE USING BBP-STYLE-PACK – I’ll issue a revised version incorporating this shortly until fixed in bbpress.
November 19, 2021 at 8:53 pm #225453In reply to: Subforum Function Stopped Working
TreeTrail
ParticipantThis 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.
November 19, 2021 at 6:19 pm #225452In reply to: HTML editor doesn’t appear on bbpress 2.6.7
KevinPlusPlus
ParticipantI 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.
November 19, 2021 at 2:32 pm #225445In reply to: HTML editor doesn’t appear on bbpress 2.6.7
OSCOWP
ParticipantWe enable it using bbpress style pack plugin.
It did work before and since 2.6.7 it isn’t.
-
AuthorSearch Results