Search Results for '"wordpress'
-
Search Results
-
Folks, I have been trying to get bbPress to fully integrate into my WordPress site for like weeks. I happened up a gentleman who had it figured out. He sent me his notes and I am giving them to you here. One word of caution, even though I followed the instructions carefully, I still don’t have it working – this doesn’t mean his instructions are incorrect … just that I am not skilled enough to figure out all the elements.
His name is Adam Kayce of Bright Coconut. I hope you enjoy his instructions and they speed you toward full integration (and then if you have time, come help me!).
Integrating the Theme:
I have a link to my forum in my global nav by creating an empty page with a slug that is the same as the directory name as where I have bbpress installed.
But I also load the wp-load.php file in my bb-config.php file
define(‘WP_BB’, true);
if ( !defined(‘DB_NAME’) ) {
require_once( dirname(__FILE__) . ‘/../wordpress/wp-config.php’);
}
$bb->wp_table_prefix = ‘wp_’; // your wordpress db prefix is
$bb->wp_home = ‘http://www.trashfilmorgy.com/wordpress <http://www.trashfilmorgy.com/wordpress> ‘;
$bb->wp_siteurl = ‘http://www.trashfilmorgy.com <http://www.trashfilmorgy.com/> ‘;
Then I went into my bbpress theme and changed every instance of bb_get_header() with get_header(), and bb_get_footer() with get_footer().
Since I want to have my wordpress sidebars show up in the forum, too, I also added get_sidebar() right above the call to get_footer().
I could also add other sidebars, too – the theme I use adds two columns below the main content area and uses the dynamic sidebar functionality to add them in to each page. I could see how adding other or more sidebars and going in to the templates could be really useful.
From : http://bbpress.org/forums/topic/how-do-ican-i-integrate-my-bbpress-forum-into-my-wordpress-layout
AND
to remove the ‘Log Out’ link: kakumei/logged-in.php – delete the function
if using bbPM: go into Admin area, copy function, uncheck box, and paste function in logged-in.php where you deleted the old function from
AND
to get the backslashes out of apostrophes:
1) open up /bb-includes/functions.bb-template.php
2) replace line 1074 with:
return stripslashes(apply_filters( ‘get_topic_title’, $topic->topic_title, $id ));
3) and line 1782:
return stripslashes(apply_filters( ‘get_post_text’, $bb_post->post_text, $bb_post->post_id ));
Topic: wordpress integration
hi at all, i want to integrate bbpress and wordpress, i put “require_once(dirname(__FILE__) . ‘/../wp-load.php’);” in my bb-config.php but the retrn is a blank page, bbpress is in a folder inside wp folder.
where is the problem?
thank at all
kikko088
I need to make bbPress forum to one WordPress installation and I want to ask other users what is in their opinion better solution for bbPress’ database: should it have separate database or to use existing database of WordPress?
Untill now, I used separate databases, but I found one reason for using only one database: WP plugins for automatic backup of database could then backup bbPress’ tables too. I don’t know for any similar plugin for bbPress.
Your experiences?
I really need my forum tag cloud visible when my users are on the wordpress side. I need to call bb_get_tag_heat_map( $tags, $args ) specifically. Anyone have any suggestions on how I might achieve this?
Thanks in advance –