Custom bbPress functions can go into your functions.php file, but I prefer to create a custom functions plugin.
Thanks for sharing @will-brownsberger . So it’s been 3 weeks, how are you doing? 🙂 There’s also a mention of a fix in that thread you linked to, but I’m not sure if it’s been applied yet.
We’re on a constant lookout for bbPress-compatible plugins to use on jmonkeyengine.org. It could really save us from a very costly hardware/hosting investment.
Thanks a lot, this is a very welcome tweak! I never did understand the point behind this “feature”. I rarely close topics because the OP shouldn’t be read at all…
Is there a way to safely override this css in my child-theme’s style.css as well, maybe by importing the bbpress.css? The problem with your method is that the change will be overwritten as soon as bbPress is updated.
I’m assuming that if I want to override the template files inside the plugin directory, I need to place a file of the same name (ex: archive_forum.php) inside the bbpress directory within my theme folder.
So where do custom bbpress functions go? My theme’s functions.php?
I know this was a while ago, but in case anyone else stumbles across this topic, here’s how I did it.
In your wordpress install find the folder `/wp-content/plugins/bbpress/templates/default/css`
Open the file `bbpress.css` in a text editor
Within the bbpress.css file, search for the text `#bbpress-forums .status-closed`
When you find this text, below is the entry `color: #ccc;` This is the colour for your text in closed topics. Change it to #000 for black.
You can grab the 2.3 beta 1 now, see https://bbpress.org/blog/2013/01/bbpress-2-3-beta-1/
In theory changing `post_parent` should do the trick though you need to run the ‘Repair Tools’ after doing this to recount all the things.
Hi Stephan, that’s great to hear! Any idea when you plan to release? I’m just doing demo runs right now; I’ll be officially moving my phpbb3-based community over to this bbpress install next month.
I have already been doing a lot of user pruning and forum configuration on the live phpbb forum to make it as close to what I want the bbpress to look like.
I guess I will need to figure out how to mass move topics from a regular forum into a group designated forum. I tried mucking with the database by changing the “post_parent” field to match up with the new group forum, however it didn’t work… the front end looked a little wonky. Tips?
I’m trying to do a WordPress XML import on a site with BBPress installed. When I get to the page that asks if a user’s posts should be assigned to an existing user or not, the list is over 100 users long, but never finishes. I know it’s not finished because I see that it’s listing BBPress users, and there are 3700+ of them in the WP-Admin. Consequently, the Submit button never gets created for the import form, so I can’t finish the import.
Please help!
@Netweb, thanks I got it.
Now I want to make a reverse function like I want to display all freshest topics except the one I displayed before.
So I am doing something like:
$left['show_stickies']=false;
$left['order']='DESC';
$left['post_parent']!=1263;
and then
if ( bbp_has_topics($left) )
bbp_get_template_part( 'bbpress/loop', 'topics' );
but its listing all of the topics.
When I go like $left['post_parent']=1263; its ok, but when I want a negation (list all topics from all forums except the forum with 1263 ID, then in var dump of $left['post_parent']!=1263; I am getting NULL
I had used the code (below) prior to posting here in the forum and it didn’t work for me…
and it outputs nothing… what am I doing wrong? I put this in my header.php file in my wordpress theme directory.
There are very little in the way of options for bbPress and this is by design.
I’m also from the Stonehenge forum era and am far from a developer but saw the potential of bbPress, now I’m learning PHP due to the awesome inline docs in the code of bbPress (and WordPress).
Speaking of proud things in bbPress… Search is really new and works really well 😉
eg. https://bbpress.org/forums/search/?bbp_search=remove+sidebar
(I’m not meaning to be lazy or dismissive of your specific query just that this question has been asked many times and there are quite a few topics on this subject and you might even find one specific to the WordPress theme you are using)
Excellent, the BBCode cleanup bits are the main changes that will ship with bbPress 2.3, I think I have most of them sorted now.
Moving topics is a manual task at the moment, it is planned for a future release. (#1838 & #1721)
Are you able to configure your old phpBB forums (or a copy of them) and set these forums the way you want them to exist in bbPress and then do the import?
(Essentially use the phpBB mod tools to get the setup you want before importing into bbPress)
How do I call bbpress template tags inside of the wordpress theme files? For example, I’m in header.php of my wordpress theme, and would like to list the forums in the header. I found this code: bbp_list_forums(); but I’m not sure how to get it to work?
I understand I can use widgets or use the admin with various slugs… but I’m wondering how to do this on the backend with code.
There are a couple of minor updates for the importer with bbPress 2.3 but these do not relate to mismatched topics and replies. How many are we talking? 1 or 2? 10 or 20? 5,000? What percentage?
Don’t worry about user passwords, they are stored in usermeta until the user logs in for the first time.
Your phpBB database is NOT erased, you can reset bbPress and import from phpBB as many times as you want.
It is still advisable to make backups of everything still.
Thanks Lynq. I have forwarded your suggestion to Themedy Themes to ask how I can get this fixed in my Derby theme. Thanks again.
Not sure if this is a bbpress or buddypress issue (BTW can’t post on buddypress support forums, when I log in to bbpress.org, but that’s a separate issue, I also see the admin menu on buddypress.org)…
Ok, so I’ve been playing around with both bbpress and buddypress for the last 2 weeks. I have checked out of svn both of the latest trunk versions. I’ve gotten pretty adept at setting everything up from scratch during my testing. When creating a group, let’s say “group1” in buddypress, I allow bbpress to create the corresponding forum during group setup. Now, when I go into the bbpress admin backend and create a forum from there, let’s say “subforum1” and make “group1” the parent, it works. Yeah! Just what I wanted, parent groups and sub-forums, however, it doesn’t work the way I expect it to. I can see the subforum in the group now from the front end, and post something in the subforum, but not in the main forum/group “group1”, and every time I click on the group, and then the forum tab, it shows the sub forum(s) and topic posts (only from the last post to the last subforum), and then a create topic form on the bottom, defaulting to the last subforum I created. Meaning I can never post anything in the parent forum “group1” or any other subforums that might have been created under group1. No dropdown to select a different forum to post it to. This is not how would expect it to work. I would expect that you default to the main parent forum (group1) for posting and reading of topics, and the subforums (which do show on the group1 forum page) you can click on and then post within them. It seems this functionality is almost there, and I want to make sure this is either something that is getting fixed, or a mistaken capability that I stumbled upon and it not meant to operate that way.
Thanks for all of you hard work on these 2 projects, you guys are awesome! I can help contribute to the dev as a tester if you want.
I don’t know if what I wrote is anything like a best practice, but it worked for me
Anything is better than nothing. We can always iterate on anything you create later. Thanks for putting that up!
I made a codex page describing what I learned so far. I don’t know if what I wrote is anything like a best practice, but it worked for me. It would be great if those more knowledgeable would correct and expand on it.
https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/
If it’s not, why not?
The honest truth is that once most people learn what they need, they never go into the bbPress codex and make a page to share their knowledge.
Fixed! This changeset specifically is likely the one causing you problems.
The bbPress theme is inside the plugin and inherits your wordpress themes styling.
If you wish to change that then you need to copy the theme files out of the plugin and into your wordpress theme. The theme files are inside templates/default I believe.
Copy them out into your wordpress theme and then edit those files to get your preferred look, good luck!
Hello,
So I installed the bbpress plugin, and the forum seems to work, but I want the forum to appear as white, not black. My WordPress blog, which BBpress is installed as the plugin for, is black.
Is there not an easy way to have the forums be white and the blog black? Where/how do I change that?
Thanks
Bob