Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 926 through 950 (of 13,914 total)
  • @robin-w

    Moderator

    so in

    dashboard>settings>bbp private groups>Group name settings – set up groups called ‘members’ and ‘author’

    then in

    dashboard>forums>edit forum – set each forum to be assigned to whichever group you want it to be visible to, and set the forum to be public (private groups will then hide it)

    then in

    dashboard>settings>bbp private groups>assign groups to roles – set authors to see the author group and members to see the member group

    @robin-w

    Moderator

    ah, ok add this plugin which should fix it

    Hello theme Elementor bbPress template fix

    @robin-w

    Moderator

    My private groups plugin lets you

    create groups
    assign forums to those groups
    assign roles to the groups

    thus giving you what you want.

    Private groups

    @robin-w

    Moderator

    what theme are you using?

    In reply to: advanced editor?

    @robin-w

    Moderator

    glad to have helped 🙂

    @robin-w

    Moderator

    if it doesn’t work, come back !!

    @robin-w

    Moderator

    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.php

    transfer this to your pc and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %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.php

    bbPress will now use this template instead of the original

    In reply to: Is bbpress dead?

    @robin-w

    Moderator

    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

    bbp style pack

    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?

    @robin-w

    Moderator

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Topic/Reply Form

    to enable editors

    @robin-w

    Moderator

    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?

    @robin-w

    Moderator

    I 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?

    @robin-w

    Moderator

    no problem, glad you have found a solution

    @robin-w

    Moderator

    glad to have helped 🙂

    @robin-w

    Moderator

    so what wordpress theme are you using?

    @robin-w

    Moderator

    Great !!

    @robin-w

    Moderator
    add_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

    Code Snippets

    @robin-w

    Moderator

    great – glad to have helped 🙂

    @robin-w

    Moderator

    If you know enough to FTP a file, then

    find
    wp-content/plugins/bbpress/templates/default/bbpress/user-details.php

    transfer 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%/bbpress

    where %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.php

    bbPress will now use this template instead of the original

    @robin-w

    Moderator

    The 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 ;
    }

    @robin-w

    Moderator

    The 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 ;
    }

    @robin-w

    Moderator

    ok, 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 replies

    @robin-w

    Moderator

    so you want to auto-close a topic after it has been posted – yes?

    @robin-w

    Moderator

    so what is the code that does this?

    @robin-w

    Moderator

    No 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.

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Topic/Reply Form

    and look at item 9.

    @robin-w

    Moderator

    ok, 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.

Viewing 25 replies - 926 through 950 (of 13,914 total)