ok, the existing function is
function bbp_get_topic_post_date( $topic_id = 0, $humanize = false, $gmt = false ) {
$topic_id = bbp_get_topic_id( $topic_id );
// 4 days, 4 hours ago
if ( !empty( $humanize ) ) {
$gmt_s = !empty( $gmt ) ? 'U' : 'G';
$date = get_post_time( $gmt_s, $gmt, $topic_id );
$time = false; // For filter below
$result = bbp_get_time_since( $date );
// August 4, 2012 at 2:37 pm
} else {
$date = get_post_time( get_option( 'date_format' ), $gmt, $topic_id, true );
$time = get_post_time( get_option( 'time_format' ), $gmt, $topic_id, true );
$result = sprintf( _x( '%1$s at %2$s', 'date at time', 'bbpress' ), $date, $time );
}
return apply_filters( 'bbp_get_topic_post_date', $result, $topic_id, $humanize, $gmt, $date, $time );
}
so we can filter this as follows :
add_filter ('bbp_get_topic_post_date' , 'rew_date' , 10 , 6) ;
function rew_date ($result, $topic_id, $humanize, $gmt, $date, $time) {
$result = 'hello' ;
return $result ;
}
This should then say ‘hello’ so all we want to do is change $result to read whatever you want – so what do you want it to say ?
Hi All,
I am searching for a while if I can manage to solve the issue.
I have now solve the issue with “the reply form will show underneath of the reply when users click the reply button of it” with previous articles.
how to create dynamic reply-box
Still, I am looking for this issue below;
Topic
— reply 1
— reply 1-1
— reply 1-2
— reply 2
As above, when I click the reply button on “reply 1-1”, the reply form will show up as I wish to.
Still, when I click the reply button on “Topic”, it still scroll down (or I should say jump down) to the reply form at the bottom of the page.
When the topic is getting deeper, users would like to reply to it with reading & checking the content.
I my case, deeper topics are really hard to reply, since it will jump down to the bottom.
My question will be…,
1) Is there any way to solve this issue?
2) Is this the “normal” and there is no way to fix it?
If anyone know how to do this or know the answer, please let me know.
Thank you for your reply in advance.
I have been doing that from the start of the whole process of the project, I have all the bbpress templates copied over to my theme directory, I am doing an edit on exactly all the template.
But the bbp_topic_post_date('d M, Y') doesn’t work is the thing.
ok looks like you are going to need to get familiar with the templates and some coding then
In essence you need to copy some templates across to your child theme, and then amend them
You can copy all the templates across, but you only need to copy those that you want to change, and it is better just to do this, as then you know which you have altered.
so if you wanted to amend loop-single-forum you would do the following
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
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.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/loop-single-forum.php
bbPress will now use this template instead of the original
and you can amend this
visbility hidden should make a forum only visible to moderators and keymasters
If you are not seeing that then it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, 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.
Then come back
Yep, that’s great. Thanks again, Robin.
If anyone else is interested, in addition to the above code placed in functions.php, I amended loop-single-topic.php in my child theme thus:
<a class="bbp-topic-permalink" href="<?php bbp_topic_permalink(); ?>"><?php bbp_topic_title(); ?>
<?php $forum_id = bbp_get_forum_id();
if (( $forum_id == 41371) ){
?>
- <?php echo bbp_get_topic_author(); ?></a>
<?php
}
else {?>
</a>
<?php
}?>
<?php do_action( 'bbp_theme_after_topic_title' ); ?>
<?php bbp_topic_pagination(); ?>
<?php do_action( 'bbp_theme_before_topic_meta' ); ?>
<p class="bbp-topic-meta">
<?php do_action( 'bbp_theme_before_topic_started_by' ); ?>
<?php $forum_id = bbp_get_forum_id();
if (( $forum_id == 41371) ){
?>
<?php
}
else {?>
<span class="bbp-topic-started-by"><?php printf( __( 'Started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); ?></span>
<?php
}?>
This selects a specific forum and within that forum it removes the ‘started by’ meta info that normally appears under the title. Instead it places the topic author’s display name (not user name) as an extension of the topic title, separated by a hyphen. The link to the author is removed and instead becomes part of the link to the topic.
I’m trying to add Korean translation that ovveride the english. I created the po and mo files as instructed and added them in the bbpress language folder using FTP. But nothing changed on the front-end? Any idea what caused this?
Here is what I called my files:
bbpress-ko_KR.po
bbpress-ko_KR.mo
I am just about to install the bbPress and testing how it works. Out of the box, does bbPress allow for adding attachments (pdfs, docs, and image files? Emoji and post preview are also things we are looking to add … does bbPress comes with it or do we need to look into Plugins?
======================================================
Bellow content is just for test purposes … we’ll delete shortly
Templates bbPress Forum
Quote Example
<indent> Indentation </indent>
Unordered List Example
- Item
- Item
- item
Ordered List Example

We have 600+ subscribers and notification mails are bouncing hard. Most of them are blocked by server’s firewall.
550 relay not permitted (in reply to RCPT TO command)
SMTP error from remote mail server after end of data: 550 5.7.1 [TCR] Generating too many errors with receivers
I was told by the ISP that I need to slow down the sending rate. Is there any plugin for this? If bbPress Notify (No Spam) is the only one then I need to pay for the subscription for the Private Group Bridge add-on, which I would like to avoid since this site is non-profit and I am paying everything from my pocket. Hope there is another solution.
Hi Robin,
If you instead go to Dashboard>Forums>Edit and a set “Visibility” to “Hidden”, the forum is still visible (listed) to a user with the Forum Role of “Participant” (although they cannot visit the forum).
Can you confirm? This isn’t the expected, default bbPress behavior for a “Hidden” forum according to forum visibility documentation.
By “default” I mean bbPress without “bbp Private Forums” installed. I understand you are the author (awesome job!). If “Hidden” actually hid a forum, I wouldn’t require “bbp Private Forums” and I’d skip the need to donate to you :).
if that code does what you want then just use the same logic you did in
How to reorder topics in one forum?
eg
function rkk_topic_av() {
$thisforumid = bbp_get_forum_id();
if($thisforumid == 43135) {
echo bbp_get_topic_author_link( array( 'size' => '48' , 'type' => 'avatar'));
}
}
add_action('bbp_theme_before_topic_title','rkk_topic_av');
dashboard>settings>general>date format
bbpress just follows the WordPress format you set, as it presumes you want dates to look the same all over your site
otherwise
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Freshness Display lets you play with how it is displayed
It could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, 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.
it does for bbpress, but I think you are also using bbpress, in which case maybe this
bbp buddypress profile information
Hi,
I have a forum called ‘Introduce Yourself’. Currently the topic archive page on all forums just shows the topic title and a small ‘started by’ avatar underneath. This is fine for most forums but I’d like to show a large avatar to the left of the topic title in the Introduce Yourself forum only.
I found this thread on a similar subject but I’m not sure how to make this work for this one forum only.
Any pointers?
I’ve set up some FAQs as topics in a closed forum and would like to re-order them. I came across this code:
//* Change sort order of Topics within a specified bbpress forum
function my_custom_display_topic_index_query ($args) {
$thisforumid = bbp_get_forum_id();
if($thisforumid == 43135) {
$args['orderby'] = 'date';
$args['order'] = 'ASC';
}
return $args;
}
add_filter('bbp_before_has_topics_parse_args', 'my_custom_display_topic_index_query ' );
… but when I added it to my functions.php file it hid all the topics (even though at forum archive level it displayed the correct number of topics in the topic count column). Removing it returned my topics.
Any pointers?
we need a date of birth filed in bbpress just like its in buddypress.
so as to display in on the forum. please add it to your upcoming updates or someone should crate a plugin for this.
This plugin doesn’t work for that, it doesent add to the bbpress profile metadata
I noticed during my testing of bbPress that if I move a topic from one forum to another that the freshness doesn’t get refreshed.
Is this a bug or is there a design process I am not aware of?
I guess I will be patient for you to test this Robin
$topic = bbp_get_topic_id();
$users = get_users() ;
$count = 0;
foreach ($users as $user) {
$topic_list = get_usermeta ($user->id, 'wp__bbp_favorites', false) ;
if (in_array ($topic , $topic_list)) $count++ ;
}
echo $count;
I am getting the error
Warning: in_array() expects parameter 2 to be array, string given in C:\wamp\www\omna\wp-content\themes\omna2\bbpress\content-single-topic-lead.php on line 134
Thank you for your help. It took me a while to figure out what’s going on. It seems bbPressNotify is the culprit. I once installed this plugin and modified the message with it. But then when I found out it allows forum to notify only one of the three forums unless I pay for the add-on subscription, I deleted the plugin. Apparently it is still in effect. That is why it only sends a notification to the Editor forum with the message I originally defined a long time ago with bbPressNotify. I don’t know how to delete the leftover data of this plugin.
Just for clarification, was bbPress could have done what I need without any plugin? Just recap, what I need is:
We have 3 forums
1) Editor forum (hidden from all) – editors subscribed
2) Contributor forum (hidden from public) – contributors and editors subscribed
3) Subscribers forum (public) – all registered users subscribed
Notification from each forum new post/reply
Did I really need bbP Private Groups plugin, and did I really need notification plugin for sending out notifications, or bbP could have done this without plugins?
Hi,
I have never edited any of our users’ roles. Some users have the bbp_participant role, but not all.
When does this (default) role get assigned?
How can I set all those that have no bbp role?
The checkbox “Automatically give registered visitors the PARTICIPANT forum role ” is checked.
Wordpress 5.2.4.
BBPress 2.5.14