I think this has to do with the fact that we are developing on a local machine and not on an actual server. I have seen multiple issues opened because of this error, but no one seems to want to resolve this issue at all. I resolved it by just uploading it to an actual server and working from there. Yes it’s more tedious, but until someone comes forward with how to fully resolve this issue on local machines, you’re stuck with that solution. For styling, I ended up doing the above, throwing in a lot of replies and topics, then dumped the html into a stand-alone html file. Then styled from there on the local machine and re-uploaded the css afterwards. It more than triples the time and work, but it works. If you have a client, just let them know that is the only way as for now. As for why you’re getting the error, I understand it that bbPress logs the ip from the user each creation of a topic/reply and does not recognize 127.0.0.1 or localhost as valid ip’s (which is what most MAMP/WAMP installs use). WordPress is fine with it, but not bbPress, or so I understand it.
Yes, you should see ‘Forums’, ‘Topics’ & ‘Replies’ in that same WordPress Export tool.
If you select ‘All content’ it will include WP’s posts, pages, taxonomies and all of bbPress.
Jason, what we’ve found so far, this plugin —
https://github.com/pippinsplugins/bbPress-Export-and-Import
It does the job exceedingly well. HOWEVER, our forum is so big the plugin cannot finish importing data. We use WP Engine for hosting, and they have a “Limit Script Execution” script that cancels any active script after 60 seconds. So we only have 60 seconds for the script to run.
Now 60 seconds gets us about 20% successful import percentage of Forum Topics, Replies and User Accounts. Then we get a 502 Bad Gateway page.
If it weren’t for the script timeout, this project would be done with. So for that, I am splitting up my export .csv file into 10 chunks. The original file is 25,000 lines or so. I’ll split them into 2k-2.5k chunks and import them one after another.
Going to get around to that part either tonight or early next week. Jason, if you try it out please let me know how it goes 🙂
Is there a way to export all forum, posts and replies in a XML file like is available in wordpress for posts, comments and all other content.
I want a one click option for exporting the content. I do not care about preserving logins.
Hi all,
I’m wondering if it’s possible to use the 2.x plug-in version of bbpress and maintain completely separate users from the wordpress site. Any help would be appreciated!
Thanks,
B
I added a simple check in bbpress/inlcudes/users/capabilities.php to see whether the current user has a role in the current blog, before giving them a forum role:
/** Ready *****************************************************************/
// Load up bbPress once
$bbp = bbpress();
// Get whether or not to add a role to the user account
$blog_role = bbp_get_user_blog_role( $user_id );
$add_to_site = bbp_allow_global_access() && $blog_role != false;
With that in place I can reset all my previous changes so that the default setting for global access is true.
I’ve edited the text in Forums -> Settings to show that ‘global access’ is really now just ‘site access’.
Ideally this would be a separate option in Forums -> Settings, to limit automatic forum access to site members. I will submit a patch if I get the time.
The problem with the default settings is that in a large Buddypress-type site, every time I visit a new site when logged in, that site is added to my My Sites list.
I imported my mingle forum to bbpress.
At first the users who posted topic in forum was showing correctly
But after i logged in through my admin ..all username shope my name in it.
I will really appreciate your help.
Regards
Hey guys, I’m new to BBpress. so I have a few questions that I’m hoping can be solved here.
The theme I’m using has 2 different custom Sidebars and other features that can be enabled and disabled on the page settings.
I’ve created a custom Page template for the forum and tried using the Shortcodes to implement BBpress on the page and it works but once you click something on the page it directs back to the original template. Is there a way to have the whole forum and index and everything on the one page?
Thanks
I have bbpress 2.5.3 installed with bbpress WP Tweaks 1.3, GD bbpress Tools 1.5.1, GD bbpress Widgets 1.0.3 and Theme My Login 6.3.9. I’m able to access my login page but it shows up when you go to the Forums Page, click on any of the forums, then it shows the Login/Register. How can I make it to show up as soon as someone goes into the forums page?
OK, thanks.
Any thoughts on giving the site users bbPress roles automatically, rather than the network users?
And on running:
Tools -> Forums -> Repair Forums -> Remap existing users to default forum roles
for all blogs too?
I then tried to import via IPB 3.4.6 -> BBPress and again, I am greeted by errors.
This time.
WordPress database error: [Table ‘decerto2_ipb.ipb_members’ doesn’t exist]
SELECT convert(members.member_id USING “utf8”) AS member_id,convert(members.members_pass_hash USING “utf8”) AS members_pass_hash,convert(members.members_pass_salt USING “utf8”) AS members_pass_salt,convert(members.name USING “utf8”) AS name,convert(members.email USING “utf8”) AS email,convert(members.joined USING “utf8”) AS joined FROM ipb_members AS members LIMIT 0, 100
No users to convert-
Does anything WORK?
Add this in a custom plugin or the functions.php of your active theme:
add_filter( 'bbp_allow_global_access', '__return_false' );
You’ll want to undo the edits you’ve made to bbPress’s files, also.
Hi guys,
I’m attempting to import a Xenforo DB over to BBPress. It’s not too large (300 members, 4000 Posts)
When I attempt the conversion I get an error message.
Fatal error: Class ‘Xenforo_Not_Complete’ not found in /home/decerto2/public_html/dev/wp-content/plugins/bbconverter/bbc-includes/bbc-converter-class.php(39) : eval()’d code on line 1
Is anyone able to assist as I am looking at testing before I move my live board
Thanks
For what it’s worth, here is what I ended up doing:
1. I left my “parent” forum as a category.
2. Around line 847 of bbpress/includes/forums/template.php, I added “true” to the if statement to force the “category” parent forum to be shown, as follows:
// No link for categories until we support subscription hierarchy
// @see https://bbpress.trac.wordpress.org/ticket/2475
if ( true || bbp_is_forum_category() ) {
$retval = bbp_get_user_subscribe_link( $r );
}
3. In bbpress/templates/default/loop-single-forum.php I replaced line 44 with the following:
<?php
$subForumList = bbp_forum_get_subforums();
if(sizeof($subForumList) > 1){
echo "<ul style='margin-left: 20px;'>";
foreach($subForumList as $currForum){
// Create the arguments
$r = bbp_parse_args( $args, array('forum_id' => $currForum->ID,
'user_id' => 0,
'before' => '',
'after' => '',
'subscribe' => __( 'Subscribe', 'bbpress' ),
'unsubscribe' => __( 'x', 'bbpress' )
), 'get_forum_subscribe_link' );
$isSubscribed = bbp_get_forum_subscription_link($r);
// see if the returned html has 'is-subscribed' in it
// if it does, then the user is subscribed to the forum
if(strpos($isSubscribed, 'is-subscribed') != 0){
echo "<li>" . $isSubscribed . " <a href='" . bbp_get_forum_permalink($currForum->ID) . "'>" . $currForum->post_title . "</a></li>";
}
}
echo "</ul>";
} // end > 1
?>
Feel free to criticize, pick apart, or provide feedback as you see fit…it works for me.
I’m in the “Import Forum” section of bbpress plugin – there’s no option to select for bbPress 2 (only bbPress 1). Or am I going about this the wrong way?
I’ll be making various test imports in the using wordpress’ import/export in the meantime to see how far I can get merging these 2 sites.
Hi,
The plugin I am referring to is this one:
https://wordpress.org/plugins/bbpress-topic-thumbnails/
The issue is that this one only pulls the thumbnail from the first image in the post. I want a default image to be used for all posts regardless so that the branding of the site remains consistent.
There must be a way to do this through PHP, just I do not know where to start (and I have a limited knowledge of PHP).
Cheers
Hi,
I have multisite WordPress 3.8.1 and Buddypress 1.9.1, and have just set up separate forums using the bbPress plugin, v2.5.3
Now everyone who is logged in and visits another site in the network is automatically made a ‘Participant’ of the site they are visiting. I don’t want this to happen.
I have set bbp_allow_global_access( false ) in bbPress includes/admin/settings.php, line 532
I have also set '_bbp_allow_global_access' => 0, in includes/core/options.php, line 37
However, when I visit a new site I am still made a participant of it. How can I disable this option in all my sites (there are thousands) without setting Auto Role to unchecked and saving the forum settings page in each individual site?
Thanks.
I exported the database from the old host and imported into the new host I then tried importing the forum in WordPress using the bbPress plug-in. No forum seems to be created.
Am I missing a step?
Can anyone explain how to set out my forum main page like yours here? http://bbpress.org/forums
you know with latest topics being the main content and forums on the sidebar?
Also it does not display very well on my site. http://cornwallautismsupport.com/forums/
Hi,
I am new to BBpress and was wondering if there was a way to display a small thumbnail logo next to each topic within a forum.
I am aware that there is a plugin that does this, however, that pulls an image from the topic itself and I want a standard image (site logo) to appear by each topic post.
Here is an example of what I wish to achieve: http://techiteasy.co/forums/forum/android/
The theme I am using was created in Artisteer but I am quite happy to edit the PHP if that is needed.
Many thanks
Hello everyone. It is my first post.
It is nice to be a part of a such big community.
I have a problem with my WP. Currently I have installed buddypress, bbpress and woocommerce. It has to be “social platform” with an options to register user to an event (that is why woocommerce is used).
I am creating this website for a long time (2 months). and just 2 days ago I realized that all Forum settings disappear.
Of course I had a few back ups, but even the oldest did not fix the problem, do not know why.
It was working before because I set up a few forums, and created topics etc.
Also, when I try to delete the plugin or update, this appear: Fatal error: Call to undefined function bbp_get_user_id() in /home/rugby7s/domains/rugby7s.vdl.pl/public_html/wp-content/themes/Glow-child/functions.php on line 8
Functions.php was not modificated by me.
Forum works, but cannot be edit in any way in admin panel.
I use Elegant Theme: Glow.
Even if I change theme there is still the same problem, so in my opinion it is not theme’s problem.
I already searched any solutions, but it seems that no one had exact problem as me.
Any ideas what went wrong?
Thanks
Seb
i just created the bbpress forum on my site, but is not showing on the site. how dow i solve this?
Closing this thread also as it is 3+ years old.
I moved @tazogamer reply and code to it’s own topic:
My customized sub-sub-forums