Thanks Shmoo for all the help. Unfortunately I don’t know which file to copy so to be safe I’ll copy everything to my child theme.
I’m also trying to remove my main theme’s sidebar for my forum with no success. I’ve read other post and this seems to work:
Yes thats true, first of all you should only copy the files that you need to edit.
Just copying everything works fine but isn’t needed because inside the bbPress core is a function whats called Theme_Support ( i believe thats what its called ) And this function does only one thing, before reading all template-files.
Check if the needed template file is inside your theme folder. If it’s not.. –> use the template file inside the plugin folder.
bbPress plugin template files are the default template files but when you copy them over to your theme the new copied files become default.
It’s serious one of the most beautiful and easy constructions I’ve ever seen used at CMS’s. I’ve worked with manny other forum-software that had many more options and features as bbPress but they never had this easy way of safely -editing template files.
bbpress.css works 100% the same copy the bbpress.css file to a folder called CSS inside your theme folder and it works the same way. The forum.css file at the picture isn’t bbPress, thats something I created manually and has nothing to do with bbPress.
Those are two fast screenshots of what I made without having any PHP skills, I just understand HTML + CSS.
Thanks for reply, I didn’t know you replied because I didn’t receive any email.
lets say I don’t want to use a child theme.
1. create bbpress folder on my theme folder.
2. copy all files from [wp-content/plugins/bbpress/templates/defaults/bbpress/All those files are bbPress (forum)] to my created bbpress folder
3. copy all files from [wp-content / plugins / bbpress / templates / defaults / extras / All those files are general Theme] to my /wp-content/theme/mytheme directory.
I wasn’t sure if i need to copy all or just what I need. Also you have bbpress.css and forum.css files…are these also included in bbpress package?
This makes more sense to me because why generate the HTML just to bloat your CSS file to hide it? Or why add more to your functions.php file when all you need to do is some basic theme work? (Although that was some clever hacking of the wordpress/bbpress hooks there mindyjoy :))
*Make sure to move all your theme files into your wordpress theme (wp-includes/themes/your_theme/buddypress/) so you don’t lose your work with an upgrade.
In bbPress’s default configuration, this is by design to support styling for widgets, which can exist outside of bbPress’s standard page views. You’ll need to write a custom plugin to dequeue bbPress’s CSS when ! is_bbpress().
Hi Zach, I have the same problem with you
I have used the forums.php trick as you showed but I don’t know how to delete search bar header
Mine is like this http://cuocsongnz.com/forums/
i dont think bbpress css file on its own would cause this sort of server load, try the P3 profiler plugin to determine what other plugins may be overloading your server –
I’ve been carefully examining my web access logs because my provider said my website is using too many resources – and even though I would say it is absolutely medium in size it uses about 50% of the resources on the shared hosting site.
I noticed that for EVERY page called from the website, whether or not is a forum page and whether or not it contains and bbpress plug-ins -especially not- includes a call to the bbpress style sheet. For example:
@jaredatch just upgraded and the CSS fix worked for us, thanks!
We’d like to see a unified search with options to include WP site content and/or forums. Our current search uses a Google Custom Search Engine at this point with tabs (refinements) for “Articles” and “Forums”.
I’d really like to see an “easy way to [disable bbp search]” in a future release. It’s not critical, but I really don’t like that search form in our source, even if it’s hidden.
When there is none css folder inside you theme folder just create one.
What you’ve done right now is created you’re own custom stylesheet for bbPress that can’t be overwritten by software updates.
What styles you have to change I can’t tell from looking at your picture, but it’s pretty easy to find them.
Make sure you have a Webkit browser installed on your computer ( Google Chrome is reallt the best for this ). View your website and right-mouse-click on the element you would like to change and pick the option ” Inspect Element ” ( I think it’s called )
Now you have at the bottom all the style , there’s also a location + line number where to find the elements inside your bbpress.css file.
Hi,
This seems very simple to do but I couldn’t get it working. I want the default bbpress theme but wrapped with my theme.
I added the CSS file in my theme and I added a forum index shortcode in the main forum page. Right now the forum index renders OK (the forum index is the content, everything is correctly wrapped by my theme, interpreted by page.php I guess).
But as soon I get to a topic page, it’s the single.php or page.php that is used, without any bbpress template file (no breadcrumbs, etc., there is only the post).
I don’t want to customize bbpress, just want the bbpress template to appear in my theme content templates. Any way to do this easily? I would like to avoid customize all pages one by one and keep built it theme integrity…
Hi – i’m experiencing similar strangeness as Sami in that my child theme on a multisite network shows the bbPress forums and topics great except when going to the default permalinks of forums and topics … in those cases, the forums go away and turn into a default blog page with the forums as psuedo excerpts appearing with page numbering at bottom – even a featured image gets inserted somehow to boot … none of the other site content gets mixed into this “blog page” – just all the forums run together without looking like forums (but like excerpts) and with no links to forums or topics …
thus mydomain.com/forums = broken as is mydomain.com/topics … yet mydomain.com/forums/my-forum-01/ and/or mydomain.com/forums/my-forum-01/topic-01 are great …
i tried rolling bbPress versions back to 2.2.1 and 2.2.4 but earlier versions have same effect as current 2.3.2 … and while i could create a hack by creating an archive-forum.php file and placing it in my child theme root (based off the archive-forum.php in the templates\defaults\extras folder) it lost a ton of info – e.g., the alerts like “the forum is empty” is gone as are the other alerts like “Oh bother! No topics were found here!” and ditto with the corresponding “Create a New Topic” form …
actually in thinking about themes were bbPress works fine, part of me wonders why the create a topic form even shows on the default forums page – meaning, i have 14 forums and only two of them have test topics yet when looking at the /forums/ default page, it is asking me to create a new topic for forum #2 which is the first forum that is empty (note forum 1 and 3 have test content, forums 2, 4-14 are empty) … maybe that is fine but my point is still valid …
thus with a theme that is having issues, the form and the alerts do not make it in my archive-forum.php file (even the css is a bit different) so i believe there is something fishy with topics and forums defaults that is getting in the way with some themes ..??.. note i tested this with Theme Hyrbrid Prototype and Twenty Twelve with no problem but with Theme Hybrid Shell Responsive Child theme is when my problems stemmed … and i know Sami has created some themes over at Theme Hybrid as well … thus i share his pain :>) (theme compat wise that is)
thanks in advance for any pointers, insights, help that can be shared … cordially, chuck scott
Ok so I had to partially give up, but I did come up with a partway solution. It’s still got some broken CSS here and there.
I am running a WordPress Multisite. I noticed that BBPress will lay out and mostly play nice with the Pinboard theme provided you set the layout to have no sidebars and to be 4 column. You can still have footers, thank god.
So there’s a live working version of BBPress. I did use the forums.php trick noted above to fix a few things for the time being. I would actually like to just DELETE the search function from the header, because it’s broken and it’s causing the layout to jump.
I made a complete copy of page.php within the /wp-content/themes/pinboard/ directory. I then created a blank file and titled it “forums.php” (with an ‘s’ on forums). I copied the complete text of the page.php file into the forums.php file and started tweaking.
That spreads the forums page out to the appropriate onecolumn width and also completely fixes the profile page. It looks like the entry headers are being called from another php file, so I need to do some more tweaks, but here’s the result as is:
Thanks for the replies guys. Jared no it does not. The theme is pretty popular – Pinboard. I am seeing other Pinboard users with the same issue, too.
What I have done is followed the instructions here to carve out a separate forums.php page which is working as intended and rendering the bbPress plugin separate from the rest of the site.
That is allowing me to tweak the code for just this one section, but I haven’t worked out how to force it over to the .onecol layout yet. Worse, it looks like this layout issue persists through various sub-parts of the forum software, such as profile pages.
Any help at all on this would be greatly appreciated, guys.
Basically the question is, how come the overall ‘Forums’ page is pulling the .threecol CSS tag while the internal, ‘Topics’ pages are (appropriately) pulling the .onecol CSS tag?
If I could simply figure out where to set the Forums page to .onecol, it’d be fixed.
So I am still doing just fine with the sub-forums and topics, but the main “Forums” page (linked above) is stuck in three-col layout instead of one-col, which is what it needs to be. Any ideas on where to switch it over?
In my particular layout, the ‘Forums’ page is incorrectly calling to the ‘threecol’ CSS tag instead of ‘onecol’. The topics page is calling to ‘onecol’ correctly and lays out fine. I am using a four column layout with a sidebar, and I need the BBpress unit to take up the entire space except for what is in the sidebar.
I can edit the forums CSS tags live using Chrome’s “inspect elements” tag and make it lay out properly, but I don’t know where to make those changes amongst all the BBPress php files.
My question is simple: where does BBPress get its CSS directions for the Forums page? It has to be in one of the php sub-files. I just need to change that one CSS tag and it ought to work properly.
So I can see what’s happening in the CSS elements. For the “Forums” page, the layout is calling to the “threecol” CSS class as opposed to “onecol.” When I use my Chrome editor to change the tag live, I can make it lay out properly. However, I am not sure where the actual “threecol” versus “onecol” decision is being made, so to speak, for the forums page. One of the php files? The master index php?
Any help would be greatly appreciated. In the mean time I think this qualifies as a bug.