thank you
put this in the custom css part of the style pack plugin
#bbpress-forums .status-closed, #bbpress-forums .status-closed a {
background-color: transparent;
}
put this in the style pack custom css or your theme’s custom css
#bbpress-forums .status-closed, #bbpress-forums .status-closed a {
background-color: none !important;
}
Hi, I recently saw this topic and it helps me solve one problem.
I can finally use this CSS to disable the grey-out effect when the topic is closed:
#bbpress-forums .status-closed,
#bbpress-forums .status-closed a {
color: #000 !important;
}
From this previous topic also, CSS can do equally well to add [Closed] label beside the closed topic title in topic list page:
#bbpress-forums .status-closed > li.bbp-topic-title > a.bbp-topic-permalink:after {
content: "[Closed]";
text-shadow: 1px 1px 0 #ffffff;
color: #ff0000;
margin-right: 5px;
}
I wonder if we can use CSS (instead of PHP codes) to add another [Closed] label beside the topic title in single topic page. Any solution?
See https://paste.pics/N5WS0
Also, I’m still searching for ways to disable the defaulted pink font highlight when the topic is closed. Hope somebody can help.
See https://paste.pics/N8U5T
Regards.
Thanks for that – very useful.
Wordpress has a bewildering set of names including username, user display name and user nicename
As far as I can see, bbpress seems to be using the user database setting for user nicename.
So can you try adding this code
add_filter( 'manage_users_columns', 'rew_add_user_nicename', 20, 1);
add_filter( 'manage_users_custom_column','rew_add_user_row', 20, 3 );
function rew_add_user_nicename($columns) {
$new = array();
foreach($columns as $key => $title) {
$new[$key] = $title;
//add the 2 columns after the forum role column
if ($key=='bbp_user_role') {
$new['nicename'] = 'Nicename';
}
}
return $new;
}
function rew_add_user_row($retval = '', $column_name = '', $user_id = 0) {
if ($column_name == 'nicename') {
$user_info = get_userdata($user_id);
$user_nicename = $user_info->user_nicename;
$retval = '-->'.$user_nicename.'<--';
}
return $retval ;
}
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
Code Snippets
This will add a column to the dashboard>users table to show you exactly what is set as the user nicename. I have enclosed it in arrows eg
–>name here<–
so you can see if there are leading or trailing spaces.
try adding that name to the moderators and see if that works?
@robin-w Thanks for your feedback, insight and testing on my behalf.
I’ve used the troubleshooter to run the site using 2022 theme and only bbpress. Still won’t allow me to add the user to the forum.
Also the username has the initial of firstname and lastname capitalised so it is more accurately of the format ‘Firstname. Secondname’ – i note that in the ‘all forums’ screen, the moderators columns are all displayed lowercase. So i tried adding the username in the format ‘firstname. secondname’ but to no avail.
To further narrow down the issue I successfully created a new member/user on the site with the actual username ‘Firstname. Secondname’. After upgrading their Forum role to moderator, i attempted to added them as a moderator to a forum. So i added ‘Firstname. Secondname’ (without inverted commas) into the Forum Moderators field and hit update. This then left the field with ‘firstname-lastname’ in place. So when adding the moderator it swaps the ‘dot space’ to a hyphen and makes all characters lowercase.
With this new discovery, I tried adding the original problem username back as a forum moderator, all lowercase with the ‘dot space’ replaced with a hyphen.
But it didn’t accept it.
So I’m confused now as to why it works with one new user in the same format as the old user (which doesn’t work)?
See the above testing in action here
With the new knowledge, I finally retried adding the troublesome username in lowercase with hyphen whilst in a similar troubleshooting set-up but again it didn’t accept it.
Any further thoughts?
OK .. I re-read the forum rules and apparently it’s ok to put in a URL. This is the test site. There is an image on the home page with a button that says “Click Here” at the bottom. Click it and it’ll take you to the bbPress “Name Registry” attempt. https://loftorg.com
In case you missed this:
BTW – I have this working up on a test site that you can view – if I’m not breaking any forum rules by supplying a URL. It’s merely a test site – go to the main page and click the button at the bottom of the page and it’ll take you to the design (in progress) of the bbpress “Registry” attempt.
Let me know if you want me to send you the URL.
BTW – I have this working up on a test site that you can view – if I’m not breaking any forum rules by supplying a URL. It’s merely a test site – go to the main page and click the button at the bottom of the page and it’ll take you to the design (in progress) of the bbpress “Registry” attempt.
Let me know if you want me to send you the URL.
for daunting read ‘full of options’
You need do nothing in style pack and bbpress will still work fine. you only need change what you want to
I just tried adding a user with a space in the name ie ‘test user’
then in dashboard>forums>edit forum>moderators I typed in ‘test user’
it did not pick up the name as I typed it so I had to type the full name, but it did accept it, and added it correctly to the forum database.
per forum moderators are relatively new, and the 15 yr old and 8 year old threads would have been for bbpress version 1.
so on my test site bbpress does allow moderators with spaces in the names.
my next suggestion would be it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
I have a memberpress/bbPress/Wordpress site with about 100 members. I was trying to make a user a moderator of a particular forum. I was able to change her role to a moderator by editing her user profile OK. But when I add her username to the moderator field within the edit forum screen it spins on update but never registers the username as moderator.
I then notice the username in question is of the format ‘firstname dot space secondname’
I didn’t think WP allowed usernames with spaces or dots (periods) but apparently, it does and the username is created when they register via a Memberpress form. By default, they are made forum participants upon registering. I want to upgrade this user to be a moderator of a specific forum.
The user HAS managed to post a topic in a forum already as a participant.
So i’m assuming that the problem lies in bbPress NOT allowing spaces in usernames when you try to assign them to be a moderator of a specific forum?
I was reading a 15 year old thread here where @howtogeek provides some plugin code. I tried saving this to a zipped .php file and adding it as a plugin but Wordfence said that wasn’t a good idea, so I’m not confident using 15-year old code is such a good workaround.
There was another old thread from 8yrs here ago where @joop.stringer suggests tweaking permalinks but I can’t seem to figure that out either.
I’ve come across this which will maybe help me prevent this from happening again.
But can anyone confirm that the space in the username IS the reason I can’t assign a moderator
role user to be the moderator of a specific forum, and if there is any more recent knowledge on this issue? i.e. does bbPress actually allow spaces in usernames now?
I need to create a “name registry” in WordPress (either Gutenberg or Elementor Pro) that will allow users to input their own information and create a new “name registry” listing. Trying bbpress.
The
alphabetical
listing of names should be presented and when a name is clicked, the supporting information is displayed.
Albert
Andrew
Agnes
Charles
Charles
David
There will be lots of duplicate names, but usually, the date, country, or some other info is different.
Supporting information example (when “Andrew” is clicked) is Date of entry, email, info:
Andrew Loftus – 1818
Australia
Do you have any knowledge of Andrew Loftus (Coachman) who was transported to Australia in 1818 after a trial in Co Mayo. He lived in Ballina but his wife Elizabeth Murphy, later lived in Crossmalina.
Peter Kenny
Sydney, Australia
pk@somehost.com
I have looked at forum plugins, directories, posts and cannot find a way to do this in WP. Most times the entry field descriptive text cannot be modified. Currently using the bbpress plugin but don’t see how I can modify the field text to ask users specific questions. I initially did it in html using a doku. But I want to covert this to WP and add the self-entered capability.
Any suggestions or pointers? Is bbPress a viable route for this?
thanks, do keep us updated.
as this is a commercial theme, I do not have access to it, but agree it would be good to have it fully working with bbpress
I’m experiencing similar issues at https://www.brugmansia.us/community/, a Divi site. But even when I use one of the WordPress default themes (2023), I get similarly poorly formatted results at best. I agree with those suggesting this is primarily a bbPress issue, not a theme issue.
Yeah it’s odd that it doesn’t have pagination build into it, I don’t use threaded either.
You had put together a plugin for someone awhile back for this when using threaded replies, so not sure if that is still working or what the OP is looking for. Link to that reply of yours below.
https://bbpress.org/forums/topic/trying-to-get-nested-replies-and-pagination-to-work/#post-214969
Thank you Robin…theoretically, i’m not moving bbpress between 2 sites.
I’m doing redesign of my site, index page, pages, posts…and will leave forum as it is…without changing anything.
Here is “old” site
Croacia
and bbpress is on https://acroacia.com/forums
Here i’m doing re-design:
http://acroacia.com/redi/
and need to move forum to http://acroacia.com/redi/forums.
When finish with site, will migrate all to acroacia.com
Forum wil have the same domain and url structure like it have now.
Will be great if I can somehow left all acroacia.com/forum content as it is right now and just sustitute acroacia.com with new content…but it seems to be impossible.
What if I move new page content to acroacia.com and then import forums, answers and topics?
Maybe will be much easyer becouse domain and instalation file is the same like it was when all was exported…
so moving bbpress forums between 2 websites is really very hard, and requires preparation on source site and extraction of meta data on target site.
the wordpess export/import tools are not sufficient.
the last time I did it I ended up with a 57 stage process, and I’ve still not found anyway to describe to someone not versed in bbpress how to do this.
sorry beyond free help, but if you’d like me to help on a paid basis, contact me via
Contact me
After sucess import (wordpress tool) of forums, topics and replies and import to other page, topics are missing on forum pages.
Here is a main forum page
https://acroacia.com/redi/forums/
If open any of them, got message “Oh bother! No topics were found here!” (¡Vaya, no hay debates aquí!)
In wp backend all forums, topics and replies are listed.
I found here in bbpress forum similar problem from 2015 where installing some plugin that was developed by user on this forum Robin W. was solving the problem but that plugin not exist anymore.
Anyone can help me?
Thank you
Dear friends,
I’m redesigning my site acroacia.com.
Apart of pages and posts, this site also have a bbpress forum acroacia.com/forums
On same server I was build site redesign that NOT include forum content.
Redesign page: acroacia.com/redi
Is there any way to sustitute old page content with redesign content but preserving /forum/ content?
Or I should first export and import all forum content from old page to redesigned page and after delete old page and uploadc new content with bbpress forum?
Thank you!
I’m just a guy sat in his kitchen who was helped several years ago when I was setting bbpress up, so I try to help others – I’m not a bbpress author.
Updates from the bbpress authors are few and far between, I think they are on other projects now, and maybe consider bbpress as a mature product. The philosophy was always to keep bbpress small, and let other plugins add stuff that was needed.
I do ask them to update the ‘tested to’ but it rarely happens. I test bbpress with new versions.
That is and will always be the issue with open source software – it relies on people doing stuff for free, and people’s focus changes and people move on. That is annoying, but the reality of life.
If you have things that need core updates, you can raise them on trac
https://bbpress.trac.wordpress.org/report
That way at least stuff that is wrong or could be done better gets logged.
Thanks, Robin for the plugin suggestion, but it’s more of the core of bbPress which seems quite outdated and a little messy with code. Plus, doing template overrides, there are things which hoped would be there that I can override. Some styles are using!important, some styles are reused in ways they shouldn’t be, so I had to get creative with overrides…I had to use javascript to remove/change/add classes to select elements: ie buttons.
Then, on the bbpress plugin page at .org, this shows up as a notice:
This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Time to revamp this plugin and bring the coding and features up-to-date–plus capabilities. Even here in this forum, the font size is just 12 px. Time to move it up a bit, especially for accessibility 🙂
bbPress 2.6.9 is compatible with WordPress 6.2. As for PHP, it works fine with all the new versions, but it does generate various warnings with PHP 8.1 and newer (nothing critical, mostly about deprecated PHP functionalities).
HI
Wordpress has issued a warning on the plugins page at wordpress.org saying that this plugin hasen’t been tested with the current version of wordpress
So Just out of curiosity is bbPress 2.6.9 campatible with the latest version of wordpress 6.2 ??
And has it also been tested with the newest version of PHP 7.4/8.0/8.1/8.2 ??
The information tab on the plugins page in wordpress.org says:
Version: 2.6.9
Author The bbPress Contributors
Last update: 1 year ago
Demands WordPress version: 5.0 or newer
compatible up to: 5.9.5
Demands PHP version: 5.6.20 or newer
Please check and inform me and the rest of the plugins users about the status.
Oh yeah and remember to update the plugins inforation tab at wordpress.org
/Lars
Hi
I would like to remove date from my forum column “Last Post” : https://www.lebonconstructeur.fr/forums/
I have some very specific topics and people dont click if they find that last post is too old
I would like to keep only user name in the column