Thanks a lot, Jon. Very nice that you post the whole code.
My problem is – as I can’t use WP page, as I need to display this on custom homepage (index.php), not on the separate WP page.
so I try to use
<?php echo do_shortcode(‘[bbp-topic-index]‘); ?>
As it is outside loop, but it doesn’t work. Not sure what I am doing wrong.
Not sure what I doing wrong.
I didn’t change the whole forum to look like bbprress.org, but instead wanted the first page users see to look like .org. That is, with a forum list on the left, tag cloud below that and on the right a list of recent topic updates. I achieved that with the following page code:
<div style="display: inline; float: left; position: relative; width: 400px;">
<div style="margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent;">
<h2>Forums</h2>
[bbp-forum-index]
</div>
<div style="margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent;">
<h2>Hot Tags</h2>
[bbp-topic-tags]
</div>
</div>
<div style="display: inline; float: left; position: relative; width: 400px; margin-left: 25px;">
<h2>Topics<span><a title="New Forum Topic" href="http://your-url-here/?page_id=232" style="font-weight: normal;"> — Start New</a></span></h2>[bbp-topic-index]</div>
I also made some CSS changes to change formatting and remove some text.
Jon
hey Jon & Jim & JJJ & Jaredatch
did u manage to get something like https://bbpress.org/forums/ ?
what was shortcode or php code I can use to create it? My problem is that I can use it in the new page, but on custom homepage of my site – so I need php code (or wrapup php code with shortcode) that will display something like https://bbpress.org/forums/
your help is greatly appreciated!
– – – – – – – – – – – –
otherwise bbPress looks great and i’m looking forward to learn more about it and build some big website. previously i build websites with 750,000 visitors in drupal. but now trying to figure out myself how to use wordpress
For some reason it won’s show more than 5 forums on bbpress… any thoughts on how to fix this?
I forget to mentioned I am using bbPress 2 and WP 3, all updated and running fine.
I would appreciate help on this topic please 
How to get nice looking page with latest threads, topics and reply on the custom homepage. Not on the WP page.
Where can I find php code that could pull this from bbPrss 2?
Thank a LOT!
No, I’m not associating it with a page. If I disable bbPress, the url becomes invalid.
That and maybe raise a good thread in how best to combat Spam in a bbPress forum.
To see this happen so much at bbPress.org certainly suggests to people that the forum software is wide open to spam attack, if you ask me.
Try saving your permalinks settings, then saving bbPress settings and see if it works.
I’m working on what you said.
I’m a little stuck on the shortcodes. To display a single topic, the short code needs an ID code, but I’m not sure what the ID code or name is for each of my topics.
I’ve played with a few obvious choices, but nothing is working yet.
I’ve been trying to install bbPress on a clean installation of WP. The installation seems to go fine, but when I visit the forum page, only the title shows up. Is there something I’m missing?
im using it with a fresh install of the latest wp, but i have a styling issue ( http://screen.ticno.com/index.php?image=diLrSMnMxuCXs7Zs9BWr.jpg ). im using the London Live template. it’s a local testing and everything is “fresh” without custom code. suggestion?
Hi everybody,
I just installed bbPress yesterday and I am at the moment playing around to get to know things. I am a real dummy when it comes to this, so I could really use some help (no too big words and difficult explanations, please
). I wanted to add a forum specific sidebar and therefore installed the bbPress WP Tweaks plugin (would there be any better solutions?) As you can see on the following page http://demo.agxe.se/forums/ it works fine, but when I click to get in to the Forum it looks like this http://demo.agxe.se/forums/forum/forum/ The sidebar is still there, but since the content is centered the sidebar is being pushed down. I have the same problem at the single topics pages. I tried all the different forum wrappers and I am at the moment using index.php. How can I make this work?
Thank you!
Forums have been flooded with spam recently.
This could mislead someone to think that the project is abandoned too.
Hi there,
I’m just moving a site from standalone WordPress over to Multisite (not that I think that’s the issue)
Anyway the page generated by bbPress at my forum base is a bit messed up, see:
http://webay.hostingbydavid.co.uk/forums/
Also the page that you get to when you click on an author name is similarly messed up, see:
http://webay.hostingbydavid.co.uk/forums/users/david/
Any ideas why?
If I create a WordPress page with the shortcode to show the bbPress home, it that page will display nicely, but the bbPress breadcrumb will link to the Forum Base rather than my WordPress page.
Any clues how I can sort this out are greatly appreciated
This is all created and viewed whilst logged in as the Network Super Admin.
Cheers
David
Does the forum on bbpress.org use parent forums and/or parent categories, or does it use 6 child forums with no parents?
What I did is I created a child theme for K2. Added the settings of the bbpress.css file
the K2 style.css but any changes made there don’t show up.
I would like to point out that Im a novice. I don’t expect a full manual
.
But if you could explain how to activate the style in my K2 theme I will find my way.
Regards, Jacob
Hi all
I just add bbPress to my website running Deadline theme and with small tweaks all looks great! Except homepage – I want main area in the middle of the homepage to look like http://bbpress.org/plugins/ – showing new, latest and most viewed posts from my 4 forums. How can I do this?
Pleas note I can not use custom page, but have to add code to the existing homepage. I tried few versions, but didn’t get exactly the same results. All I was able to pull is 4 posts with code: <?php bbp_get_template_part( ‘bbpress/content’, ‘archive-topic’ ); ?>. But that is obviously not what I need. Is there a simple way to get results like on http://bbpress.org/plugins/
I am not coder (obviously), but can do all CSS work without any issue.
I hope this is not repeated questions, but I tried to find solution and no luck.
Cheers & Thanks
Dean
How to make this:
http://i.imgur.com/X5vqs.jpg
Look more like this:
http://i.imgur.com/v5s7C.jpg
??
Is there any way?
Jim,
What I mainly wanted was a web page where the layout was similar to the bbpress.org forum and I wasn’t looking for the colours, etc, to look the same. I have found that a new theme isn’t required and instead I did the following:
1. Create a new page in wordpress
2. Create a layout using <DIV> tags and use bbPress shortcodes to specify where the forum components should sit
3. I then added CSS to the style.css of my WordPress child theme to control how the forum looked. For example, I didn’t want the forum navigation text or the text saying how many posts there are, etc, so I turned them off via CSS.
I’m not sure if that’s the best way to do what I wanted but once I “discovered” shortcodes this was all very simple and didn’t require a new theme or PHP changes, etc, so was fairly easy.
Let me know if you want any more details about what I did and I post them here.
Jon
There are several different things you can do.
I would recommend inserting this information by using hooks that bbPress put in place. Unfortunately there is no “master list” of the available hooks, so you have to dig in bbPress and find the best one. It’s very do-able but will take some trial and error.
Your other option would be to approach things like you are doing now. I would use bbPress conditionals instead of is_page(). Here are a few of the conditionals available:
bbp_is_single_forum()
bbp_is_single_topic()
bbp_is_topic_edit()
bbp_is_topic_merge()
bbp_is_topic_split()
bbp_is_single_reply()
bbp_is_reply_edit()
bbp_is_reply_edit()
bbp_is_single_view()
bbp_is_single_user_edit()
bbp_is_single_user()
bbp_is_user_home()
bbp_is_subscriptions()
bbp_is_favorites()
bbp_is_topics_created()
is_bbpress() (this is all of the above wrapped in one)
<div id="sub_header">
<?php
/***
* This conditional determines where exactly what page you are one.!
**/
if(is_home()){
/* Blog Page */
echo '<h1 class="page_title">';
echo 'Welcome to my Blog';
echo '</h1>';
echo '<h2 class="page_blurb">';
echo ' just another wordpress site';
echo '</h2>';
}else if(is_front_page()){
/* Landing Page */
echo get_post_meta($post->ID, "Landing Header", true);
}else{
echo '<h1 class="page_title">';
echo get_post_meta($post->ID, "page title", true);
echo '</h1>';
echo '<h2 class="page_blurb">';
echo get_post_meta($post->ID, "page blurb", true);
echo '</h2>';
}
?>
</div>
This the default site of my bbpress forums:
http://localhost/mysite/forums/
And I try to make page for forum using the short code [bbp-topic-index] :
this is the link:
http://localhost/mysite/forum/
and I try to edit this code above:
}else if(is_page('forum')){
/* Forum Page */
echo '<h1 class="page_title">';
echo 'Forum Support';
echo '</h1>';
echo '<h2 class="page_blurb">';
echo 'Press community';
echo '</h2>';
and it works fine only in page (forum) http://localhost/mysite/forum/
but when I click all the the content in the forums my Title and Blurb has gone.
WHat I want to do is my sub header page title and page blurb will appear in any page in forums.
ANYONE knows how to fix this or how to add code?
I’m just a beginners in wordpress
your reply is much appreciated,
Thank’s
Actually, I’ve tried this “load” permalink settings thing, but never worked. Also, I have two other sites with bbPress that worked out-of-the-box.
Everything else works fine, plugins, custom post types, etc. It’s just bbPress that seems to only work with default permalinks.
– Pretty permalink slug:
http://www.nelioguazzelli.com.br/forums
Not working.
– Default post type slug:
http://www.nelioguazzelli.com.br/?post_type=forum
Working, but child forum and topics links to pretty permalinks, which is the current structure. And they return a “page not found” error.
Just migrated from standalone to plugin a couple weeks ago and this one has me stumped. I’m having issues where the freshness time doesn’t match up with the latest reply time.
http://ragbrai.com/forums
WP v3.3.1
BBPress v2.0.2
From what I can see the freshness time is based on the topic’s ‘_bbp_last_active_time’ meta tag.
On my forums, using the ‘Route Announcement Party – Who’s In?’ as an example, you can see the freshness date is way off when you compared to the time of the latest reply.
Currently the ‘_bbp_last_active_time’ meta_key has a value of ‘2012-03-08 08:51:03’
From what I can tell that meta_key is set based on the post_date of the topic or the post_date of the latest reply of the topic with a status of publish, right?
The latest published reply for that topic has a post_date of ‘2012-01-26 08:13:57’
The only post in the database with a post_date of ‘2012-03-08 08:51:03’ is a reply to a different topic and it has a status of ‘spam’
Maybe something went wonky with the import from stand alone.
Is anyone else seeing anything like this?
Unfortunately this is not a feature bbPress 2.x has at this time.
Hopefully someone will write a plugin in the future that adds this feature!