Hmm, actually I think this works for my case
<?php echo do_shortcode(‘[bbp-topic-index]‘); ?>
Still if someone have another code let me know. Thanks
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
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!
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.
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!
My users are seeing HTML entities in their notification emails:
eg. “@jordan, Love the owl on this page: “This page became so elevated that it transcended time space
””
Anyone know how to fix this?
When I use the following shortcode:
[bbp-single-topic id=$topic_id] – Show a single topic
How do I know what the ID is of each of my topics? I’ve tried a lot of what I though were good guesses, but none of them seem to work.
How do I figure out what goes in the shortcode to display a given topic?
More dumb questions…
I created the pages, added the short codes and unchecked the box.
However, I can’t make the registration feature show up on the live site.
When I manually input the page name into the browser, I CAN see it, but that is the only way it shows up.
If I go to the live site (and log out), I’m not getting the option to register. It says “you must be logged in…”, but it doesn’t give me a way to register or login.
How do I make that happen?
Thanks
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
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
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
Tnx jaredatch I’ll try to edit my code
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)
NOTE: that is the code of my header.php
Cheers,
<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
Hmm, I’m out of ideas then. It works on both of my test installs
You will need to use the shortcodes listed on https://bbpress.org/forums/topic/bbpress-20-shortcodes
So for example you will want to create a ‘Registration’ page that will have the [bbp-register] on it.
Then you will probably want to create a ‘Login’ page that has [bbp-login] on it.
Lastly, you will want to go into your Forum settings (Settings > Forums) and uncheck “Allow guest users without accounts to create topics and replies”.
No, unregistered users who leave a comment are not created an account. That’s why they aren’t showing up in the user list.
Even though they are entering in their email address, it’s not actually creating a user account for them
It’s not “incorrect”. Its just not “complete”. I am using Cimy Extra User Fields, I changed forum-user-edit.php to include the new field. I then set the field in the admin panel with a value which is being populated correctly however I was unable to find the function where all the information is being saved in bbPress when “Update User” is being clicked so I cant put in the code needed to save the Cimy fields.
Yes the forums show up when I change the theme to the bbPress 2010 theme.
Anyone else interested, place this in your functions.php file:
function bbp_get_reply_last_active_time( $reply_id ) {
$last_active = get_post_field( 'post_date', $reply_id );
$last_active = !empty( $last_active ) ? bbp_get_time_since( bbp_convert_date( $last_active ) ) . ' ago' : '';
return $last_active;
}
and then call it in loop-single-reply.php