Search Results for '\"wordpress\'
-
Search Results
-
I have wp and bbpress succesfully integrated. Now in my bbpress forum I’d like to display the wordpress pages. Basicly I want to replicate wp_list_pages() from wp. I know there’s a way to include wp in total inside bbpress. but that has a performance penalty and I’m also afraid it might cause bugs in the future.
So I’d prefer a simple query. What I have thus far:
global $bbdb;
$query = "SELECT wp_posts.*
FROM wp_posts
WHERE wp_posts.post_status = 'publish'
AND wp_posts.post_type = 'page'
ORDER BY wp_posts.post_date DESC ";
$results=$bbdb->get_results($query);
foreach($results as $result) {
echo '<li><a href="' . $result->guid . '">' . $result->post_name . '</a></li>';
}But I need a query which replicates wp_list_pages() closer. Where can I find that function in wordpress? Or how could I improve my query so that I get the subpages as well, for example?
Topic: WordPress deep integration
Sorry for yet another WordPress integration topic. I’m mainly interested in integrating my WordPress header with BBpress, and I’ve read just about every page on the topic. I tried the deep integration suggestions by editing my bb-config.php to include:
if ( !defined( ‘ABSPATH’ ) ) {
include_once( ‘../wordpress/wp-blog-header.php’ );
}
I’ve also tried setting the path to wp-load.php instead with no luck. I keep getting an error saying that the file or directory does not exist. My WordPress and BBpress installs are in separate directories, but on the same level. Ex:
/home/wordpress
/home/bbpress
Is the path I have correct? Also, I went through every file in the template and changed:
<?php bb_get_header(); ?>
<?php bb_get_footer(); ?>
to
<?php get_header(); ?>
<?php get_footer(); ?>
Are there any other suggestions?
Edit: Sorry I forgot to mention that I’m using WordPress 2.7.1 with bbPress Alpha 1 and my website is http://www.rivenwow.net
Topic: WordPress 2.7 options
I’m setting up a new web site, which is running WordPress 2.7. (Older versions aren’t an option because keeping them up-to-date with security releases is much harder.) The site’s going to need a forum, and I would like to use bbPress if I can.
Has anyone worked out the details in running WordPress 2.7 with the current stable release of bbPress 0.9.x? I know that seamless integration won’t be ready until 1.0 is ready, and if the developers say don’t use it yet, I won’t use it.

But if I do try to go with the current bbPress, what are the gotchas? Is there any integration possible at all, or do I have to wall them off as completely separate products with separate logins? If my client wants integration now, do I have no choice but go with something else like SMF?
There is one additional concern I have, though:
I had integrated bbPress 0.9 with a WordPress 2.5 site about a year ago, and loved how well they fit together — you guys really did an awesome job. Then 2.6 came out, and the incredible delay in bb’s WordPress integration seriously burned us. The web site got hacked twice due to 2.5.x security flaws that seem to be fixed in 2.7, and in the end we finally had to bite the bullet, delete the forum (it wasn’t getting that much use anyway), and upgrade WordPress. While the purist in me would love to work with bbPress again once 1.0 is available, I can’t shake this suspicion that when some future version of WordPress comes out, those of us who are using bbPress would get burned again because the developers are simply more interested in an ambitious future release that’s more than a year out. While 1.0 looks like an incredible release, a point upgrade to address compatibility would have been a really, really nice thing.
(Sorry if this sounds like a rant — I just would really like to trust this product again!)
Thanks,
Richard
Hi guys,
i want to have the same theme from WordPress in my bbpress forum. Therefore i add
require_once('../wp-blog-header.php');in my bb-config.php . Then i can load the bbpress forum but it have the old kakumei theme. What should i do ? Delete the last three lines from bb-config :if ( !defined('BB_PATH') )
define('BB_PATH', dirname(__FILE__) . '/' );
require_once( BB_PATH . 'bb-settings.php' );But then the forum doesnt knoe the bbpress functions. Can somebody please help me?
Thank you in advance.

