just tried 2014 and it uploads as full size unless you constrain.
so when you say you use the image icon in the bbPress editor does this ask anything about size?
If not then 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
Health Check & Troubleshooting
Then come back
thanks, fully appreciate that most of this stuff is annoying as hell 🙂
The problem is that all wp websites are a combination of wordpress and its settings, your theme and its settings, any adjustments to that theme, and all the plugins and each of their settings. That’s before we look at things like php versions, apache stuff, ht-acess, hoster settings and limitations and a bunch more stuff. That makes most sites pretty unique, so site A will never replicate site B in it’s problems and issues.
I’m just a guy sat in his kitchen who was helped several years ago when I was setting bbpress up, so I try to help others – I’m not a bbpress author.
my test site is twenty ten. I’ll try twenty fourteen to see if that sheds any light.
portal-admin is not a default wordpress or bbpress role, so how ever you created that, you’ll need to add the appropriate bbpress capabilities to it.
bbPress User Roles and Capabilities
Well… this board and the board that supports WordPress are straight up Q&A boards. People asking questions like I am.
But my board is a discussion board/forum. So you have topics that get hundreds, even thousands of replies. So I was just wondering how that is handled. Nice to know that this is something you just happen to be looking at! So you go do your thing!
Very nice work with the style pack Robin! I do have one issue with Mega Max menu compatibility. For whatever reason, it doesn’t look like shortcodes are being processed when style pack is activated (which is how MegaMax allows menus to be embedded).
Otherwise I’d recommend your style pack for bbPress users as this “simply works” to deliver the forum styling to Twenty Twenty Two without having to painfully apply one’s own CSS rules to make it marginally pretty.
For those willing to go that far, I found that simply adding a basic, default template page as described on WordPress.org will do the trick. Supposedly block editor doesn’t care for/use PHP template pages anymore so it’s otherwise ignored.
For simplicity, I just replace Twenty Twenty Two’s otherwise empty index.php with the “skinny” template index.php I created here:
https://gist.github.com/Steveorevo/96d8015bcf353221e1cf0cd6b89bb766
thanks, just had a look on my test site.
The first hat image I uploaded displays as
<img src="https://i0.wp.com/santarosaphotographicsociety.org/wp-content/uploads/hm_bbpui/2765/dccxo3aalx9pf5qhw9w5scfhksqpwcb1.jpg" alt="picture">
so will load at the size of the web page.
On your site it displays as
<img src="https://i0.wp.com/santarosaphotographicsociety.org/wp-content/uploads/hm_bbpui/2765/dccxo3aalx9pf5qhw9w5scfhksqpwcb1.jpg?w=474&ssl=1" alt="Hats" width="473" height="316">
It is uploading as full size, so something, maybe your theme or a wordpress setting is limiting it’s display.
I’m not sure if those width details are being saved as part of the post saved in the database, or are added in displaying.
you might also look at
dashboard>settings>media
Hello all,
I’m working in PHP in WordPress. I’m comfortable modifying and editing code.
I have a collection of Musical Artists and their releases. I’ve created a topic for each artist (post type) and release (post type) using bbPress Topics For Posts.
The user then replies to the topic. I want them to be forced to choose a tag when they reply: “Buy”, “Sell”, or “Info”.
Then I want them to be able to click a button that only shows replies tagged “Buy”, “Sell”, or “Info”.
How do I create a button to filter replies in PHP? Thanks!
Here’s an example of an artist page with a discussion forum below
sorry, I have bbpress running under WordPress, so if you don’t want to run WordPress, I cannot help.
You question is a bit like asking a ford car mechanic what the best motorbike is 🙂
sorry, bbpress only works with wordpress.
Hello!
I’d like to install bbpress on a non wordpress website and am not shure,
if bbpress is compatible.
Will it work and if so, how does the installation process look like?
again, without knowing exactly what you are after, and alternative would be to have a forum where the teacher asks a question (posts a topic) and students the answer (post a reply).
If the replies can been seen by all students (and teachers of course), then you could use this plugin to create that solution
Private groups
and use the topic permissions to set teachers to have access to both topics and replies, but students to only have access to replies.
I doubt this can be solved as posted without custom code.
You can import files using
GD bbPress Attachments
It would be possible to add some fields to the topic and or reply fields – this article explains the principals.
https://wp-dreams.com/articles/2013/06/adding-custom-fields-bbpress-topic-form/
Whilst it talks about the functions file, you can also use code snipetts
Code Snippets
so for instance if you wanted to try their code you would put all this into a single code snippet
add_action ( 'bbp_theme_before_topic_form_content', 'bbp_extra_fields');
function bbp_extra_fields() {
$value = get_post_meta( bbp_get_topic_id(), 'bbp_extra_field1', true);
echo '<label for="bbp_extra_field1">Extra Field 1</label><br>';
echo "<input type='text' name='bbp_extra_field1' value='".$value."'>";
$value = get_post_meta( bbp_get_topic_id(), 'bbp_extra_field2', true);
echo '<label for="bbp_extra_field1">Extra Field 2</label><br>';
echo "<input type='text' name='bbp_extra_field2' value='".$value."'>";
}
add_action ( 'bbp_new_topic', 'bbp_save_extra_fields', 10, 1 );
add_action ( 'bbp_edit_topic', 'bbp_save_extra_fields', 10, 1 );
function bbp_save_extra_fields($topic_id=0) {
if (isset($_POST) && $_POST['bbp_extra_field1']!='')
update_post_meta( $topic_id, 'bbp_extra_field1', $_POST['bbp_extra_field1'] );
if (isset($_POST) && $_POST['bbp_extra_field1']!='')
update_post_meta( $topic_id, 'bbp_extra_field1', $_POST['bbp_extra_field2'] );
}
add_action('bbp_template_before_replies_loop', 'bbp_show_extra_fields');
function bbp_show_extra_fields() {
$topic_id = bbp_get_topic_id();
$value1 = get_post_meta( $topic_id, 'bbp_extra_field1', true);
$value2 = get_post_meta( $topic_id, 'bbp_extra_field2', true);
echo "Field 1: ".$value1."<br>";
echo "Field 2: ".$value2."<br>";
}
There are reply equivalents, but would need you to specify what should go into topic and what reply
you’ll need to switch debugging on to find out what the exact error is
WP Debugging
the post the error back here
Hi there,
I’m new to this buissness and it’s my turn to explore feasibilities for my chemistry project (am a teacher). Finally it’s about generating questions and answers, a good and possible plugin would be of course bbPress. Following questions:
— is it possible to update an existing bbPress forum by reading data via import?
— an update to be read in only includes the data of the author, the question and the corresponding answer (keyword: new question resp. answer). Are there existing import options for this? Certainly … there are plugins like woocommerce etc, but they seem to me to be almost too much for the simplicity of the problem.
Well, thanks for answers, best regards, Rainer
my project: http://www.chemieaufgaben.ch , bbPress-Version: 2.6.9, wordpress: newest Version
I am just setting up bbPress and when I create a new topic and try to view it, it says “There has been a critical error on this website.”
This was happening with the forum itself at first, too, and I was able to work through that. I am so frustrated by this whole process.
Working with WordPress 5.9.2, bbPress version 2.6.9
Link to the site is http://www.griefhealingsuite.com/forums
We are running a LearnDash education site and have associated bbPress forums with our LearnDash courses. The forum appears correctly on the course page and the user can move to the course forum. But once on the forum there is no link to return to the course. Can such a link be added? If so, how would it be done?
Note that you will not be able to see the course or fourm screens as a non-logged-in user.
WordPress version 5.9.3
bbPress version: 2.6.9
LearnDash version 4.1.0
LD bbPress Integration version 2.2.2
education.theodorepayne.org/
that 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
Lightweight Sidebar Manager
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
so 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
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Moderation.
Good Moday morning!
I ran the debugging plugin and here is the result:
…
Learn more about troubleshooting WordPress.
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
Health Check & Troubleshooting
Then come back
I’ve added an interim fix in
bbp style pack
once activated you will see the first tab ‘Theme Support’ where you can select to fix
I installed bbPress on WordPress 2022 theme and still it shows empty pages. Any work-around found?
not 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
Inline Image Upload for BBPress
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
bbp style pack
once activated go to
dashboard>settings>bbp style pack>forum templates
ok, 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
WP Debugging
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