No idea…
I honestly don’t know enough about how bozoing and/or wordpress integration works to help you.
Few people would be running WordPress mu either.
But a new install + new database….. are you still using the old user tables? Does a standalone install not work either? Have you tried different browsers?
Does anyone have any ideas? I’m tearing my hair out here. I was able to create a new user and it appeared in wpmu. It was able to post just fine, the post apears and everything. If I log back in as admin, I cant delete his posts. On front-page.php the admin’s name appears, but when in dashboard it sill comes up as bb_get_user needs a numeric ID
When in the admin account, I promoted the new user to Key Master.. when i log out of the admin account I get the following error:
bbPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1]
SELECT * FROM bb_online WHERE user_id = LIMIT 1
The new account, which i made Key Master is also unable to delete any posts – but can post new ones.
The new account cannot see the posts the admin account made, that were showing up in yellow.
Anyone reading this?
/.htaccess
RewriteEngine On
RewriteBase /
# www is soooo deprecated
RewriteCond %{HTTP_HOST} ^www.blognola.org$ [NC]
RewriteRule ^(.*)$ http://blognola.org/$1 [R=301,L]
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]
/forums/config.php
<?php
require_once('/home/nolageek/public_html/wp-blog-header.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!
$bb->domain = 'http://blognola.org'; // Example:
$bb->path = '/forums/';
//bb->mod_rewrite = true;
// What are you going to call me?
$bb->name = 'BLOG NOLA forums';
// This must be set before running the install script.
$bb->admin_email = 'nolageek@gmail.com';
// 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 = -6;
$bb->cookiepath = '/';
$bb->usercookie = 'wordpressuser';
$bb->passcookie = 'wordpresspass';
// 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 = ''; // Example: '0123456789ab'
// 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://blognola.org';
$bb->wp_siteurl = 'http://blognola.org';
/* Stop editing */
if ( !defined('BBPATH') )
define('BBPATH', dirname(__FILE__) . '/' );
require_once( BBPATH . 'bb-settings.php' );
?>
I just got finished posting a whole bunch of posts a little while ago. Worked on my theme a bit.. added this to the header, that’s it:
<?php
function w3l_tl_pages($before = '', $after = '', $between = ' ') {
global $wpdb;
$query = "SELECT ID, post_title FROM $wpdb->posts WHERE (post_type = 'page' AND post_status = 'publish' AND post_parent = 0) ORDER BY menu_order";
$pages = $wpdb->get_results($query, ARRAY_A);
$temp_pages = array();
foreach ($pages as $page) {
$temp_pages[] = $before . '<a href="' . get_bloginfo('url') . '/' . get_page_uri($page['ID']) . '">' . $page['post_title'] . '</a> ' . $after;
}
echo implode($between, $temp_pages);
}
?>
This is to get the menu of pages from my wordpress.mu install.
Now, whenever I try to post, after I submit a new topic, it turns yellow and doesn’t not then appear in the discussions list.
I can’t delete ANY posts. Not even old ones.
THe new topics appear in the dashboard under “Recently Moderated” and says this:
Topic titled test post started by bb_get_user needs a numeric ID
Yeah, that is really strange, but yes! Do you have the WordPress integration plugin and the bbPress integration plugin installed? Does clearing your cookies and trying on a different browser work for you?
Trent
A couple of questions about what syntax to use, especially on template pages:
1. I see that a lot of people use _e('string...')
instead of echo('string...')
. Is this just a bbpress/wordpress thing or is this generally acceptable php coding?
2. In front-page.php of kakumei (and many other places), I see people using this shorthand echo where normal text would work just fine. For instance, in the hottags div, it is:
<h2><?php _e('Hot Tags'): ?></h2>
Why would you have PHP echo that when you could just have it as plain ol’ text in the first place? Am I missing something?
I realize neither of these is of any earth-shaking importance, but I would like to know so I can keep my code modifications in line with the default syntax that is used throughout. Thanks!
Still not working for me.
In one of my many reinstallations I forgot to put the wordpress integration file back in my-plugins.
Still no go however.
I do have the bbpress plugin activated in my wordpress already.
Also, yes, integrated from start.
I registered over at your forums to test this out. I registered and then logged into bbPress. I then went over to your blog and tried the /wp-admin/ link to find out if I was registered. It gave me the login page where I added my information and then was redirected to:
http://mpm.org.au/wp-admin/
That URL doesn’t exist. Is there something in your WP install that has the URL of the site as the first URL? That might be causing the problems.
As well, do you have the integration plugin that pulls the registrations from bbPress across to WordPress? That way all users are in the wp_users and not the bb_users table.
Trent
As long as you integrated from the start, no? Are you using the same database for WP and bb? In your config.php, did you add details for these settings:
bb->wp_table_prefix
bb->wp_home
bb->wp_siteurl
Another way to tell is, did it use your WordPress name for your admin account when you installed?
thanks guys – I don’t have to reinstall either bbpress or wordpress?
Actually, if you put the define(‘COOKIE_DOMAIN’, ‘.mpm.org.au’); in your wp-config.php it should work as well. I think that is the proper syntax, but you can define cookiepath in your WP config as well without having to make core changes. Maybe search for define cookie domain over at the forums at https://wordpress.org/support/
Trent
You will have to make changes to some core files to make this work properly, as they are in different subdomains.
Find your bbPress config.php
file and add these lines:
//try to sync cookies
$bb->cookiedomain = '.mpm.org.au';
$bb->cookiepath = '/';
Now go to your wordpress folder, open wp-settings.php
.
#line 190
FROM
define('COOKIE_DOMAIN', false);
TO
define('COOKIE_DOMAIN', '.mpm.org.au');
Make sure that you make note of this change to wp-settings.php
. Every time you upgrade wordpress this change will be overriden and you will have to make this change again.
my forum: http://www.mpm.org.au
my wordpress: http://300.mpm.org.au
I don’t think the integrated logins are working properly – can someone kindly check and report back here?
I have this alert in my mysql database regarding wp_users
http://i93.photobucket.com/albums/l69/mikedelighttoo/users.png
Hi
I was following a tutorial which says that in order to use wordpress tags you need to include the blog header in your bbpress config. The tags work when I do this, however my bbpress-admin just gives me a whitepage?
Thanks
Speaking of which, it doesn’t add a topic-slug either, which is required to have permalinks set to slug. I tried adding the topic_slug field and a variable to make it update, but when I did that it didn’t work at all Can someone else have a look at this too?
wordpress:
define(‘DB_HOST’, ‘sql.kmr.nazwa.pl:3305’);
define(‘DB_NAME’, ‘kmr’);
bbpress:
define(‘BBDB_NAME’, ‘kmr’);
define(‘BBDB_HOST’, ‘sql.kmr.nazwa.pl:3305’);
What do you have in your wp-config for the host and database name in wordpress?
Trent
sql.kmr.nazwa.pl:3305 i tried also localhost and host without port defined.
version of server: 5.0.26-log
version of mysql: 4.1.11
http://www.kmr.nazwa.pl – wordpress
http://www.kmr.nazwa.pl/forum – bbpress.
It hasn’t been talked about for a ‘long time’ here in the forums, but if you just embed your bbPress install around your WP theme, it will be calling the wordpress stuff for the sidebar and then have your forum on something like a WP ‘page’. We just implemented the plugin admin for the 1.0 release and 0.8 has the theme admin. It won’t be too long before someone figures out how to get ‘sidebar’ widgets working with bbPress…..just time!
Trent
If you setup that old WordPress blog as an integration with your bbPress installation and then install the bbPress-Post plugin from http://dev.mbzeus.net/forum/ you can do it. It is a real pain in the butt, but if you have the integration plugin working, you can ‘edit’ each of the old posts and then save them again . This creates the entry in bbPress. Last time I checked though, it didn’t update the timestamp to the original post time though.
Trent
Are you using any plugin on this installation? I have heard of people having this issue when using the bbPress-Post plugin for posts out of wordpress.
Trent
I don’t think so. Blogs and forums serve two different purposes and I don’t know that anyone has written an exporter to get WordPress blog posts into bbPress.
It looks like WordPress uses the same exact syntax for the connection, so, it SHOULD work. Are you certain the string is exactly the same as the one you have in wp-config.php? If it works in WordPress, I think it should work in bbPress.
I’m sorry but it just doesn’t work with 8.0 or 8.1 when I select that theme its the default theme all messed up. Is there something else that needs to be enabled on the server? because wordpress and all other software I’ve intalled on this server works fine. Maybe its an incompatability with php5?
Is there information on or a plugin on exporting wordpress posts into bbpress?
I’d like to export an old wordpress blog into my forums.
yes, i tried and doesn’t – i get ‘Cannot select DB.’ . in wordpress it works.