I’m trying to make my forums’ home page display what you get when you put [bbp-single-forum id=$forum_id] in a page. I am editing “archive-forum.php” to do so, since the result will be a more fleshed out version of archive-forum.php anyway.
“Echo do_shortcode” doesn’t seem to work in the .php file, and I’ve been screwing around with this and trying out different strings of PHP code for about six hours straight.
In reality, I will be showing two different categories with the [bbp-single-forum-id=$forum_id] code, each with several forums in them. I’ll have to add some extra divs for the names of the categories, but I can do that myself.
Whatever happens, I don’t care if I use a shortcode or if I use PHP; but if POSSIBLE, I’d rather not add anything to my functions.php. But I’ll do what I must.
Thanks in advance.
I’d like to have the topics have the newest replies at the top, rather than the oldest as it is by default.
Fixes I’ve found here say to edit the topic.php file, but I don’t have a topic.php file.
I also search for the code and can’t find it in any of my files.
Which file in Twentyten do I edit, and what lines?
Thanks!
____________
BTW, This did not work for me.
“Find get_thread( $topic_id, $page ) in /topic.php and change it to get_thread( $topic_id, $page, true ).”
Should I be editing page-create-topic.php, form-topic.php, single-topic.php… or what?
I’ve found 3 different fixes here for hiding the topic tags input field, but nothing works for me.
____________________________
Here is the input on the page:
<p>
<label for=”bbp_topic_tags”>Topic Tags:</label>
<input type=”text” value=”” tabindex=”103″ size=”40″ name=”bbp_topic_tags” id=”bbp_topic_tags” />
</p>
____________________________
Is this the CSS file I edit?
wp-content > plugins > bbpress > bbp-twentyten > css > bbpress.css
____________________________
Here is the tags area there:
div.bbp-breadcrumb,
div.bbp-topic-tags {
font-size: 12px;
}
#content div.bbp-breadcrumb p,
#content div.bbp-topic-tags p {
margin-bottom: 10px;
}
div.bbp-topic-tags {
float: right;
}
____________________________
Although on the web page, as you can see, there are underscores, not hyphens.
I’ve tried div.bbp_topic_tags {display: none;} etc. to no avail.
Please explain clearly for this non-coder how to hide the input.
Thanks!
Ah topic views, that points me in the right direction thanks. For reference then if anyone needs it that means you can do stuff like this:
add_action('bbp_register_views', 'view_popular_topics');
function view_popular_topics() {
bbp_register_view('popular-topics', __('Popular Topics'), array('meta_key' => '_bbp_reply_count', 'orderby' => 'meta_value_num'), false );
}
Then link to the view with:
<a href="<?php bbp_view_url('popular-topics'); ?>"><?php bbp_view_title('popular-topics'); ?></a>
There’s a couple of informative posts re this here:
http://internet-alacarte.com/adding-custom-fields-to-bbpress-topics-then-filtering-topics-by-custom-fields-using-views/
http://bbpep.com/blog/2011/04/01/creating-custom-views-in-bbpress/
I’m sure there’s some simple shortcode for this — but is there a way to add a simple phrase like “You must either register or log in to reply.” to topic pages? I’d like that to ONLY be viewable to people who are not logged in.
Thank you!
How do you set up bbPress to show forum list when accessing url like:
http://localhost:11111/forums/ at my end this is not working, or am I missing something, do I need to create a page and put a shortcode in it??
You need to try and customize your theme a little further.
bbp-reply-author { width: 150px; }
This will sort out the author box being to large.
I had BBpress installed with another theme. The forums were showing using the default templates. Now this page is fine:
http://www.v-fit.us/forums/
But click on any forums and they are blank pages. Yet the topics work if you can get to one of those.
http://www.v-fit.us/forums/topic/shakeology-receipes/
So I am a little confused. 
Any help would be great. I have not moved any template files or anything I just changed Themes from one to another and these stopped working.
Beta means try it, hope for the best, and sob quietly if it all goes horribly wrong 
I’ve been using the development versions for a couple of months now on a release site without any major issues so it should be more or less fine. Not sure whether to risk the BuddyPress beta though and I probably should update both at the same time…
hahaha I can tell you’re excited
SKParticipant
It means 1 month till release
Remember what ‘beta’ means
I’ve been using the 2.1 releases for a week or so now without much trouble. I upgraded to 2.1-r3967, and I started noticing some design issues. My CSS was no longer being completely recognized; some things were, others weren’t. It seems similar to another issue someone else was having with some template files not being recognized.
I waited a day or two and upgraded to the latest version and was still having this happen. Tried switching between the Twenty Ten and theme compatibility theme packages, and neither really changed the situation. No matter what, the CSS of the theme-compat was being used. Went in and deleted bbpress.css from bbp-theme-compat/css, and it’s fixed the problem entirely. So, something may be up with that, I think.
Nice-thanks for sharing.
For myself I have had major issues trying to run BuddyPress/bbPress on my blog and yet still I want to try bbPress forum plugin on another WordPress site of mine. Viewing yours is a help-I may have to look at your css styling & I certainly will want to look at what plugins will help run bbPress forum.
Thanks & best wishes (enjoy your minecrafting!!it’ll never beat chess
lol!)
Hi again,
that issue is solved as one of the WPMUdev staff developer solved the issue on their plugin, they added
global $wp_query;
to a function
and replaced :
get_queried_object_id()
with :
$wp_query->queried_object_id
in the same function
(WPMUdev is going to release an update of the Pro Sites plugin I guess, for details, see this topic’s comment http://premium.wpmudev.org/forums/topic/pro-sites-incompatibility-with-bbpress?replies=15#post-234125)
I come back here to inform about it, in case someone else encounter the same issue (I saw a lot of “page not found” issues while searching BBPress forums), then it would maybe help to see which kind of code made conflict?
(I don’t know, I’m not a coder)
of course I still do not understand purely on BBPress how is it possible to have 2 possible permalinks for 1 subforum
either : example.com/forums/forum/level1/level2
or : example.com/forums/forum/level2
both url work, and this is not standard I think, anyway…
in any case, this issue is solved for me
BTW this is how the code of loop looks like:
query_posts("paged=$paged");
while (have_posts()) : the_post();
?>
<div <?php post_class(); ?>>
<!--h2><?php bbp_forum_title(); ?></h2>-->
<div class="txtContent">
<div id="forum-<?php bbp_forum_id(); ?>" class="bbp-forum-content">
<?php bbp_get_template_part( 'bbpress/content', 'single-forum' ); ?>
</div><!-- #forum-<?php bbp_forum_id(); ?> -->
<?php
endwhile;
?>
<?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?>
agree with TSCADFX,
just hide using css 
.bbp-reply-revision-log {
display: none;
}
This is true and I should have mentioned that when I posted the code just as a precautionary measure but for me it’s not about looks it’s about database efficiency. Therefore, removing any and all revisions is good once you know that it’s safe to do so.
Unfortunately BBPress stores it’s revisions without anything different from that of a post. Here’s a revised version of the code should you only want to delete one forum topic revision as that’s really the only other way beside hiding the code.
And for those that just want to hide the code edit your theme css and use this:
.bbp-reply-revision-log {
display: none !important;
}
If you’d like to just remove revisions from a single forum topic use this in the same manner as my previous post and modify {post title} to reflect your topic title exactly how it’s shown, with spaces.
<?php
require_once('wp-load.php');
$posts = get_posts('post_type=revision&post_status=any&post_title={post title}&numberposts=-1');
foreach($posts as $post)
{
echo "{$post->post_title}n";
wp_delete_post($post->ID,true);
}
?>
Hope this helps clarify and remember to always make a backup as the script does modify your database.
Putting wp-poll shortcodes into posts works well enough. But most users on the forums don’t have access to the Dashboard to make polls that way. This almost would be an entirely new plugin to expose poll creation in the forums.
Look harder. Plenty of examples in the forums here and the codex.
What your site looks like is not the intention. Your theme is not compatible with bbPress, since it’s doing something o override the WordPress template loader.
Rob is right.
First go to Settings > Permalinks to make sure those are triggered, then try again
I would suggest creating a backup of your database before performing this. Once you have a backup create a PHP file and paste the below code in it:
<?php
require_once('wp-load.php');
$posts = get_posts(‘post_type=revision&post_status=any&numberposts=-1’);
foreach($posts as $post)
{
echo “{$post->post_title}n”;
wp_delete_post($post->ID,true);
}
?>
Place the file in your WordPress root folder and load the file in your web browser by typing {domain}/{filename}.php
It should output a list of revisions that were removed.