Thanks Robin
I have already created a directory on my theme called ‘bbpress’ so will add and then mod the loop-topics.php and add the custom css as advised.
Your guidance most appreciated as always and hopefully this will be useful for others also 👍
P.S. Shame you cannot add this to your BBP Style Pack at some point in the future as I am sure lots of BBPRESS Forum owners/dev’s would like this option 😏
you would need to add this to your additional/custom css
/*topic titles*/
.bbpress .forum-titles {
overflow: hidden;
}
.bbpress .forum-titles .bbp-topic-voice-count::before,
.bbpress .forum-titles .bbp-topic-reply-count::before {
font: 400 16px/1 dashicons;
margin-right: 100px;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
}
.bbpress .forum-titles .bbp-topic-voice-count::before,
.bbpress .forum-titles .bbp-topic-reply-count::before {
font: 400 21px/1 dashicons;
margin-left: 20px;
}
.bbp-topic-voice-count {
display: none;
}
.bbpress .forum-titles .bbp-topic-voice-count::before {
content: "\f307";
}
.bbpress .forum-titles .bbp-topic-reply-count::before {
content: "\f125";
}
.bbpress li.bbp-header li.bbp-forum-info,
.bbpress li.bbp-header li.bbp-topic-title {
text-align: left !important;
}
and then amend loop-topics.php as foillows
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-topics.php
transfer this to your pc and edit
<li class="bbp-topic-voice-count"><?php esc_html_e( 'Voices', 'bbpress' ); ?></li>
<li class="bbp-topic-reply-count"><?php bbp_show_lead_topic()
? esc_html_e( 'Replies', 'bbpress' )
: esc_html_e( 'Posts', 'bbpress' );
?></li>
to
<li class="bbp-topic-voice-count"></li>
<li class="bbp-topic-reply-count"></li>
and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %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/loop-topics.php.php
bbPress will now use this template instead of the original
Is it possible to configure different colours for the bbPress topic creation forms?
At the moment it is showing grey text on a cyan text control background, making it almost illegible.
Hi again,
oops ! not yet… there is a new warning in admin Dashboard > At a Glance :
Warning: Undefined array key “forum_count_int” in /home/clients/3db470ac3c186374a924a94534df90ab/sites/testXXXX.com/wp-content/plugins/bbpress/includes/admin/metaboxes.php on line 52
Hi Robin,
thank you so much for your work, here is where I am :
. no more warning Forums
. but count was double ; Tell 20 when there is 10 forums…
I checked and it was because I had a previous snippet ; when I disable that one, your code seems to be well working. Here is the previous one (made because without it only public forums were counted). Can you confirm please I can delete it and keep only yours ?
`function bbpress_include_private_posts_count($statistics, $r, $args){
if( isset($statistics[‘forum_count’]) ){
$private = wp_count_posts(“forum”)->private;
if( !empty($private) ){
$statistics[‘forum_count’] = $private + $statistics[‘forum_count’];
}
}
return $statistics;
}
add_filter(‘bbp_get_statistics’, ‘bbpress_include_private_posts_count’, 999, 3);
it is based on a WordPress permission, not bbpress.
Users with HTML Permission will be able to use javascript to do some really horrible things to your site, so as this post says
‘This unfiltered_html permission could be very dangerous in the wrong hands, so please don’t give this permission to any users you do not trust. WordPress has disabled this permission for most users because they rarely need it.’
unfiltered_html
But also shows you how to amend if you want to.
I’ve moved this to a fresh topic for clarity
can you confirm this is moving bbpress forums/topics/replies from one site to another using the export import within wordpress?
I am unsure what the theme has to do with the bbPress in this case. bbPress works with any theme, and you don’t have to use a specific theme to have bbPress, or to have bbPress bundled with the theme. ThemeForest themes are usually very bloated and bundle tons of plugins that are later hard to update or to switch to newer versions.
bbPress is a free plugin that is updated when needed to fix bugs, and works really well as is. it doesn’t have to be bundled with any theme.
I am just a moderator here, and not a bbpress author.
The authors tend to release updates every few years, rather than more frequently.
My personal view is that you should consider bbpress to be a ‘mature’ product, ie any releases will be to fix issues rather than add functionality.
bbpress is written really well, and has loads of hooks. There are no show stopper bugs in it, it may throw a few deprecation notices (and these are very few at the moment), but WordPress recommends that you should not show error messages in live sites.
I currently have my test site running WordPress 6.4.x and php 8.2 with no issues.
The only major issue with bbpress at the moment is that it does not work well with FSE themes.
However my bbp style pack plugin has fixes for this
bbp style pack
as well as block versions of the widgets and a ton of styling and functionality add-ons.
All plugins are subject to the authors commitment, and bbpress is no different.
The main WordPress support forums use bbpress, and it would be mega work to move those over to some other product.
But with open software you make your choices….
Will the plugin be updated?
i bought a wordpress theme and it comes packed with bbpress as an important part of the theme.
i´d like to know because i´m about to cancel my subscription with the theme that comes with bbpress
the theme is this one
https://themeforest.net/item/docfi-documentation-and-knowledge-base-wordpress-theme/48614579
thanks!!
HI Robin,
in fact, sorry I didn’t pay enough attention, but when Yousify is not activated the warning is else :
Forums
Warning: Undefined array key “forum_count” in /home/clients/3db470ac3c186374a924a94534df90ab/sites/testXXXX.com/wp-content/plugins/bbpress/templates/default/bbpress/content-statistics.php on line 27
These are deprecated errors, meaning that they will become an issue in a later version of PHP, and are not affecting your site at the moment.
I am just a moderator here, and not a bbpress author, the authors are aware that they exist, and if not fixed by them, I will add a fix in my
bbp style pack
when needed
bbpress in native mode does not store images, it allows you to add a link to an image that can be anywhere, but a user would need to create an image and store it where it can be seen by the internet.
There are additional plugins, try
Inline Image Upload for BBPress
Hi all,
I’m getting ready to install a forum on my elementor site. I’m just wondering where bbpress stores images that are uploaded by users. I am concerned about how fast this will eat up my hosting storage so I am interested in having the images uploaded to something like Amazon S3. Is that possible? Does bbpress store the images in the media library? If so I would assume I can choose just about any of the media offloading plugins out there to achieve this? Any other recommendations or strategies that I haven’t thought of?
Thanks!
Hi guys,
I checked the website error log and found the following contentious errors from the bbPress plugin. Please can the support team fix these errors?
PHP Deprecated: Creation of dynamic property BBP_Forums_Component::$members is deprecated in /public_html/wp-content/plugins/bbpress/includes/extend/buddypress/loader.php on line 149
PHP Deprecated: Creation of dynamic property BBP_Forums_Component::$activity is deprecated in /public_html/wp-content/plugins/bbpress/includes/extend/buddypress/loader.php on line 153
Regards
Daelan
Unless you are using the plugin or bespoke code to load that template, I fail to see how that can be, the error quotes a file within Youzify
plugins/youzify/includes/public/templates/bbpress/content-statistics.php on line 33
but quite happy for you to pursue as you feel fit
Hi,
I need to keep at least one forum with visibility “Public” otherwise, if all forums are “Private” I got a PHP warning instead of forums number :
Warning: Undefined array key “forum_count” in /home/clients/3db470ac3c186374a924a94534df90ab/sites/test.com/wp-content/plugins/youzify/includes/public/templates/bbpress/content-statistics.php on line 33
Forums
Even when Yousify is not activate.
And also, warning doesn’t appears when at least one forum is “Public” but, I need to use extra snippet to get the real numbers of forums otherwise statistics say 1 when there is more…
Hi Robin, I’m building a social media forum. I am using your bbpress style pack. I changed the subscribe button to endorse and the unsubscribe function to unendorsed. I also changed subscriptions to endorsements in the profile section. Those changes have led to an error message about your style pack within the profile page. I really don’t want to use the word subscribe or its variations. How do I fix this error and change the word subscribe, subscriber, and subscription site wide.
It says:
Warning: preg_replace(): Compilation failed: quantifier does not follow a repeatable item at offset 0 in /home/noisvjkg/public_html/wp-content/plugins/bbp-style-pack/includes/functions.php on line 364
Thanks for responding Robin. I am also having the same issue with the BBpress messages. I’m just gonna uninstall them. Maybe there is some other alternative.
These errors are as you say not bbpress errors, but ones related to a different plugin.
You will need to post in
https://wordpress.org/support/plugin/follow-bbpress/
although with on 10 users and no update for 4 years, I suspect it is not actively suppprted
I just installed the follow for bbpress plugin, and I have received four warnings about the coding on lines 36, 38, 42, and 44. I have not altered anything. This messaged popped up upon going to setting. I am not sure what to do to get rid of it. Below is what the error message says:
Warning: Trying to access array offset on value of type bool in /home/noisvjkg/public_html/wp-content/plugins/follow-bbpress/setting.php on line 36
Warning: Trying to access array offset on value of type bool in /home/noisvjkg/public_html/wp-content/plugins/follow-bbpress/setting.php on line 38
Warning: Trying to access array offset on value of type bool in /home/noisvjkg/public_html/wp-content/plugins/follow-bbpress/setting.php on line 42
Warning: Trying to access array offset on value of type bool in /home/noisvjkg/public_html/wp-content/plugins/follow-bbpress/setting.php on line 44
bbpress just uses wordpress registration, so it is likely that no emails are working.
Use the test in that plugin I sent to see if they are leaving your site
Thanks for the reply. I didn’t really think it was bbPress related but my hosting told me that I should talk to the plugin support. I’ll push harder for them to help me out and will try the plugin you mention. Thanks!
not really bbpress related, but talk to your hoster, and try installing ten ‘check and log email’ plugin
We have a bbpress forum in a secure site. A member has just tried to show images from his own site within our forum. It seems that because his site is not secure (http) the images do not get rendered.
Is there any way to fix this?