I have installed bbpress on my website, but when I click on the forum I have created, it just reloads the homepage and doesn’t do anything. I can give a link as that will reveal my website which is currently under construction, but it is exactly as it sounds pretty much
I just ran a very simple query over the user table
Update wpusers set user_nicename = REPLACE( user_nicename , ‘ ‘, ‘-‘ ) ;
This did the trick for me … It must be possible for bbPress to have the space replaced by a hypen in the function to create the userprofile link …
Hi, quick and simple.
I have imported our SMF forum to bbPress.
All 150k posts and replies have been shipped over, all fine, but all posts are in “my” name now.
I have ticked covert users setting and the users are in the database, but still all posts are shown as being posted in the siteadmin name used for the import.
I have used the repair settings as well.
I have never done an import like this before, and not really sure where I go wrong. I have done the import twice, but still comes out with the same.
I do hope you can be of some assistance.
Cheers, Cato.
ok,
1. what two plugins did you try that didn’t work?
2. have you been through https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/
3. Does it work if you disable s2member – just a test to see if it is a conflict
4. what permalink are you running – dashboard>settings>permalinks
5. What bbpress slugs are you running – dashboard>settings>forums
I have three sites I am merging into one WordPress site (I know, there was not a clear pathway, but now I am correcting it). I have a bbPress forum on one of the sites that I need to migrate into an existing site. I have brought the users over already. Is there a suggested manner I should use to import the forum? the WXR Export does not seem to work properly.
Thoughts?
Perhaps this is the solution, found at https://gist.github.com/sc0ttkclark/e5de9d9f2f13964bcecc
Code to enable having the main bbPress forums on a separate sub-site. Requires: WP Multisite, BuddyPress on main site and network-activated, bbPress on main site and sub-site
<?php
/**
* Remove and add a custom function for bbPress’ BuddyPress activity filter
*/
function custom_bbp_notifications_fix() {
if ( !defined( ‘BBPRESS_FORUMS_BLOG_ID’ ) || !BBPRESS_FORUMS_BLOG_ID ) {
return;
}
remove_filter( ‘bp_notifications_get_notifications_for_user’, ‘bbp_format_buddypress_notifications’, 10, 5 );
add_filter( ‘bp_notifications_get_notifications_for_user’, ‘custom_bbp_format_buddypress_notifications’, 10, 5 );
add_action( ‘bbp_template_before_user_topics_created’, ‘custom_bbp_switch_to_forums’ );
add_action( ‘bbp_template_before_user_replies’, ‘custom_bbp_switch_to_forums’ );
add_action( ‘bbp_template_before_user_favorites’, ‘custom_bbp_switch_to_forums’ );
add_action( ‘bbp_template_before_user_subscriptions’, ‘custom_bbp_switch_to_forums’ );
add_action( ‘bbp_template_after_user_topics_created’, ‘custom_bbp_switch_from_forums’ );
add_action( ‘bbp_template_after_user_replies’, ‘custom_bbp_switch_from_forums’ );
add_action( ‘bbp_template_after_user_favorites’, ‘custom_bbp_switch_from_forums’ );
add_action( ‘bbp_template_after_user_subscriptions’, ‘custom_bbp_switch_from_forums’ );
}
add_action( ‘init’, ‘custom_bbp_notifications_fix’ );
/**
* Format the BuddyBar/Toolbar notifications
*
* @since bbPress (r5155)
*
* @package bbPress
*
* @param string $action The kind of notification being rendered
* @param int $item_id The primary item id
* @param int $secondary_item_id The secondary item id
* @param int $total_items The total number of messaging-related notifications waiting for the user
* @param string $format ‘string’ for BuddyBar-compatible notifications; ‘array’ for WP Toolbar
*/
function custom_bbp_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = ‘string’ ) {
if ( ‘bbp_new_reply’ == $action ) {
custom_bbp_switch_to_forums();
$action = bbp_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format );
custom_bbp_switch_from_forums();
}
return $action;
}
/**
* @var boolean $custom_bbp_switch
*/
global $custom_bbp_switch;
/**
* Switch to forums blog, if it’s not the current blog
*/
function custom_bbp_switch_to_forums() {
global $custom_bbp_switch;
$custom_bbp_switch = ( get_current_blog_id() != BBPRESS_FORUMS_BLOG_ID );
if ( $custom_bbp_switch ) {
// Switch to forum site
switch_to_blog( BBPRESS_FORUMS_BLOG_ID );
}
}
/**
* Switch back to current blog, if not the forums blog
*/
function custom_bbp_switch_from_forums() {
global $custom_bbp_switch;
if ( $custom_bbp_switch ) {
restore_current_blog();
}
$custom_bbp_switch = false;
}
Hi,
I am volunteering on a not for profit site running wordpress 4.0.1, bbpress 2.5.4, s2member pro 141007
I have yet to be able to see any of the forums, topics etc as all I get is a 404 error. I have ready through the info about this issue and tried everything suggested, including the two plugins that are supposed to fix it to no avail.
I do have pretty links turned on, I do have a “Forums” page and have tried it with and without a shortcode to pull up the forums and it just shows the shortcode and never the forum. The only way I get get anything to show is to use the “ugly” link to the forums but none of the links work from
http://ontariodoulas.org/?post_type=forum
Any ideas on where to go from here? Any help would be appreciated! Thank you!
no.. frustrating. Any clue?
Repair any missing information: Continue
Warning: set_time_limit() has been disabled for security reasons in /home/int2000/d/xxxxx/html/wordpress/wp-content/plugins/bbpress/includes/admin/converter.php on line 306
WordPress database error: [Unknown column 'forums.forum_topics' in 'field list']
SELECT convert(forums.forum_id USING "utf8") AS forum_id,convert(forums.parent_id USING "utf8") AS parent_id,convert(forums.forum_topics USING "utf8") AS forum_topics,convert(forums.forum_posts USING "utf8") AS forum_posts,convert(forums.forum_topics_real USING "utf8") AS forum_topics_real,convert(forums.forum_name USING "utf8") AS forum_name,convert(forums.forum_desc USING "utf8") AS forum_desc,convert(forums.left_id USING "utf8") AS left_id,convert(forums.forum_type USING "utf8") AS forum_type,convert(forums.forum_status USING "utf8") AS forum_status FROM phpbb_3forums AS forums LIMIT 0, 100
No forums to convert
Warning: set_time_limit() has been disabled for security reasons in /home/int2000/d/xxxxx/html/wordpress/wp-content/plugins/bbpress/includes/admin/converter.php on line 306 Warning: set_time_limit() has been disabled for security reasons in /home/int2000/d/xxxxx/html/wordpress/wp-content/plugins/bbpress/includes/admin/converter.php on line 306 Warning: set_time_limit() has been disabled for security reasons in /home/int2000/d/xxxxx/html/wordpress/wp-content/plugins/bbpress/includes/admin/converter.php on line 306
No data to clean
Starting Conversion
Hi Again!,
I tried this once again by reseting bbpress and stated from fresh installation.
After convert I realised that replies has converted but forums and topics are missing..
I can see from replies header that there are 8180 replies but non of them are visible etc.. I tried repairs and got failed in “Recalculate the sticky relationship of each topic” Sure, theres no topic.
Just a minute ago I restarted my bbpress again and got “Deleting Conversion Table… Failed” Something serious?
Now I’m going to put it on one more time purging previous import and cross my fingers..
It’s incredible … bbPress seems to be in trouble when your permalinks (in WP) are set to TopicName and your usernames contains space. If you change the permalinks (in WP) to “default” there’s no problem. Check out this post as well: https://bbpress.org/forums/topic/404-error-on-user-profiles/#post-154972
Except that all my othe links are not working anymore 🙁
So I wonder where the actual problem is … WP or bbPress
After a bit of digging around on the forum … bbPress seems to be in trouble when your permalinks (in WP) are set to “TopicName” and your usernames contains spaces. If you change the permalinks (in WP) to “default” there’s no problem.
Check out this post as well: https://bbpress.org/forums/topic/404-error-on-user-profiles/#post-154972
So I wonder where the actual problem is … WP or bbPress
bbPress seems to be in trouble when your permalinks (in WP) are set to TopicName and your usernames contains space. If you change the permalinks (in WP) to “default” there’s no problem.
So I wonder where the actual problem is … WP or bbPress
@phatmass, I also imported about 1000 users, most of them with spaces …
There seems to be a workaround … my profile name is joop.stringer
If you click on my profile link it shows joopstringer (without the dot)
So most probably bbPress changes the profilename to be without dots/spaces/diacritics …
bbPress guys, can you please give us a clue on what to do ?
Hi all,
I’ve been trying to import my forum from phpbb 3.1.1 (no mod or themes) to bbpress 2.5.4.
I used row limits 50 and delay time 2. Database settings looks to be ok.
Problem is following code that appears on every line:
‘Warning: set_time_limit() has been disabled for security reasons in /home/int2000/d/xxxxx/html/wordpress/wp-content/plugins/bbpress/includes/admin/converter.php on line 306 Warning: set_time_limit() has been disabled for security reasons in /home/int2000/d/xxxxx/html/wordpress/wp-content/plugins/bbpress/includes/admin/converter.php on line 306’
Conversion goes till end and following message will appear:
‘Repair any missing information: Continue’
‘SELECT convert(forums.forum_id USING “utf8”) AS forum_id,convert(forums.parent_id USING “utf8”) AS parent_id,convert(forums.forum_topics USING “utf8”) AS forum_topics,convert(forums.forum_posts USING “utf8”) AS forum_posts,convert(forums.forum_topics_real USING “utf8”) AS forum_topics_real,convert(forums.forum_name USING “utf8”) AS forum_name,convert(forums.forum_desc USING “utf8”) AS forum_desc,convert(forums.left_id USING “utf8”) AS left_id,convert(forums.forum_type USING “utf8”) AS forum_type,convert(forums.forum_status USING “utf8”) AS forum_status FROM phpbb_3forums AS forums LIMIT 0, 100’
What am I doing wrong?
I just converted my Invision Power Board community to bbPress. Over 4000 members. The problem is, about 1/2 of them have spaces in their usernames so get 404 errors on their profile pages.
How do I fix this?
I have been searching for a solution to the username with spaces 404 error and can’t find one. I just imported over 4000 users from my old Invision forum into bbPress and about half of them have spaces in their names and get the 404 error on their profiles.
Is it really a 7 year old problem that hasn’t been fixed yet!?!?
Just looking for opinions.
Should the bbPress instance of my website run over SSL ?
Do most of you purchase an SSL for your forums ?
Thanks, dave
Hi, i have same problem, but my installation of bbpress is new.
Hello,
i have a problem with bbpress, when bbpress is activated, the SlimStat plugin stops working/monitoring my website, and this error is appear in the SlimStat page:
Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /home/…/public_html/wp-includes/functions.php on line 3370
please help, how to fix this. thanks
i was a smart boy and found my way to generate the download link for bbpress 1.0.3
Legacy downloads page no longer offer all the versions of the standalone bbpress. I’m still running a forum on 0.9.0.2 and I would need 1.0.3 version as a middle step on way to upgrade to 1.2 and all the way to current version.
If any of you had .zip for 1.0.3 it would be a great help!
I know we’ll break all the internal links on the forum during the upgrade from standalone to plugin or is the a solution for that somewhere?
Hi Robin.
Thank you for your reply. I had found the order section but it didn’t work for me, hence my posting here. I tried again following your instructions…..
It didn’t work they are still in the same order… The only thing I can think is I’ve set it up bbPress incorrectly.
I created a Forum called Noticeboard – Forum as I wanted that name on the main menu bar….
I then created all the other Forum with this as the parent, if I remove Noticeboard – Forum as the parent then the forum disappears……eg General.
Have you any idea what I’m doing wrong. I know when I get the categories right that bbPress will be a great forum.
Thanks,
Letty
You can set all this in the forum
So if you go into dashboard>forums>all forums and edit for each forum in turn
On the right hand side you’ll see
Parent
Order
For your top level forums (eg farm machinery), have no parent and then just type in the order you want, so first top forum will be order 1, second order 2 etc.
For sub forums, they will have a parent, but again you just set the order, eg Machinery for sale would be order 1 and Machinery wanted order 2
By the by if you want you subforums to be vertical and/or to take away the (0,0) then see
Layout and functionality – Examples you can use