Forum Replies Created
-
In reply to: Search Results not links???
if it doesn’t work, come back !!
In reply to: Search Results not links???This is possibly because in the bbPress default theme package, there is a template called content-search.php. In some newer themes there is also a template of the same name. And since the bbPress templates don’t necessarily need to be in a bbPress folder, the bbPress plugin is choosing the template from your theme before the template that is actually in bbPress.
so if you have access to FTP, find
wp-content/plugins/bbpress/templates/default/bbpress/content-search.phptransfer this to your pc and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/content-search.phpbbPress will now use this template instead of the original
In reply to: Is bbpress dead?I am just a moderator here, and not a bbpress author.
The authors tend to release updates every few years, rather than more frequently.
My personal view is that you should consider bbpress to be a ‘mature’ product, ie any releases will be to fix issues rather than add functionality.
bbpress is written really well, and has loads of hooks. There are no show stopper bugs in it, it may throw a few deprecation notices (and these are very few at the moment), but WordPress recommends that you should not show error messages in live sites.
I currently have my test site running WordPress 6.3 and php 8.1 with no issues.
The only major issue with bbpress at the moment is that it does not work well with FSE themes.
However my bbp style pack plugin has fixes for this
as well as block versions of the widgets and a ton of styling and functionality add-ons.
All plugins are subject to the authors commitment, and bbpress is no different.
The main WordPress support forums use bbpress, and it would be mega work to move those over to some other product.
But with open software you make your choices….
In reply to: advanced editor?once activated go to
dashboard>settings>bbp style pack>Topic/Reply Form
to enable editors
In reply to: Search Results not links???so if you click the ‘support’ tab on this page, and enter a search, you will see that you can link from the topic – does your site do something different?
In reply to: Trouble leaving buddybossI am on this staging site: https://wordpress-631920-3100285.cloudwaysapps.com/forums/ trying to get it to show more than 8 forums on the page.
Apologies for the delay, I have been on holiday.
Looking at that link, it seems you have fixed your 8 to a page issue – yes?
In reply to: Are there Themes I can buy for bbpress?no problem, glad you have found a solution
In reply to: Title characters increased by more than 80glad to have helped 🙂
In reply to: Are there Themes I can buy for bbpress?so what wordpress theme are you using?
In reply to: Local Sticky not working (only Super Sticky)Great !!
In reply to: Title characters increased by more than 80add_filter ('bbp_get_title_max_length' , 'rew_change_length') ; function rew_change_length () { $length = 160 ; return $length ; }
so change length to whatever number you want.
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
In reply to: Disable “edit” link and function on user´s pagegreat – glad to have helped 🙂
In reply to: Disable “edit” link and function on user´s pageIf you know enough to FTP a file, then
find
wp-content/plugins/bbpress/templates/default/bbpress/user-details.phptransfer this to your pc and edit
remove lines 72-76 ie these :
<li class="<?php if ( bbp_is_single_user_edit() ) :?>current<?php endif; ?>"> <span class="bbp-user-edit-link"> <a href="<?php bbp_user_profile_edit_url(); ?>" title="<?php printf( esc_attr__( "Edit %s's Profile", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php esc_html_e( 'Edit', 'bbpress' ); ?></a> </span> </li>
and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %your-theme-name% is the name of your theme
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/user-details.phpbbPress will now use this template instead of the original
In reply to: Replace topic subscription textThe way subscriptions works has changed
use this code now :
add_filter ('bbp_before_get_user_subscribe_link_parse_args' , 'change_subscribe') ; function change_subscribe ($args) { $post_id = $args['object_id'] ; if (bbp_is_topic( $post_id )) $text = 'topic' ; if (bbp_is_forum( $post_id )) $text = 'forum' ; $args['subscribe'] = 'Subscribe to this '.$text ; $args['unsubscribe'] = 'Unsubscribe' ; return $args ; }
In reply to: Change subscription textThe way subscriptions works has changed
use this code now :
add_filter ('bbp_before_get_user_subscribe_link_parse_args' , 'change_subscribe') ; function change_subscribe ($args) { $post_id = $args['object_id'] ; if (bbp_is_topic( $post_id )) $text = 'topic' ; if (bbp_is_forum( $post_id )) $text = 'forum' ; $args['subscribe'] = 'Subscribe to this '.$text ; $args['unsubscribe'] = 'Unsubscribe' ; return $args ; }
In reply to: User is unable to create topics from frontendok, try making a user an editor in wordpress and see if they can create a post. That might help define if it is bbpress or wordpress/site issue
In reply to: Prevent topic repliesso you want to auto-close a topic after it has been posted – yes?
In reply to: User configurable forum filter?so what is the code that does this?
In reply to: Modify Topic Reply sectionNo that’s fine, I now understand.
Nothing I know of that does this – sorry !
you can have a visual editor that looks better than the default.
once activated go to
dashboard>settings>bbp style pack>Topic/Reply Form
and look at item 9.
In reply to: Modify Topic Reply sectionok, that is just a picture, it is not clear what you want changed.
If it is the buttons, then sorry I know of nothing that does this at the moment.
In reply to: bbp style pack: massive ram ussage with unread iconI just rescued the ‘unread’ part of someone else’s plugin into style pack when it became too old in the main plugins. I only looked at the code in enough detail to get it working in style pack.
If pencil unread does what you want, then use it.
Also, the plugin bbpress pencil unread had a very useful option that marked all post shared before the date of register as read. Which makes sense by the way.
And, why there isn’t an option where we can choose where to have the unread icon?
Like many plugin authors, I’m just a guy who writes free code for the challenge and enjoyment. It would take a day of my life to code those changes, so whilst I agree that they might be useful, I have to find enough fun to do this. At the moment it’s not a change I am planning, sorry 🙁
In reply to: Custom Loginok, bbpress just uses wordpress login. It’s quite doable but beyond free help
In reply to: Moderator can only open topicgreat – glad you are fixed
In reply to: BBPress login redirectionit would be good to say how you solved it, it would help others searching
In reply to: Moderator can only open topicthe keymaster function was wrong, revised code is above.