Forum Replies Created
-
No apology necessary!
I think itβs good to post this here, in case itβs related to the most recent bbPress release.
There was a change related to Roles triggering PHP errors with certain plugins active, so itβs plausible that fix broke something else.
Which plugin were you using to make your new roles?
In reply to: BBPRESS 2.6.10!Blog post for 2.6.11 is up!
In reply to: bbPress 2.6.10 – All pages return 404 errorsIf anyone out there needs to quickly do an emergency fix to their live site before updating to 2.6.11, here are the changed lines of code between 2.6.10 and 2.6.11:
https://bbpress.trac.wordpress.org/changeset/7272
I’m not advocating for hacking on weird files on live sites, but I understand everyone’s situations are different, and thought maybe this could be helpful to see.
In reply to: bbPress 2.6.10 – All pages return 404 errorsYou’re welcome, Eusebiu. Really sorry about today!
In reply to: bbPress 2.6.10 – All pages return 404 errors2.6.11 is out!
Blog post imminent.
Changelog code page updated.
Sorry everyone π
In reply to: bbPress 2.6.10 – All pages return 404 errors2.6.11 will be out later today to fix this.
In reply to: Strip embeds like youtube and image tagsMost embeds can be disabled via the “Auto-embed links” setting in:
Admin > Settings > Forums
You can also permanently unhook them:
remove_action( 'bbp_init', 'bbp_reply_content_autoembed', 8 ); remove_action( 'bbp_init', 'bbp_topic_content_autoembed', 8 );
Images are a bit trickier, as you’ll need to remove
img
from the allowed-tags array:add_filter( 'bbp_kses_allowed_tags', function( $tags = array() ) { unset( $tags['img'] ); return $tags; } );
In reply to: Remove visual editor only allow code editorbbPress includes a function called
bbp_make_clickable
that is used to turn regular URLs in topic and reply contents into anchors.You would need to unhook it to prevent it from happening.
remove_filter( 'bbp_get_reply_content', 'bbp_make_clickable', 40 ); remove_filter( 'bbp_get_topic_content', 'bbp_make_clickable', 40 );
In reply to: Is this bbPress or buddyPress?In reply to: Post Not Being Fully PublishedSounds weird. Link to your forums where it’s happening?
In reply to: HTML editor doesn’t appear on bbpress 2.6.7bbPress 2.6.9 was just released, but it does not make changes to this yet.
I needed to rush out an Akismet fix first, and I’ll look more into this next.
Thank you for being patient. Sorry for the wait. π
Hello! Your second URL is correctly showing 0 topics, at least.
I’m not entirely certain anymore if incorrect BuddyPress Group sub-pages will 404.
In reply to: HTML editor doesn’t appear on bbpress 2.6.7@robin-w πππ
In reply to: HTML editor doesn’t appear on bbpress 2.6.7@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.In reply to: bbp user ranking conflict with Divi?That last one is simply a deprecation notice. It will not break anything.
In reply to: Topic or forum (un)subscription hookThere is also…
do_action( 'bbp_add_user_subscription', $user_id, $object_id, $type );
…and…
do_action( 'bbp_remove_user_subscription', $user_id, $object_id, $type );
…if you need something a bit more lower-level, that isn’t tied directly to the request handler.
In reply to: HTML editor doesn’t appear on bbpress 2.6.7Can you please post the code snippet you are using to enable the visual editor?
In my testing, it is working OK using these snippets:
In reply to: Page layout only applies on main pageI see now, thanks!
Perhaps, this is something that bbPress could do a better job with. Each of the forum/topic type pages is its own thing, and they do not inherit the page settings from the forum root in the way it seems like you are expecting for them to β which is totally reasonable to expect.
In reply to: There is an error! disallowed_keysThis is a deprecated argument that only appears when
WP_DEBUG
is turned on.The debug log itself is nothing to worry about. π
bbPress will address this once its minimum version is (legitimately) raised to 5.5.
Thank you for letting us know here π
In reply to: Page layout only applies on main pageThere was a bug in 2.6.7 regarding page layouts, so give 2.6.8 a try and see if it’s better?
In reply to: bbpress 2.6.7 body classπ
Revisions are totally a WordPress thing. It’s weird, but sounds accurate.
Using Gravity Forms to create new topics & replies will bypass the “freshness” hooks that bbPress expects to run normally. This means that the “branch” of topics & forums in the “tree” of that submission won’t get walked up to the root, to tell that whole branch what its most recent content is.
Once you post something yourself normally, the tree gets walked and everything looks OK.
The function that would normally be called is
bbp_update_topic()
. It includes all of the extra meta data that needs to be added β including a call tobbp_update_topic_walker()
that “walks” the branch in the tree.Lastly, it refreshes the
last_changed
cache key in thebbpress_posts
cache group. You could try busting that cache on your Gravity Forms submission (to see if that’s enough) but I have a feeling it won’t be, and you’ll need to find the best way to trigger the update.In reply to: bbpress 2.6.7 body class2.6.8 released. π very sorry for the problem. π€ let us know that everything is fixed?
In reply to: Side Widget broken after update 2.6.7The body class code changed, which might be causing this.
It is not intended, so 2.6.8 should fix it.
In reply to: Download Buttons don’t workFixed! Thank you!