I have a private forum on my bbpress installation and even though the topics in this forum are not accessible if the user is not logged in, they still show up in the Recent Topics & Recent Replies Widgets…
How can i hide them?
You steered me right Stephen, here’s what I ended up with:
`display_name.’ | ‘, wp_loginout(); } else { ?>`
` or <a href="/wp-login.php?action=register”>Join`
This gives me everything I needed.
If user is not logged in they get Login or Join
If they are logged in they get username (linked to profile) | Logout
Thanks for the help.
That is not a known issue… I would dig around to see if SimplePress has/had any custom attributes attached to that user and also what WordPress role does the user has to see if something somewhere else has played around with user roles and/or capabilities.
Thanks Stephen, going to give that a shot.
Just finished a re-import. It went a lot better! Thanks for that tip.
It does bring up another issue though. There’s a handful of posts still show UserID1 as the poster, and under their Avatar (on the left side of the post) it reads (null)
I will try to fiddle around some more tonight with it. I just figured I’d mention it just in case it was a common issue. I haven’t fully investigated it yet, so it may just be users who no longer exist or something.
Just follow the steps in the document https://codex.bbpress.org/bbpress-in-your-language/
Set `define (‘WPLANG’, ‘fr_FR’);` in your WordPress `wp-config.php`
Download the .po & .mo files
Rename the files
- bbpress-plugin-fr-fr.po to bbpress-fr_FR.po
- bbpress-plugin-fr-fr.mo to bbpress-fr_FR.mo
Upload both files to `/wp-content/languages/bbpress/ `
I would suggest you use the following page to ask if anyone in the French WordPress community has fully translated bbPress as the translations linked above are 0% & 11% https://fr.wordpress.org/contact/
If you are trying to translate the theme DynamiX or ‘codestyling localization’ plugin then they are issues with their respective authors.
That is it what you have above….
The reply content including what I am writing right here in this reply is styled with
<div class=”bbp-reply-content”>
Just add the CSS class .bbp-reply-content to your style.css file.
I’d suggest taking a look at the code in the bbPress ‘Login Widget’ included with bbPress.
It behaves in very much the same way you are looking to have in your header.
What you are probably after starts at line #137 and depending on your needs use either `bbp_user_profile_url( bbp_get_current_user_id() )` or `bbp_user_profile_link( bbp_get_current_user_id() )`
No none of that should be a problem… That is a HUGE number of users so presumably if WordPress ‘was/is’ able to handle that amount without issue then bbPress won’t have a problem either.
I’ve got it all on a development setup, so I’ll give it a “reset” to what I had prior and try again. I should mention, I have a database with about 108,000 users but there’s only around 2,000 total posts (mix of inactivity and I’ve only had Simple-Press enabled for a a few months but we have some valuable content) – Could this be the root of the problem?
I can only think this is a glitch in the matrix that something strange happened during the import.
Are you able to try importing again?
Can you post a link to your site here so we can have a look please.
Also posting some screenshots here would be helpful.
Once we know exactly where the problem is we can get it fixed for the next version of bbPress.
I am using the same install. I guess my question is still the same. How do I get bbPress to realize these topics/replies are by other users, not by user #1 (Admin)
If you are using the same WordPress install that SimplePress uses you don’t need to import the users. If you use a new install of WordPress you need to select the option ‘Convert Users’ to have the importer bring the existing users into the fresh WordPress install.
Sorry guys, I didn’t think that the code wouldn’t post properly.
Hello all,
I had since yesterday looking for this i searched many website incl your support forum but the most of the topic are 3+ year old.
So please can you help me with this, how to remove the subforums on the homepage of the bbpress last plugin?
Hi everyone,
Hope someone can help me out with this, I’ve been searching around for several days and I can’t seem to find a solution.
I’m using bbpress (obviously) on my 3.5.1 WP install. I have code in a fixed header that allows my users to login to the website. Here’s the code I have in my header.php
display_name.’ | ‘, wp_loginout(); } else { ?>
or <a href="/wp-login.php?action=register”>Join
Basically this generates Login | Join when the user is not logged in and username | logout when they are logged in.
My question is this, when a user is logged in I’d like to have the username link directly to their bbpress profile. For the life of me I can’t find any info on how I would do this.
Does anyone have any info or could point me in the right direction so I can could get this done? Maybe it’s not even possible?
Thanks to anyone who can help.
Cheers.
hi there
my problems is that im trying to style the reply section but there is some script there are styling the element.style so i cant overwrite it with the style.css i cant find the code there are doing the element.style
i have located the code to the “loop-single-reply.php”
in the file the code refers to code i cant find?
div class=”bbp-reply-content”
?php do_action( ‘bbp_theme_before_reply_content’ ); ?
?php bbp_reply_content(); ?
?php do_action( ‘bbp_theme_after_reply_content’ ); ?
/div
are there anyone there know where it gets styled?
I’m using the Simple:Press to bbPress importer that comes with the latest version of bbPress. I am currently running the most recent version of WordPress and have Simple:Press 5.1.4.
The topic/replies imported perfectly, with exception to one bit. The forum thinks all the posts it imported were created by user 1, the main site Admin.
I have run “Recount topics for each user” and “Recount replies for each user” but they didn’t appear to fix it (and I’m guessing they aren’t meant for this purpose, based on their labeling)
I was wondering if anyone else was having similar issues.
After a few failed attempts, I was able to successfully do the conversion from bbpress 1.02 standalone version to the latest plugin version (2.2.4). Doing this requires a few steps and I might do a blog post about this later but for now:
1. You need to update the standalone version to 1.2. I tried importing without doing this and some data, like parent forums didn’t get converted so I ended up with a bunch of forums with no parent (and if you have a big forum, you don’t want that).
To update you need to download version 1.2 from https://bbpress.org/download/legacy/ and then download the backpress and pomo files that you see below version 1.2. You then need to create a folder called “backpress” in the “bb-includes” folder and dump in all files that come in the backpress-1.2-bbpress includes folder.
So you’ll have: bbpress>bb-includes>backpress>class.bp-log.php and so on…
Then download the pomo files and create a folder called “pomo” inside the “backpress” folder. Dump in the files you downloaded in there.
So you’ll have: bbpress>bb-includes>backpress>pomo>entry.php and so on…
Now you can update your standalone version to 1.2 as you did in the past. Be careful not to delete your bb-config.php and your old templates (if you had custom templates). Make sure you log in to your admin panel so the database gets updated.
2. Now you are ready to import using the import tool in wordpress. Download and install latest bbpress plugin version, then go to Tools>Forums>Import Forums and follow the instructions to import all your information (don’t forget to put “bb_” as your table prefix).
Hope this helps
A common problem (I think) when people post on forums is that they forget to write a topic title for their thread. When this happens on my bbpress-forum an error emssage shows up and the text in the main post window disappears. Quite frustrating, and I am wondering if there is any way to resolve this?
I am quite sure all of this hase been fixed in the upcoming bbPress 2.3
You can download the beta from here and test it to make sure 🙂
bbPress 2.3 Beta 2