and how i can add a link to it in the home of wordpress?
sorry im totally noob in wordpress
im running xammp and installed wordpress as a module.
i installed the bbpress
but isnt in /wordpress/bbpress or /bbpress
where it is?
Apart from the root forum which shows all the sub forums and nothing else, all my sub forums have a reply / new topic form tacked on at the bottom. I would like to remove this and replace it with two buttons: “New” and “Reply” which lead to a separate form/page with all the removed functionality. If I inspect the page code as it is, it is everything in this element tag:
<div id=”new-topic-0″ class=”bbp-topic-form”>
Is this possible? Thanks.
WordPress 5.4.1
BBPress Version 2.6.4 & default theme.
I think this is what you are after
bbp_show_lead_topic
Put this in your child theme’s function file – or use
Code Snippets
thanks – I’m just a user who helps out here, not a bbpress author.
so
1. can you confirm that the above plugin is not necessary – bbpress already does this ?
2.
can you try this code
add_filter( 'wpseo_metadesc', 'rew_meta_desc' );
function rew_meta_desc( $content ) {
global $post;
if ($post->post_type == 'reply' ) {
$order = $post->menu_order ;
$post_parent = $post->post_parent ;
$title = get_the_title ($post_parent) ;
$content = $title.' '.$order ;
}
return $content;
}
Put this in your child theme’s function file – or use
Code Snippets
OK thanks for looking at this anyway. I’m now thinking it may relate to the MySQL 8 settings, specifically SQL_MODE which included ‘STRICT_TRANS_TABLES’ (strict SQL mode > no zero dates).
I’ve tried removing this setting from SQL_MODE (for both session & global), but this doesn’t seem to resolve – when logging in to MySQL as the WordPress user I still get this error
Error Code: 1525. Incorrect DATETIME value: ‘0’
when running the 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;
If I make any more progress I’ll post it here 🙂
I don’t know if this fixes?
BBpress Addon For Yoast SEO
if it does come back and tell us
bbpress is just a custom post type, so in the database entry 2448 just happens to be a topic, 2447 could be a WordPress post, a wordpress page, a revision or another custom post type.
They’re all just database numbers
you could enable the visual editor
either
Enable Visual Editor
or
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Topic/Reply Form
one possibility (that is a workaround) would be to display as the actual date/time rather than ‘ago’
for instance my style pack plugin has the ability to change that.
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Freshness Display
All,
I’m new to wordpress/bbpress, I’ve set my forum page to full-width… topics (list) are being shown as full-width. When I go into a specific topic, it’s not full-width. I have to manually change the topic attribute to full-width for each topic. It seems like when a topic is created, topic attribute is being defaulted to (default template) which is not full-width. Is there a way when a topic gets created, full-width template is used as default.
Any help would be greatly appreciated.
Good to hear that wordpress + discourse works fine. In my case, I am quite happy with bbpress, especially version 2.6 is pretty fast.
I gave it a try 3 years ago. It was working, but a bit incomplete from what I remember.
I didn’t keep it and moreover, I ditched bbPress, I think it is a horrendous forum system, slow and clunky.
I now use Discourse which I have connected to my WordPress with the plugin Wp-Discourse. It has been 3 years and I couldn’t be happier.
Sorry for being a bit off-topic though.
Our setup is the following
Buddypress Version 6.0.0
bbPress Version 2.6.4
Wordpress Version 5.4.1
ok, understand
if you just want that then
add_filter( 'gettext', 'rew_bbpress_translate', 20 , 3 );
function rew_bbpress_translate( $translated, $text, $domain ) {
if ($domain == 'bbpress') {
$words = array(
'Reply To:' => 'Svar till:',
);
$translated = str_replace( array_keys($words), $words, $translated );
}
return $translated;
}
Put this in your child theme’s function file – or use
Code Snippets
not sure anyone is in charge of WordPress, but if you asked about making bbpress wider then they would say ask bbpress 🙂
anyway as I say, it is your theme, not WordPress or bbpress, that is doing this.
The people in charge of wordpress said to contact you.
Thank you again!
I also hope to add specified sentence after user personalized replies.
add_action( 'bbp_theme_after_reply_content', 'new_reply_additional_fields', 10 );
function new_reply_additional_fields() {
$new_reply_additional_fields = 'Above is my personal opinion';
echo "<p id='new_reply_additional_fields'><font color=red font size='4pt'>$new_reply_additional_fields</p>";
Using above code directly also induce wordpress website error. To permanently show above sentence after every reply, I suppose it should be saved into metabox. Could you please help manage how to integrated into above code to solve this problem?
ok, they’ve done it by a function by the look of it.
so try this
add_action ('bbp_theme_before_topic_started_by' , 'rew_reply_author' , 10 ) ;
function rew_reply_author () {
$reply_id = bbp_get_topic_last_reply_id () ;
echo '<span class="bbp-reply-author">'.bbp_get_reply_author_link( array( 'post_id' => $reply_id, 'type' => 'both', 'size' => 14 ) ) ;
}
Put this in your child theme’s function file – or use
Code Snippets
then come back and let me know where this appears, we might need to adjust
quickest way is
add_filter( 'gettext', 'rew_bbpress_translate', 20 , 3 );
function rew_bbpress_translate( $translated, $text, $domain ) {
if ($domain == 'bbpress') {
$words = array(
'Website' => 'WhatsApp no'
);
$translated = str_replace( array_keys($words), $words, $translated );
}
return $translated;
}
Put this in your child theme’s function file – or use
Code Snippets
Hi, I am using bbPress Version 2.6.4 in my WordPress site. I want to change the user input field ‘website’ to ‘WhatsApp no’. How to do this? I am not that much familiar in php coding. please help.
Hello all,
A new problem has arisen, probably as a result of plugin upgrades as there have been a lot recently.
I am using:
BBpress 2.6.4
Advanced noCaptcha & invisible Captcha 5.7.1
bbP private groups 3.8.3
bbp style pack 4.5.3
bbPress Login Register Links On Forum Topic Pages 3.0.1
bbPress Messages 2.0.9.1
LoginPress – Customizing the WordPress Login 1.4.4
WP User Avatar 2.2.6
plus a lot of others not pertinent to the forum (I hope)
Forum is at https://signalbox.org/the-blower/ but I suspect these issues are only visible to registered users.
Underneath the poster’s avatar is a link to the user’s profile. I limited this (for privacy) through bbp style pack to only show the user’s own profile and not that of others. This did work, but now it gives Error 404. I tried setting it to not show any profiles but the link remains active and still goes to Error 404. It is trying to link to https://signalbox.org/the-blower/users/username/
Same occurs if you click on Send Message
Other possibly related issue:
I seem to be getting notifications for postings I have posted in but haven’t subscribed to, I don’t think that happened before. As yet I have had no complaints so am not sure if ordinary users are similarly affected.
All of the above was definitely working at one time. I can’t figure out what has broken it. I can’t find any other mention of these issues in this forum so assume this is peculiar to my site – maybe conflicts between plugins?
Best regards,
John
OK, thanks. I’m new to this game, so I hadn’t appreciated where the line between WordPress and bbPress might have been drawn. I was trying here largely becasue this website was set up the way I wanted.
Thanks again for your help though.
that only matters if you are doing it for say a theme. there probably is another way, but that is WordPress not bbpress, so if you want to pursue, try the main WordPress forums.