Hi there, I’m experiencing the following error after installing bbPress on my local PC (the site is not public) and setting up a test forum:
“WordPress database error Incorrect DATETIME value: ‘0’ for query SELECT p.ID FROM wp_posts AS p WHERE p.post_date < ‘0’ AND p.post_type = ‘forum’ AND ( p.post_status = ‘publish’ OR p.post_status = ‘private’ OR p.post_status = ‘hidden’ ) ORDER BY p.post_date DESC LIMIT 1 made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/twentytwenty/singular.php’), get_header, locate_template, load_template, require_once(‘/themes/twentytwenty/header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters, adjacent_posts_rel_link_wp_head, adjacent_posts_rel_link, get_adjacent_post_rel_link, get_adjacent_post”
My setup:
A new WordPress 5.4 install with no other self-installed plugins
Theme: Twenty Twenty
Windows 10
PHP 7.4.4
MySQL 8.0.19
I created a forum called ‘Test Forum1’ & this appears in the WordPress Admin. When I click the permalink to view the forum I see the above error on a blank white screen.
Any advice much appreciated – thanks.
Thanks @mudit-kumawat. I would add this, as admin users will still show the admin bar, so with your code we will have two divs with the same id:
// Add adminbar blank div to fix BBPRESS jQuery issue
function add_admin_bar_div() {
if( is_bbpress() && ! current_user_can('administrator') ){
echo '<div id="wpadminbar" style="display:none;"></div>';
}
}
add_action('wp_footer', 'add_admin_bar_div',15);
you’ll need to create a custom importer
Custom Import
if you do this, let us know, and we can add details to this site
Hi,
I use WordPress version 5.4.1 and bbpress version 2.6.4 on my website http://www.afvallenkunjeleren.nl with the theme woostify.
I have something strange: I have downloaded the .mo file (named it bbpress-nl_NL.mo, and the .po file is bbpress-nl_NL.po) from the official bbpress site and uploaded it through file manager in my forum.
But nothing will be translated. When I look in the plugin Loco translate, that I use there is nothing translated.
Can anyone help me please?
Thank you very much in advance!
With warm regards,
Klaziena Waerts
I have been having an issue with my website, almost once a day the pages return broken links and 404 errors. I have to manually save the permalinks to fix it.
I have tried a lot of ways like creating a default htaccess file, but nothing works. So I started deactivating plugins once this happens. When I deactivate bbPress everything works again, so I was wondering if somebody knows what can be causing the issue?
It happens only to pages, not posts or archives.
This is the website I am having problems with: https://academiamunicipal.uned.ac.cr/
Hello there,
I am stucked with this issue since some days : i am using the default bbpress connection widget (bpress version : 2.6.4) , but i am not satisfied by it behaviors such as redirect to wordpress admin login, the fact that the link on registration mail, bring the user again to wordpress back end, and also that email sender adress is the wordpress email (not mine !!) .. i had tried to change this last issue with this code in my functions.php :
add_filter( 'wp_mail_from', 'your_email' );
function your_email( $original_email_address )
{
return 'myemail@domain.com';
}
add_filter( 'wp_mail_from_name', 'custom_wp_mail_from_name' );
function custom_wp_mail_from_name( $original_email_from )
{
return 'My Forum Name';
}
But instead i just received a “mail delivery failed”
I have tried other plugins such as “weaver” or “bbPress login register link..” but still not found the “good one” (or surely didn’t know how to optimize it)
Did someone know how to solve this problem ??
Hi,
I added some new user fields to the WordPress admin page, but I would like them not to be visible on the bbPress profile page.
How can this be solved?
I have the same question. I’ve downloaded all the content, membership and attachments in various CSV files from the original forum (Website Toolbox) but don’t know how to import them into my brand spankin’ new bbPress forum.
I found it dude: https://www.satollo.net/hide-the-subscription-toggle-on-bbpress-forums
.forum #subscription-toggle {
display: none;
}
This will only change the CSS design and does not mess with the core functions of the theme 🙂
Hi, Im new to BBPress. It seems great but I can`t get it to look right. The text is all smaller compared to my Genesis theme and there are bits of strange things – like the word “by” showing up. It just looks clunky, especially when compared to how this forum looks. Any tips would be appreciated. Here is the site
Thanks
Hello,
I have completely customized the bbPress profile page and would like to display e.g. next to the name an icon (or whatever) if that user is also a WordPress author.
Does anyone know a solution?
Never mind, I found and edit the code already… if you wanna know my code:
#bbpress-forums > #subscription-toggle{
float:right;
}
#bbpress-forums div.bbp-reply-content a.subscription-toggle,
#subscription-toggle a{
font-weight:bold;
padding: 8px 8px 4px 8px;
border: 0px solid #66FF33;
background-color: #66FF33;
color: white;
}
#bbpress-forums div.bbp-reply-content a.subscription-toggle,
#subscription-toggle a:hover{
background-color: #00FFFF;
color: white;
}
#bbpress-forums div.bbp-reply-content .is-subscribed a.subscription-toggle,
#subscription-toggle .is-subscribed a.subscription-toggle{
border: 0px solid #e6e6e6;
background-color: #e6e6e6;
padding: 2px 4px 2px 4px
}
@mjonesnerdery and @hoch to fix this issue add this function in the theme functions.php file
// Add adminbar blank div to fix BBPRESS jQuery issue
function add_admin_bar_div() {
echo '<div id="wpadminbar" style="display:none;"></div>';
}
add_action('wp_footer', 'add_admin_bar_div',15);
I’m trying to convert my SMF database, but nothing is being imported (runs through each step, but nothing to import).
I’m using SMF 2.0.17, the most recent versions of bbPress and WordPress.
Can anyone advise how to pinpoint the problem? There were no errors listed.
Thank you very much!!!
I just follow your explain.
Could you give me one more opinion?
Can I have…
About my theme…
(1) I am using “Image Upload for bbPress Pro” plug-in. Which is bbpress editor.
(2) But Member can not using this editor. It mean, editor does not working.
ㄴ You can check two images. Could you check “https://prnt.sc/si6z3s”, “https://prnt.sc/si709x”.
ㄴ Editor is appear but not working by member(Participant). Only working for Admin.
Therefore, When my member open new topic, then topic show like this https://43gear.com/forums/topic/%ea%b3%a0%eb%a6%bd%eb%90%9c-%eb%8c%80%ea%b5%ac-%eb%8c%80%ea%b5%ac-%eb%b4%89%ec%87%84-%ec%82%ac%ec%8b%a4%ec%83%81-%ea%b3%84%ec%97%84%eb%a0%b9/#post-100021834
I just try to download both plugin which you introduce. But still not working.
Do you have any idea or opinion why it does not working?
I try to fix as long time…
And I try to ask theme Author and plugin Author too.
But that happen still…
So…
Thank you very much.
@robin-w would you mind helping me with this issue too?
Subscription Email?
Hey, I know that bbpress have the option to subscribe to forums.
Is there a way to customize those emails??
Thank you!!
Ah – I did not have that check box marked for comments needing approval. BUT I believe the problem I’ve been having is due to the Comment Moderation if it contains links! We use links a lot so this is likely the culprit.
Thanks joyridek9! After the recent bbpress and wordpress update I started experiencing this problem. Looks like some settings were reset. Mine were set to moderate if it contained two links or more. Set this number to 0 and poof, problem solved.
(It should be noted that I have a protected forum hidden with bbgroups. If you have a public facing forum, setting this to zero could increase spam posts so tread carefully.)
Hey, thanks for the answer!! However, I did not installed BBpress messages so there is no setting for that. Thanks for the answer though :))
Shortcodes
Codex Home → bbPress Features → Shortcodes
Since Version 2.0 bbPress support so called Shortcodes. They have been introduced for creating macros to be used in the layout of your forum content on WordPress pages. To use any of the shortcodes simply insert the desired shortcode into any WordPress page.
To get the required numerical ID for $forum_id, $topic_id, $reply_id and $tag_id you will need to visit your /wp-admin/ section and either by editing the post or by hovering your mouse over the applicable forum/topic/reply/tag post type you will see a numeric ID for that post eg. /wp-admin/post.php?post=47
Forums
[bbp-forum-index] – This will display your entire forum index.
[bbp-forum-form] – Display the ‘New Forum’ form.
[bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]
Topics
[bbp-topic-index] – Display the most recent 15 topics across all your forums with pagination.
[bbp-topic-form] – Display the ‘New Topic’ form where you can choose from a drop down menu the forum that this topic is to be associated with.
[bbp-topic-form forum_id=$forum_id] – Display the ‘New Topic Form’ for a specific forum ID.
[bbp-single-topic id=$topic_id] – Display a single topic. eg. [bbp-single-topic id=4096]
Replies
[bbp-reply-form] – Display the ‘New Reply’ form.
[bbp-single-reply id=$reply_id] – Display a single reply eg. [bbp-single-reply id=32768]
Topic Tags
[bbp-topic-tags] – Display a tag cloud of all topic tags.
[bbp-single-tag id=$tag_id] – Display a list of all topics associated with a specific tag. eg. [bbp-single-tag id=64]
Views
[bbp-single-view] – Single view – Display topics associated with a specific view. Current included ‘views’ with bbPress are “popular” [bbp-single-view id=’popular’] and “No Replies” [bbp-single-view id=’no-replies’]
Search
[bbp-search] – Display the search input form.
[bbp-search-form] – Display the search form template.
Account
[bbp-login] – Display the login screen.
[bbp-register] – Display the register screen.
[bbp-lost-pass] – Display the lost password screen.
Now i ‘ve done a rollback to version 2.5.14 of BBpress and it’s turned as before.
Subforums are not listed.
The subforums not being listed will be fixed in 2.6.1.
A few more questions:
Using any caching plugins?
Using any SEO plugins that might be interacting with CSS files?
Using a right-to-left language?
Overriding any constants? (WP_CONTENT_DIR, WP_PLUGIN_DIR, WP_THEME_DIR, etc…)
Anything else about your WordPress installations you can share?
The only related change I can find, is: https://bbpress.trac.wordpress.org/ticket/3012
If you’re able to edit that file in bbPress directly, and revert it back, and test, that would be super helpful to confirm or disconfirm if that does it.
ok try
#bbpress-forums li.bbp-forum-reply-count {
display: none !important;
}
@robin-w
I put it into the left sidebar (I have this in Finnish , so I dont know the right terms in English, sorry).
I have there a section “custom CSS” and I put it in the beginning.
…
.fl-page-header-fixed {
background-color:#000000!important;
}
#bbpress-forums li.bbp-forum-reply-count {
display: none;
}
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
}
/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
}
…