Forum Replies Created
-
In reply to: Link back to LearnDash Course for course forum
creating a link within the forum can be done with a hook to the code quite easily.
The problem would be knowing what course sent the user to the forum, it may well be a parameter in the learndash course database (eg this course has this forum), but beyond free help to work out.
Contact me via http://www.rewweb.co.uk/contact-me/ if you want me to look.
In reply to: Critical error when user tries to reply to a postthat is a generic warning that bbpress throws up for all software that is not being maintained.
tweaks continues to work fine.
You could change it, but due to WordPress becoming obsessed with blocks, how to get it to work otherwise depends on may factors.
you could try this
I’ve not used it
bbpress has custom post types of ‘topic’, ‘reply’ and ‘forum’ – no idea if it will work
If it doesn’t – come back
In reply to: Critical error when user tries to reply to a postah thanks for your kind words
In reply to: Critical error when user tries to reply to a postso the key data is
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home2/lemonst5/public_html/wp-content/plugins/moderation-tools-for-bbpress/incs/moderation.php:111
so the plugin ‘moderation-tools-for-bbpress’ is causing the error, from memory the issue is with it running with php8.x.
This plugin is closed and not being updated.
However I have incorporated all that functionality into my style pack plugin, where this error should not occur.
so deactivate the moderation-tools-for-bbpress and delete and then
once activated go to
dashboard>settings>bbp style pack>Moderation.
In reply to: bbPress doesn’t work with Gutenberg 2022 theme?Great – glad you are fixed, and thanks for posting the answer – it will help others 🙂
In reply to: bbPress doesn’t work with Gutenberg 2022 theme?ok, I cannot say why breadcrumbs are not working for you.
it could be a plugin issue
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 doesn’t work with Gutenberg 2022 theme?ok, you will need to define what you mean by
But “Breadcrumbs” doesn’t work
It looks fine on my test site, so are you not seeing it, or precisely what is it not doing?
In reply to: bbPress doesn’t work with Gutenberg 2022 theme?I’ve added an interim fix in
once activated you will see the first tab ‘Theme Support’ where you can select to fix
In reply to: how to publish poist with random media’snot sure if you need to do it that way, would need work beyond free help to see if possible.
This while old still works as far as I know
not knowing how your site is set up, and seeing an example – hard to understand quite what you are seeing and want to see.
but try
once activated go to
dashboard>settings>bbp style pack>forum templates
In reply to: Critical error when user tries to reply to a postok, given all the above, let’s try a different route.
In essence we need to find out exactly what this critical error is, so we need to switch on the error debug, and get to the heart of this.
The easiest way is to use
You may see lots of errors appear immediately (you may not!), don’t worry most will be trivial ones, but you might want to do this at a quiet time on your site as everyone will then see these.
So what we want is the exact error that you get when you try and post. Copy it, and you can then immediately switch debug back off.
post that back here, and we should be able to progress
In reply to: Critical error when user tries to reply to a postso did you do this bit?
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.
In reply to: Missing Subscribe/Unsubscribe button on Forumit 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: Critical error when user tries to reply to a postit 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: Add bold, italic, … options when writing a postonce activated go to
dashboard>settings>bbp style pack>Topic/Reply form
and item 9 lets you set the visual editor
In reply to: missing bbpress navigation in wp-admin🙂
In reply to: Duplicate Topic Detected (Not Working)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: missing bbpress navigation in wp-adminKeymasters get to see forums, topics and replies in the backend, moderators see topcis and replies
you cannot change your own role.
Is there a ‘keymaster’ set?
only a keymaster can set a keymaster, so if no-one has keymaster you need to install this plugin
once activated go to
dashboard>settings>bbp style pack>bug fixes
and you will see the ability to set yourself up again.
Once done, you can decativate and delete the style pack plugin, or maybe use it’s great features 🙂
In reply to: Search Result FormattingIn reply to: My bbPress forums have vanished from my websitegreat – glad you are fixed 🙂
In reply to: My bbPress forums have vanished from my websitewith bbppress you have wordpress roles and bbpress roles.
since you are not seeing them, and given that you say the bbpress plugin is installed and ACTIVE, then you need to do the instructions above
In reply to: My bbPress forums have vanished from my websiteok, I suspect that your role has lost keymaster rights.
go to
dashboard>users>all users and see if anyone has keymaster. If so get them to reset you to keymaster.
If no-one has, then install
once activated go to
dashboard>settings>bbp style pack>bug fixes
and you will see the ability to set yourself up again.
Once done, you can decativate and delete the style pack plugin, or maybe use it’s great features 🙂
In reply to: My bbPress forums have vanished from my websiteso the plugin is not showing as either installed or active in
dashboard>plugins>installed plugins ?
In reply to: Remove Subscribe / Favourites links🙂
In reply to: Limit new posts per week per user?This code should do it
add_filter ('bbp_current_user_can_access_create_topic_form' , 'rew_only_one_topic', 10 , 1) ; add_filter( 'gettext', 'rew_change_text', 20, 3 ); function rew_only_one_topic ($retval) { //first check if they have access, only amend if they have if ($retval==true) { $user_id = wp_get_current_user()->ID; $role = bbp_get_user_role( $user_id ); if ($role == 'bbp_participant') { $last_posted = bbp_get_user_last_posted( $user_id ); if (time() <($last_posted + (60*60*24*31))) $retval = false ; } } return $retval ; } function rew_change_text($translated_text, $text, $domain ) { if ( $text == 'You cannot create new topics.') { $user_id = wp_get_current_user()->ID; $role = bbp_get_user_role( $user_id ); if ($role == 'bbp_participant') { $last_posted = bbp_get_user_last_posted( $user_id ); if (time() <($last_posted + (60*60*24*31))) { $translated_text = 'You cannot post a new topic - you have already posted a topic in the last month'; } } } return $translated_text; }
The 60*60*24*31 is 60 seconds, 60 minutes, 24 hours, 31 days, so you can change this to whatever you want in both places.
and you can change $translated_text = ‘You cannot post a new topic – you have already posted a topic in the last month’ to whatever phrase in whatever language you want.
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