Forum Replies Created
-
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.
you can then apply the same technique to the reply form
ok, so create a new topic form template
find
wp-content/plugins/bbpress/templates/default/bbpress/form-topic.phptransfer this to your pc and edit
change around line 199
<?php if ( ! bbp_is_single_forum() ) : ?>to
<?php if (isset($_REQUEST['bbp_forum_id'])) : ?> <input type="hidden" name="bbp_forum_id" value="<?php echo $_REQUEST['bbp_forum_id']; ?>" /> <?php elseif ( ! bbp_is_single_forum() ) : ?>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
then put this in your child theme functions file
add_action ( 'bbp_template_before_single_forum', 'reww_new_topic_button' ) ; function reww_new_topic_button () { $url = $url = get_home_url(); $forum_id = bbp_get_forum_id() ; $url.='/topic-form/?bbp_forum_id='.$forum_id ; $text = 'create new topicc' ; echo '<a class="hello" href ="'.$url.'">'.$text.'</a>' ; }where ‘/topic-form/’ is the page you have the topic form on
that sends a query string to the topic form page, which is then picked up by the amended template above
In reply to: Settings for my forumProbably not with that plugin, but probably another plugin and/or your theme
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: Change user role based on user post count?you can also check out this plugin which does user ranking
In reply to: Change user role based on user post count?I’d suggest you crack open this plugin which does topic and reply counts
In reply to: Settings for my forumsuspect dashboard>settings>forums>subscriptions
In reply to: Login to BBpress vs. WordPressgreat – glad you are fixed