Search Results for '"wordpress"'
-
Search Results
-
I’m trying to integrate WordPress 2.07 and bbpress 0.75, but I’m not having any luck!
I’ve followed the instructions found here:
http://bbpress.org/documentation/integration-with-wordpress/
The following is a copy of my bbPress config.php file.
<?php
// ** MySQL settings ** //
define(‘BBDB_NAME’, ”); // The name of the database
define(‘BBDB_USER’, ”); // Your MySQL username
define(‘BBDB_PASSWORD’, ”); // …and password
define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
// Change the prefix if you want to have multiple forums in a single database.
$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!
// If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.
// Adjust the domain and path to suit your actual URL.
// Just the domain name; no directories or path. There should be no trailing slash here.
$bb->domain = ‘http://www.kineda.com’; // Example: ‘http://bbpress.example.com’
// There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.
$bb->path = ‘/hype/’; // Example: ‘/forums/’
// What are you going to call me?
$bb->name = ‘Hype’;
// This must be set before running the install script.
$bb->admin_email = ”;
// Set to true if you want pretty permalinks.
$bb->mod_rewrite = true;
// The number of topics that show on each page.
$bb->page_topics = 30;
// A user can edit a post for this many minutes after submitting.
$bb->edit_lock = 60;
// Your timezone offset. Example: -7 for Pacific Daylight Time.
$bb->gmt_offset = 0;
// Change this to localize bbPress. A corresponding MO file for the
// chosen language must be installed to bb-includes/languages.
// For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’
// to enable German language support.
define(‘BBLANG’, ”);
// Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage
// of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at
// http://wordpress.com/api-keys/
$bb->akismet_key = ‘e9a77fed10be’; // Example: ”
// The rest is only useful if you are integrating bbPress with WordPress.
// If you’re not, just leave the rest as it is.
$bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ‘http://www.kineda.com’; // WordPress – Options->General: Blog address (URL) // No trailing slash. Example: ‘http://example.com’
$bb->wp_siteurl = ‘http://www.kineda.com’; // WordPress – Options->General: WordPress address (URL) // No trailing slash. Example: ‘http://example.com’
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
After setting the config file, I went through the install process for bbPress. Then I downloaded the following plugins: wordpress-integration.php (placed in my-plugins) and bbpress-integration (activated in WordPress and set table prefix to bb_)
The only account that works through both logins is the admin account. When I check the tables for the bbPress database I see this:
bb_forums
bb_posts
bb_tagged
bb_tags
bb_topicmeta
bb_topics
wp_usermeta
wp_users
I checked wp_users and there is only 1 user in the database.
This is driving me nuts!!! Any help would be appreciated.
Topic: bbpress on a wordpress page
Someone told me that this might work..
<?
get_header();
/* HTML Stuff here, if you need to */
include "bbpress.here";
get_sidebar();
get_footer();
?>
can someone PLEASE explain this to me.
what should i put here? >> “bbpress.here”
and another question, where is the place to install bbpress?
subfolder? or subdomain?
thanks
All,
I’ve posted a few things on the forums about odd behavior I’ve seen – href attributes in a tags getting stripped, slashes not getting stripped, etc.
I’ve confirmed that these problems are due to the WordPress integration. I am running WordPress 2.1 and bbPress 0.75 and followed the documentation to do the integration.
When I stop loading wp-config in my bbPress config, the slashes get removed and href attributes stay in posts.
I’m still digging, but part of this problem is overlap between WordPress and bbPress. The docs talk about a constant WP_BB that tells the code there are possibly conflicting APIs out there. Setting it causes bbPress to use the kses code from WordPress instead. WordPress 2.1 uses kses v0.2.2 while bbPress ships with v0.2.1. My guess is something changed between the two that bbPress doesn’t handle.
As for the slashes in front of apostrophes, it MAY be part of it – I’m not sure yet if kses is used to strip slashes. I didn’t think kses got called except during posting, not during viewing. There is another library from WordPress that bbPress uses in integration mode (l10n) for localization – not sure if this is involved in anyway (doubt it)
So if you’re seeing weird behavior – it may very well be intergation. But the good news is it doesn’t seem to be overly difficult to fix. Still digging to find the ‘right’ way (though as a hack for the slash problem, you can include a stripslashes call in template-functions:
function get_post_text() {
global $bb_post;
// Hack to strip slashes until WordPress integration is fixed
return stripslashes($bb_post->post_text);
}
Anyway – just an FYI. I’ll dig more into the kses href issue and post if I find anything.
Hey guys,
I recently used a cool script I found on here somewhere to convert our phpbb2 forums’ database over to bbpress.
Anyone know if it would be possible to convert this new database over to a wordpress DB? So all the forum posts become posts in a wordpress blog – under categories?
Sorry probably the wrong place to post this!
Adam
Topic: Display name plugin
Hello, I’m trying to get working display_name plugin in my forums but after installing the plugin it doesn’t work, it’s still showing “Admin” but in wordpress is showing my “name” correctly.
Another question, maybe related with the previous… Here I see people saying, “put it in your my-plugins folder”, but if bbpress has not plugins or has it? pardon my confunsion :S
Thanks in advance