Forum Replies Created
-
In reply to: Gutenberg Compatibility
it would, but I am just a man in his kitchen, I’m not a bbpress author.
Style pack is much more than just styling (it may have been mostly that when you tried it), and you don’t need to use the styling bits to take advantage of the functionality.
Anyway it’s free and what I write, so that’s where the blocks will be.
If you just want to use blocks in the custom post types, then just add this filter
add_filter ('bbp_register_forum_post_type', 'rew_gutenberg_editor') ; add_filter ('bbp_register_topic_post_type', 'rew_gutenberg_editor') ; add_filter ('bbp_register_reply_post_type', 'rew_gutenberg_editor') ; function rew_gutenberg_editor ($settings) { $settings['show_in_rest'] = true ; return $settings ; }If you want to impose blocks on your users in topics and replies, then use the ‘blocks everywhere’ plugin.
If you want block widgets, that is what will be in style pack when I have finished writing it.
If you want bbpress in FSE themes, that will also be in style pack in due course
In reply to: Gutenberg CompatibilityI am currently working on adding the block widgets to my bbp-style-pack plugin
and then getting FSE themes to work aa well.
instructions for them
find
wp-content/plugins/bbpress/templates/default/bbpress/form-topic.phptransfer this to your pc and edit
go to line 248 and change
? esc_html_e( 'You cannot create new topics.', 'bbpress' )to
? esc_html_e( '', 'bbpress' )and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/form-topic.phpbbPress will now use this template instead of the original
In reply to: False message about topic in the trashgreat – glad you are fixed, and thanks for posting then solution, this will help others 🙂
do you know how to ftp files, if so I’ll let you know what to do
In reply to: No pages availableit could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Then come back
In reply to: False message about topic in the trashdashboard>tools>repair forums and run one at a time until fixed
can you say how this relates to bbpress?
In reply to: Close topic labelok, so that approach will not work, I was hooking to a wordpress filter, but it is used in too many places.
I’ll re-think
In reply to: Is there any development for bbPress?perhaps you could outline what you think is missing?
In reply to: Close topic labelI’ll add this functionality to style pack in a few days, but in the meantime
add_filter ('the_title' , 'rew_add_close_to_topics') ; function rew_add_close_to_topics ($title) { if ( bbp_is_topic_closed()) { $closed = '[Closed]' ; $sep = ' ' ; $position = 'after' ; if (($position == 'before') && !str_contains($title, $closed)) $title = $closed.$sep.$title ; if (($position =='after') && !str_contains($title, $closed)) $title = $title.$sep.$closed ; } return $title ; }and amend words/position etc. as you wish.
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
and change the background of the closed block to match your theme
In reply to: No pages availabledashboard>settings>forums>topics and replies per page
In reply to: Customizing lead topicso is this with this function installed?
add_filter ('bbp_get_topic_post_date' , 'rew_change_to_freshness', 10 , 6) ; add_filter ('bbp_get_reply_post_date' , 'rew_change_to_freshness', 10 , 6) ; function rew_change_to_freshness ($result, $topic_id, $humanize, $gmt, $date, $time) { $result = bbp_get_time_since( bbp_convert_date( $time ) ) ; return $result ; }In reply to: Close topic labelshould be doable – let me think about this …….
In reply to: Customizing lead topic@enkoes – is this related to just lead topic, or does this need posting as a new topic?
In reply to: How to Migrate xenForo to bbPressdashboard>tools>forums>import forums
In reply to: Site how to add WPlanguage plaginnot sure how this relates to bbpress ?
to atop forums being viewable to non logged in, the set them as ‘private’
dashboard>forums>all forms>edit forum and set visibility as ‘private’
if you want different users to see different forums, then
In reply to: BBpress forum subscription default settingok, I cannot replicate that issue.
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Then come back
In reply to: BBpress forum subscription default settingok, so if you go to
dashboard>subjects>all subjects, and then select ‘les abonnements’ (the subscriptions) for the chosen subject then select option ‘subscribe selected users’ and applyare they then showing as ‘sucbribed’ and this in not working, or does the subssribed/unsubscribed not change ?
In reply to: how to add my meta description for forum home pagethis plugin whilst old might help
In reply to: BBpress forum subscription default settingI tried to do the same by choosing several forums for one user. But it didn’t work. The subscription is not applied.
can you describe exactly what you did, starting with
dashboard>
In reply to: Blank topic pages while using TwentyTwentyTwo theme.hey thanks, really pleased you find it useful 🙂
In reply to: Blank topic pages while using TwentyTwentyTwo theme.yes the issue was fixed by Astra in 4.1.2 after I raised it with them.
I just looked and there was an interim version they released which didn’t have the fix, but which my code did not pick up on, so that was the one you were on – apologies, I should have thought of that, but it was only live for a very short period.
Anyway glad you are fixed.
In reply to: Blank topic pages while using TwentyTwentyTwo theme.With Astra releases above 4.0.2 this is not needed and you will not see the theme support tab – what exactly is your issue? ie wehat are you seeing/not seeing?