WordPress Version: 3.4.2
bbPress Version: 2.2.2
Theme: Custom Community
Hello, I am considering changing my site from phpBB3 forums to bbPress to better integrate with my WordPress home page.
I’m attempting to Import my forums into my test site, on another database, to test bbPress’ “Import Forums”. I’ve filled out all the necessary information, but the first time I ran it I got messages at the bottom that 0 Members had been imported 0 posts, etc all the way down the line. I tried running it again and I get this message:
“Fatal error: Class ‘Example’ not found in /homepages/33/d410891000/htdocs/THEMETEST/wp-content/plugins/bbpress/includes/admin/converter.php on line 1291”
I’ve attempted to reset the process by choosing to Purge Previous Import and save, then Start Over and save, but I continue to get the same message when I try to import.
I tried to resolve this on my own, but I searched for an hour online before I even found that bbPress has an importer built in! Unfortunately stuff from the last five years had priority in the search. Also, I could not find a search on this site, so I started Googling “bbpress.org import forums” but still no answers, so any help would be appreciated.
One more thing: I don’t have so many members that I couldn’t create their accounts myself if I *had* to, so if anyone knows of an easier way to just import the forums and posts, that might work.
Thanks in advance for your time.
Thank you. Please correct me if I am wrong, but I think your guide is out of date for what I am now doing (and presumably others are now doing too) with the new bbPress 2.x. To use the new bbPress 2.x fully you do indeed turn off the BuddyPress forums component, as JJJ said in reply to you in forum
“Much of it is the same. You’ll want to focus on:
turning the BuddyPress forums component Off
the bbPress 1.1 import tool
the BuddyPress settings in: Settings > Forums”
So I am still looking for the answer to my original question if you know that please…
How do I turn on forums in existing BuddyPress groups please?
Does anyone know the answer?
I noticed in this update that the two CSS files:
bbpress.css
bbpress-rtl.css
were updated but the min versions where not.
I just YUI compressed them myself, to create a min version of each.
To add standard wp post_tag support for BBPress – Post Type – Topic… I added the following code starting about line 557 to bbpress/bbpress.php
// Topic Taxonomies
$post_type['taxonomies'] = array(
'post_tag'
);
// Register Topic content type
register_post_type(
bbp_get_topic_post_type(),
apply_filters( 'bbp_register_topic_post_type', array(
'taxonomies' => $post_type['taxonomies'],
To get the topics to show on regular wordpress tag pages I used the snippet from Justin Tadlock edited for tag pages and post type topic.
After limited testing, everything seems to work as I wanted – bbpress topics show up on regular post_tag archive pages – as long as the tag is added to the topic from the Admin side.
Because I know enough abut wordpress to occasionally be dangerous, my questions:
1. Is this a bad idea for some reason I don’t know about?
2. Provided it’s not a terrible idea, Is there a way to future proof this hack? I tried creating a bbpress directory in my themes main directory and adding the edited bbpress.php there, but it didn’t work.
Any thoughts would be greatly appreciated,
JW
Thank you for the prompt reply.
I was able to create a child theme and activate it.
Not sure how to make the bbpress css primary over the default theme css since at the beginning of the child theme I import the default theme css. With the child activated it looks the exact same.
Thank you again for your help. Is there any way to donate a gift for helping me out?
Have a peek at our quick fix for this problem… follow step by step and you should be fine:
http://labzip.com/the-definitive-guide-to-buddypress-bbpress-configuration/
In many of our client custom setups, the fix was on line 78 of the default css:
See our post here for potential quick fix to the CSS:
bbPress 2.2.2 released
Between 2.2.1 and 2.2.2, we found that the profile pages suddenly “vanished” (but the code was still there). It was a CSS issue.
For our clients and personal sites, the fix was on line 78 of the default css:
We changed “clear:none” to “clear:both”
#bbpress-forums #bbp-user-wrapper ul.bbp-lead-topic, #bbpress-forums #bbp-user-wrapper ul.bbp-topics, #bbpress-forums #bbp-user-wrapper ul.bbp-forums, #bbpress-forums #bbp-user-wrapper ul.bbp-replies, #bbpress-forums #bbp-user-wrapper fieldset.bbp-form { clear: both; }
SKParticipant
Upgrading to 2.2.2 caused the issue.
The problem caused is that I think the template files that make bbPress work with other themes broke.
I can still go to the forum pages with direct URLs or links in forum list widget, but the forums (list of forums or list of topics) are not visible. All I see in content area is page/forum title and forum description.
Similarly, on topic pages, I see topic title, but nothing else…
P.S. Reinstalling 2.2.2 has not resolved the issue.
It’s a bit difficult to wrap your head around at first, but the reason theme compatibility exists, is because you should not modify code/templates that come with plugins or themes. When using a plugin like bbPress, and a theme that isn’t yours, you need some other way to introduce code into WordPress.
You can use either a plugin, or a child theme to do this.
You’ll want to research both methods, and figure out which one suits your situation and needs.
Dear community.
I have spent the last few (5) hours reading the various posts, trying to get bbpress to integrate with my custom WP theme. Unfortunately, I don’t have the knowledge (or enough) to figure out how to make the two work together.
Info
Wordpress: 3.4.2
Site link: http://www.restorationcoach.com/restoration_coach/forums/
Using this theme: http://www.templatemonster.com/wordpress-themes/39849.html
bbpress: 2.2
My main issue seams to be css related. I think bbpress is and the theme are sharing css files, causing a funky appearance. Overall forum function seems to be working fine.
So far I’ve done the following.
Completely removed bbpress and installed new 2.2 version.
Read: http://codex.bbpress.org/theme-compatibility/ (this is for customizing the bbpress theme, if you want? And if you don’t, then leave the install as is?)
Watched: http://www.youtube.com/watch?v=lB2Oodx2GJw (not sure if this applies with 2.2)
Switched to Twentyeleven: Looks better, side bar is missing, and footer contact form, map and links are over top one another.
I can see in firebug where both style.css and bbpress.css are being used to style the forum. Most specifically #page-content ul li. This, I believe, is causing the issues but not quite sure how to fix it.
Thank you in advance for the assistance.
That’s true. Unfortunately before bbPress 2.2, users had to go digging to assign forum moderator capabilities to users with existing WordPress roles, so we indirectly drove users towards that solution already. :/
Capabilities are saved in the database, per user, per site, and they bubble based on the role they are granted. If you use any plugin that modifies editable roles or capabilities in the database, what you’re doing is changing the individual capabilities for every user that gets that role going forward, but not necessarily every user that had that role in the past.
I think the type-specific dynamic roles are a nice addition to the WP permissions layer. No doubt a significant minority of users will continue to find value and convenience in the ability to customize stored role definitions. Once WP moves to disregard the wp_user_roles array, role editing plugins will just be forced to store the rolecaps array externally and apply them through the filters you provide.
I won’t argue the philosophy of how much customization to fence off for safety/liability, but your writeup exaggerates some of the existing hazards. The “existing users unaffected by role edit” scenario only occurs if custom user capabilities were explicitly assigned. Otherwise, under stock code:
Granting a role stores the role name into the user’s usermeta capabilities array. So editing a stored role definition does affect current members of that role (not just future members).
Granting a role does not store a copy of all currently defined rolecaps into the usermeta capabilities array.
Agreed. I’d prefer to use the_content(). But I don’t know how to get the original filters restored, after bbPress removes them.
Hello I was using bbPress 2.1.2 and update to 2.2.2 but my theme seems to not like it or well the theme has a bbPress theme in it so I cant use 2.2.2 at this time and I don`t have a backup of 2.1.2 can you tell me where I can get a download of 2.1.2 pls help …..
I found a solution: if my template uses get_the_content() instead of the_content(), then I can apply the normal content filters — wpautop() and wptexturize() — directly to the raw content, untouched by bbPress.
$raw_content = get_the_content();
echo wptexturize(wpautop($raw_content));
Hi JJJ. Another thought on this.
Even here at bbPress.org, the header, sidebar, and footer all create new WP_Query objects without any issues.
The header, sidebar, and footer on bbPress.org don’t seem to have any paragraph breaks, so it’s not clear that wpautop() is actually working on them, right?
I just need to figure out how to add the normal wp content filters — wpautop() and wptexturize() back onto the_content, after bbPress has had its way with it.
I updated to bbPress 2.2.1 last night and had the same problem with Ultimate TinyMCE plugin. The plugin sued to work beautifully with bbPress, now I get the default fancy editor. I’m not a PHP guru so I’ve been trying to avoid messing around in the code as Michael suggests. Is there any other option to get that editor enabled (it does show up in the dashboard versions of new Topic and I miss the table drawer)
regards, Paul
Awesome, let’s try a fresh conversion…..:( Still mostly Anonymous associated with the topics.
anyone having the same issue as me? Participants who create forums thru the group can’t post to their own forum. I’ve played around with the roles and it’s only happening to the ‘participant’ role.. appreciate any help..
Ah; yeah. That was fixed over an hour ago, when the bug crept in. I force-busted the theme-cache again to be safe.
John James Jacoby : the replies didn’t show on the page – just mass of white space below the original post. They appeared in View: Source OK, that’s where I was reading them.
I couldn’t read replies either for about an hour but just started working again ?
I don’t get this I can’t read the replies on here?
Can you be more specific? I don’t understand what that means.