Ok, thank you!
I achieved what I wanted, this way:
Forums list:
<p class="bbpx-topic-meta">
<?php
$forum_id = bbp_get_forum_id();
$last_active = get_post_meta( $forum_id, '_bbp_last_active_time', true );
if ( empty( $last_active ) ) {
$reply_id = bbp_get_forum_last_reply_id( $forum_id );
if (!empty( $reply_id)){$last_active = get_post_field( 'post_date', $reply_id );}
else
{
$topic_id = bbp_get_forum_last_topic_id( $forum_id );
if (!empty( $topic_id)){$last_active = bbp_get_topic_last_active_time( $topic_id );};
};
};
$date= date('d/m/Y',bbp_convert_date( $last_active ));
$active_id = bbp_get_forum_last_active_id( $forum_id );
$link_url = $title = '';
//these two next lines are beyond me: same condition, two results for the same variable...
if (empty($active_id)){$active_id = bbp_get_forum_last_reply_id( $forum_id );};
if (empty($active_id)){$active_id = bbp_get_forum_last_topic_id( $forum_id );};
if (bbp_is_topic($active_id))
{
$link_url = bbp_get_forum_last_topic_permalink( $forum_id );
$title = bbp_get_forum_last_topic_title( $forum_id );
}
elseif (bbp_is_reply($active_id))
{
$link_url = bbp_get_forum_last_reply_url( $forum_id );
$title = bbp_get_forum_last_reply_title( $forum_id );
};
$time_since = bbp_get_forum_last_active_time( $forum_id );
if (!empty($time_since) && !empty($link_url)
{
$anchor = '<a href="'.esc_url($link_url).'" title="'.esc_attr($title).'">'.$date.'</a>';
?>
<span class="bbp-topic-freshness-author">
<?php
bbp_author_link(array('post_id'=>bbp_get_forum_last_active_id(),'size'=> 14));
?>
</span>
<?php
}
else {$anchor = 'esc_html__( 'No Topics', 'bbpress' );};
?>
</p>
<?php
echo apply_filters( 'bbp_get_post_time', $anchor, $forum_id, $time_since, $link_url, $title, $active_id );
?>
Topics list:
<p class="bbp-topic-meta">
<span class="bbp-topic-freshness-author"><?php bbp_author_link(array('post_id =>bbp_get_topic_last_active_id(),'size'=>14)); ?></span>
<?php
$topic_id = bbp_get_topic_id();
$reply_id = bbp_get_topic_last_reply_id();
$title = bbp_get_topic_last_reply_title( $topic_id );
$link_url = bbp_get_topic_last_reply_url( $topic_id );
$date = get_post_time( 'd/m/Y', $gmt, $reply_id, true );
$anchor = '<a href="'.esc_url($link_url).'" title="'.esc_attr($title).'">'.esc_html($date).'</a>';
echo apply_filters( 'bbp_get_topic_freshness_link', $anchor, $reply_id, $result, $link_url, $title );
?>
</p>
As you can see, I didn’t hook anything already. So far I just got rid of the “bbp_topic_freshness_link()” in the templates and simply replaced the initial function by these lines, just to make a test. I still have to make a function out of these.
Not happy with this mess as I’m sure it’s more complicated that it should be, but it works.
Thank you for your guidance koendb!
I installed bbPress on Customizr theme. It’s supposed to show a list of forums in a table view. But all forum title becomes plain (no link) & stacks up like no format.
http://tajenli.org/wp01/forums/
Other forum page works just fine:
http://tajenli.org/wp01/forums/forum/web-developers/
I am not sure this is bbPress issue, or the theme issue. But I have tried it on other themes, like 2013, 2012, and elegant themes, all works just fine.
Could you help? If I can’t solve this issue, which means I have to change the theme. That won’t make my life easy.
Thanks,
Darren
How do I add some padding to the left and right of the words “log out”?
bhomis
Hello
I installed bbpress but the forum comes close by the presence of the sidebar, how can eliminate the sidebar to the full width of the page is for the forum?
Regards
Mark
Hi,
I have this forum page Im having problem with the appearance. The forum section looks compressed and prob is the sidebar has a fixed area, so Im thinking if I could customize the size of the forum section. The page has a fullwidth template, everytime I deactivate bbPress, the sidebar disappears but whenever I activate it, it comes back again, maybe because there’s a sidebar call function in bbpress?
So by inspecting the elements, the column where it shows the forums has a size of 390px by 27px, is it possible to reduce the width to, lets say, 300px by 27px so that the Topics, Posts and Freshness columns moves closer to the left. This would align the elements below to their correct columns.

Thank you!
Hi there,
I want to open my website for discussions other than just about our articles. Therefore, I would like to allow unregistered users to create topics and write replies without the need to register (that’s already done). To encourage posting, I want the avatars and names to link (no-follow) to their own blogs. I’ve spent 5 hours trying to do this. I’d be very grateful if someone could help.
Thanks,
Cez
Link to forum: http://etramping.com/forum
Wordpress version: 3.7
BBpress version: 2.4.1
thanks markafoote , as none techy guy i did not know how to apply your suggestion which worked for me.
once i activated the bbpress, I made a new page and pasted “[bbp-forum-index]” in the body of the page, then press published, at last after 2 days of trying and searching it worked.
I dont know why this step is totally ignored by all the youtube clips i saw of how to install bbpress
from what i understand the forum needs a page to show the forums and topics
hope this helps others
Onto the ‘other’ bits of your last post.
For the most part the standard /wp-admin/users.php user admin dashboard panel is ‘enough’ to get day to day tasks done for ‘most’ situations as it does have search (top right) to make this usable.
The delete users wp-admin/users.php?action=delete&user=123 is all WordPress and bbPress does not alter this behaviour though as you state it would be nice if this could be improved for sites with large user bases. To resolve this we will have to wait until WordPress implements some changes here.
None of the bbPress widgets do this Widgets – the list of users is loaded under one or more widgets
So yes, these things are not just under consideration they are actively thought about constantly and we have tried to keep from implementing this pain in bbPress, but for now until we can get some changes upstream in WordPress core some of this pain will remain.
As I mentioned above on the ‘clobber-spam-users’ plugin I mentioned this plugin as it is not very complex and could be modified to ‘help’ with your cleaning up of 17,000 users topics & replies.
Stephen, I don’t think I ever said I had a handful of users. The actual number is over 17,000
This snippet from your original post was the only context I was referring to for the ‘handful’ term so that even though the experience is painful it will get THIS part of your job done as long as you are not trying to do this for 17,000 users.
A way to delete users an reattribute their posts/topics/replies to another user (mainly for a handful of folks who already had accounts on the WordPress side before migrating vBulletin over)
This should get you started: bbp_get_reply_post_date on sourcexref
I feel the same way. It’s great how much work is being put into this plugin, but the support isn’t great. And finding out what information is still valid for the current bbpress version is sometimes difficult.
But in general: you could google every function and after a few days you’re used to and can guess the very logical named function names.
Good luck. (and keep me updated)
Please guys, this is not something trivial.
I tried to work it out but I couldn’t as there is not a single post around here answering that and there is nowhere I can find a comprehensive list and description of the BBPress functions.
All BBpress functions I happened to find that are related to the dates are displaying them in a sophisticated way, there is none I could find that just displays the date in its simplest form.
I tried to “date()” and “strtotime()” every single variable I could find but with no success.
There are posts telling how to use flat dates around here but these posts are very old (4 years..) and they make use of functions that don’t exist anymore.
There was supposed to be a plugin for that but this plugin doesn’t exist anymore neither.
And the more recent questions about this issue are just not answered.
I hope this will not be taken the wrong way: I’m very grateful for this plugin and for all the people working on it. Really. I just don’t know how to move on with an unanswered question and some outdated answers.
PS: I asked you how to get the latest post date in the forum list view but now, I also (and mainly) need to know how to achieve this in the topic list view and posts view as they are not documented neither.
Long story short: how to get real dates everywhere!
It’s been two days and I’m still in the dark. If it’s there somewhere, my bad, but please be assured that, as obvious as it might be, I tried my best.
Thank you very much for your help.
Hello
A forum without inline attachments to display image etc. is not really a forum and can’t really be used (nobody wants to go to imageshack etc. to upload images, they do it just because they are forced). I saw people asking for that since almost 5 years (each time i type “inline image bbpress” on google it returns messages from 4-5 years of people asking this feature and wondering why it”s not included).
Even classifieds from WPMUdev, which is a wordpress plugin allow to uplad images within classifieds, so why not bbpress? And the better is that they allow this through access to wordpress media library via FRONT END ACCESS (which is great because nobody wants his users to have access to wp-admin backend. and that what you upload, even if it’s on the wordpress media library can’t be seen by others memebrs, so nobody can “still” image”.
So will you finally include the front-end upload of inline images into bbpress? And if yes, when can we be excepted it? Any time soon?
Thanks
My users have lost their edit button (bbp-topic-edit) during the move to 2.4.1 (admins can still see the edit link)…
I answered to the post of @tansu (called “Theme issues”).
I just began using BBpress so I’m not a BBPress savvy but I had this part working.
I hope it will help you both.
There are two ways for achieving what you need and it took me quite a long time to figure it out too:
1) You create a child theme just like you did but what I didn’t know is that, after doing it (not forgetting to declare the parent template and the “@import” path accordingly in the css file located inside your child theme folder), you NEED to activate the child theme in your theme section of your WordPress admin. This last part is the one I didn’t know about, which is why it didn’t work at first.
2) the easier and a little more messier technique is straight forward:
Just write your custom BBpress css styles at the end of your main theme css file. It’ll work.
And if you need to change the bbpress template files, just copy the needed files inside your main WordPress theme folder and make the changes there. These files will overwrite the default ones that are in the original bbpress template folder. As simple as that
Both will work and will not be a problem in case of a WordPress or BBpres update.
The first technique is to be preferred because you will gather your BBpress children files within a same recognizable folder when the second technique will blend the BBpress children files among the ones of your main theme. Not to mention that if you decide later to switch the WordPress theme, you will have to extract the bbpress children files and styles from the previous WordPress theme to put them in the the new one.
But ultimately, the result will be the same.
Hope it helped.
I think noone understands this new themeing bull..t
To me it seems it all works perfectly. Just add
.two_third { width: 100%; }
to your .css file
Hi, i’ve set up my theme which is a deep red and installed BBpress successfully, which of course is all grey. Everything works great but the colours are a mess.
Is there a quick & easy way to change all the colours or does it involve changing 100s of lines of CSS ? A plugin maybe?
I tried installing some themes from bbpshowcase.org but none of them seem to work.
thanks alot
I’ve got the bbPress post toolbar plugin installed to bbPress on my WordPress site, which is a private roleplay site for myself and a couple of friends…but two out of the current three of us are feeling a bit OCD about the arrangement of the smilies.
We have emotes I have created and/or some I have gotten permission to use that represent each character we play with, a full range of emotions, hug emotes etc. for each character, which right now is probably 60 odd smilies, all characters combined.
I have worked out how to arrange the names of the smilies in the package-config file to keep the characters relatively organized, but I’ve tried adding line breaks between each of the character sets and all that does is break the entire website down until I remove them, I can’t seem to edit package-config outside adding new smilie codes without crashing the site…but what I would love to know is this:
Is there a way that I can insert line breaks or separate the smilies into tabs somehow by character rather than having them all smushed into one big group?
edit: WordPress 3.6 and bbPress 2.3.2 are running on my site, I haven’t gotten around to the WP update and refused to upgrade bbPress because a plugin I was using was incompatible with the new version and I didn’t wish to break it.
Stephen, I don’t think I ever said I had a handful of users. The actual number is over 17,000.
There are several pages in the WordPress admin where a pick list with ALL users is displayed. These pages will tend to several minutes to load and allow me to use them. I mention this because for bbPress to be useful for a volume of users (> 10000) there needs to be some adjustment to the way the user lists are created.
Here are two problem pages:
- Delete Users – the list appears under “Attribute all posts to”
- Widgets – the list of users is loaded under one or more widgets
For the same reason that /wp-admin/users.php only displays 20 users per page, these lists should do something similar. Or rather than a list, use a search.
I figure this isn’t something quickly or easily fixed, but suggest that it be considered in the future. And certainly bbpress.org has the same issue… how do you/they deal with it?
Hey.
If you haven’t created a child theme, start with doing that.
Create the file bbpress.php in your child theme.
Copy the content of your page.php file into this new file.
Remove the line
<?php get_sidebar(); ?>
You’ve removed the sidebar 🙂
Now you only need to change / add some classes / ID’s and adjust your CSS file to give the forum a 100% width.
Keep me updated 🙂
hey you i am using bbpress forum 3.4.1 i am using wordpress 3.6 i have install and follow all step final the when all open form page all forum display on my page but when i click any form title there is this error “Fatal error: Class ‘WP_Post’ not found in /home/rm1969/public_html/silverandbluereport.com/wp-content/plugins/bbpress/includes/core/theme-compat.php on line 375″
please help me
Greetings,
I’ve migrated my bbpress install to from 1.x to 2.x (latest) and I didn’t noticed that there was a “change” in the permalinks structure.
Now google webmaster tools is complaining that I have a lot of 404 errors.
With bbpress 1.x the the “dots” where removed from permalinks, after the migration the “dots” where converted from “.” to “-”
Topic name: “Example 2.6.1”
old permalink: /topic/example-261
new permalink: /topic/example-2-6-1
The problem is that now, even if I fix the permalinks to behave like they where in 1.x, I will have 404 errors for the new items already indexed. So, is there any way to “redirect” the “old” permalinks to the new ones?
At this moment google webmaster tools is reporting 2.133 404 errors
Thank you!
where are you all i have problem please help me i am using bbpress 2.4.1 i am using wordpress 3.6 i have install and follow all step final the when all open form page all forum display on my page but when i click any form title there is this error “Fatal error: Class ‘WP_Post’ not found in /home/rm1969/public_html/silverandbluereport.com/wp-content/plugins/bbpress/includes/core/theme-compat.php on line 375″