Forum Replies Created
-
In reply to: Forum name on topic title
Thank you so much for your kind donation – it is really appreciated !!
I am glad to have helped π
In reply to: How do I edit my group forums?I Can’t see the images, but from the sound you might need
In reply to: Forum name on topic titleadd_action ('bbp_theme_before_topic_title' ,'rew_display_forum' ) ; function rew_display_forum () { $topic_forum_id = bbp_get_topic_forum_id(); $forum_title = bbp_get_forum_title( $topic_forum_id); $forum_url = bbp_get_forum_permalink( $topic_forum_id ); echo '<a class="rew-forum-name" href="'.$forum_url.'">'.$forum_title.': </a>' ; }In reply to: Forum name on topic titlehmm… that’s not easy as you rightly say the hierarchy is
content-archive-topic
loop-topics
loop-single-topicThis last one is also used by forums, so you can’t just change that.
In this last you could hook an action to ‘bbp_theme_before_topic_title’ eg put this in your child theme functions file
add_action ('bbp_theme_before_topic_title' ,'rew_display_forum' ) ; function rew_display_forum () { $topic_forum_id = bbp_get_topic_forum_id(); $forum_title = bbp_get_forum_title( $topic_forum_id); echo '<div class="rew-forum-name">'.$forum_title.'</div>' ; }and then as the shortcode displays in a ‘page’ class and the forums in a ‘forum’ class, we can add css to hide the forum title unless we are in a page
so in your custom css area put
.rew-forum-name { display :none ; } .page .rew-forum-name { display : inline-block ; }that should work
In reply to: Search form dont’t display resultsThis is probably because in the bbpress plugin there is a template called content-search.php. Many themes also now have a template file called content-search.php. Since the bbPress templates donβt necessarily need to be in a bbPress folder, the bbPress plugin is choosing the template from your theme before the template that is actually in bbPress.
To fix copy content-search.php from the bbPress plugin templates and place it in a child theme in a folder called bbpress.
So create a directory on your child theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/content-search.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/content-search.php
bbPress will now use this template instead of the originalbbpress sends from the address to this address with BCC to each subscriber.
This works for some sites, not for others.
This plugin whilst old, still works well
In reply to: Redirect to topic page by IDπ
In reply to: Redirect to topic page by ID$topic_url = bbp_get_topic_permalink( bbp_get_reply_topic_id( $reply_id ) ); $forum_permalink = bbp_get_forum_permalink( $forum_id );two examples of what you might be after
In reply to: Redirect to topic page by IDsorry – don’t understand the question.
if you mean go to a topic then this is simply the url, which will depend on your permalink settings
In reply to: Limit tags to a pre-defined list?I’m working on a pre-defined list option at the moment – probably about a week and I’ll release some code
In reply to: Settings for my forumGreat – glad you are fixed
In reply to: You are already logged in text.Quickest way to chec is just to deactivate style pack (you’ll not lose any settings) and see if it comes back ! If so then check the settings
In reply to: Error message says I am currently editing a topicBackend = anything where you are in the dashboard
Frontend – everything else !So what you describe is not normal behaviour.
I’d suggest 2 things.
1. You have another plugin that is affecting how bbpress does topic edits
2. The topic in question has content that violates your moderation rules – most commonly a number of links, but might be words.so in
dashboard>settings>discussion you will have rules on how many links and what wrods are blacklisted on your site. If on a topic edit these rules get broken, then the topic will go into moderation.
If this is not obvious from the topic that you are editing that is going into pending, then you could try posting a simple topic with just a few words, and then edit this to see if it suffers from the issue.
if it does, then item 1 above might apply.
In reply to: Error message says I am currently editing a topicyou don’t say whether this is front or back end.
If you can repeat this issue, can you give us a series of steps to see it
π
In reply to: Settings for my forumit will either be subscriptions or the notify plugin (or another bbpress related plugin!)
In reply to: Deleting “_bbp_*” meta keys in wp_postmeta tableyes that should be fine
In reply to: Settings for my forumok, install this plugin
once activated go to
dashboard>settings>bbp style pack>bug fixes
and you’ll be able to add yourself back as keymaster
you can deactivate and delete this style pack plugin afterwards, but you might want to make use of it’s features π
In reply to: Settings for my forumso have you got a keymaster or do you now have none?
In reply to: Deleting “_bbp_*” meta keys in wp_postmeta tableyes these are the 3 bbpress post types, and they are the only post types.
In reply to: Settings for my forumok, so you should have ‘administrator’ AND ‘keymaster’ roles showing against your username, I’d suspect that Keymaster is not set. Only a Keymaster can set another Keymaster, but if you have none on your site, come back.
if the reply is 1500 and the topic it belongs to 1000 then
$reply_topic_id = bbp_get_reply_topic_id(1500) if( $reply_topic_id == 1000 ){ echo 'Baseball rule'; return;In reply to: Forum Not showing@izzyeast bbpress 2.6.6 works with WordPress 5.7 -I have it running on several sites, and with 300,000 installation, it would be well know if it didn’t.
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
On the sites where I have forums, I’ve never used single forums, just a main forum with forums listed in it, so not really had to deal with this issue -I should add that I am just a bbpress user who helps out here, not a bbpress author.
Personally I’d just disable breadcrumbs – if you are only showing one forum at a time, then they are not really adding much.