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.
Thanks again @robin-w. Yes, I saw that one. That does work as long as the text that’s being replaced is ‘Howdy’. but that’s language dependent. Down here, if your site is configured for Australia, it’s ‘G’day’ and in other countries I imagine it’s something different again (and that code works as long as you specify the exact string that you need to replace).
I was actually wanting to get rid of that text altogether, in a language-independent way, so I was hoping that it had a ‘name’, like ‘wp-user-greeting’ or something that you could just do a $wp_adminbar->remove_node on, but it sounds like this is not the case. Is the format of the username/avitar on the admin-bar on this site, where there’s no ‘prefix’ at all, really hard coded (rather than managed through something like a function)?
I am making progress with the code (to identify a user as anonymous before they log in) from your previous response, so thanks again for that, but I’m modifying files that are bound to be replaced with the next WordPress/bbPress update. There must surely be some ‘version independent’ way of doing this…
I know i could put these changes inside the style.css simple custom css will do the job and load another css file on top for these changes which could be applicable for my use case.
But I wanna have the files all in the child-theme in case someone else wants to make design adjustments that their visible and accessible on first sight.
Access to a FTP-Server is given and for adjustments on-top of WordPress and their is a Theme-Editor already embedded into WordPress so that seems to be a bit counter-intuitive. As it might confuse admins & content-editors later on to where they input their changes.
CSS is simple to learn and as this is gonna be pure CSS not LESS/SASS i figure it’s best if I had it in a seperate file to view for people.
Haven’t tested but googled and found this
add_filter( 'admin_bar_menu', 'replace_wordpress_howdy', 25 );
function replace_wordpress_howdy( $wp_admin_bar ) {
$my_account = $wp_admin_bar->get_node('my-account');
$newtext = str_replace( 'Howdy,', 'Welcome,', $my_account->title );
$wp_admin_bar->add_node( array(
'id' => 'my-account',
'title' => $newtext,
) );
}
Put this in your child theme’s function file – or use
Code Snippets
if that second part is all you are after, then add it to the custom css bit of your theme, or use
Simple Custom CSS
the bbpress theme that this site uses is here
https://meta.trac.wordpress.org/browser/sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base
the following file holds the code
https://meta.trac.wordpress.org/browser/sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/header-subnav.php
but you will also need to pull through some css from the theme, and JavaScript to do the drop downs
then tie all this back to the right place in your theme.
It’s quite doable, but well beyond free help
I have what I hope is a simple question. I would like to create a tool bar (wp_admin_bar) that is effectively just like the one on this website: it sits under the website header and includes, in particular, the Anonymous ‘profile’ on the right-hand side before a user is logged in.
I can create an Admin Bar that shows a profile when a user has logged in, but I cannot work out how to include the Anonymous ‘profile’, with its drop-down ‘Register/Lost Password/Log In’ menu.
If there are explicit instructions somewhere on how to achieve this apparently common arrangement, just point me there. If that includes how to add the ‘Create New Topic’ option when a user is logged in, that’d be even better.
I am working with WordPress 5.4.1 and bbPress 2.6.4.