Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 13,546 total)

  • Robin W
    Moderator

    @robin-w

    for template layout see https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/ item 8

    for general styling use :

    bbp style pack


    Robin W
    Moderator

    @robin-w

    contact me via

    Contact me

    with a link to this thread


    Robin W
    Moderator

    @robin-w

    so by ‘replay’ do you mean topic, I thought you meant ‘reply’.

    A ‘reply’ does not have a title and works when posted in the front end
    A ‘topic’ cannot be posted in the front end without a title

    why are you creating replies in the backend?


    Robin W
    Moderator

    @robin-w

    ok, so I’d say it is a particular reply.

    so next I’d try using the filters at the top of the page to see what type it is

    eg mine, published, pending, drafts etc.


    Robin W
    Moderator

    @robin-w

    I have not seen this before, one potential is that a pending reply is causing the issue, although apart from posting lots of test replies to see if he problem moves to page 2, I’m not sure how you would prove that.

    In reply to: Date of next update?

    Robin W
    Moderator

    @robin-w

    🙂


    Robin W
    Moderator

    @robin-w

    My guess would be that a reply within the first page is causing an issue.

    I presume

    1. all replies are showing fine on the front end?
    2. that you have not previously had an issue with the first page

    In reply to: Date of next update?

    Robin W
    Moderator

    @robin-w

    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. In essence it is a WordPress product, written by the founder of Wordress, and taken into a plugin by sponsorship from WordPress. 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.4.x and php 8.2 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.

    I am guessing that you are being told by Wordfence, which is telling you based on the fact that the plugin has not been updated, rather than any actual security risk.

    But with open software you make your choices….


    Robin W
    Moderator

    @robin-w

    🙂 glad to have helped


    Robin W
    Moderator

    @robin-w

    🙂


    Robin W
    Moderator

    @robin-w

    now added to version 5.9.2

    bbp style pack

    see forums index and topics index tabs.


    Robin W
    Moderator

    @robin-w

    has it never worked, or has it stopped working?


    Robin W
    Moderator

    @robin-w

    what is set in

    dashboard>setting>forums>Topics and Replies Per Page

    for topics and replies


    Robin W
    Moderator

    @robin-w

    sorry, been a bit tied up – I’ll get back to this shortly


    Robin W
    Moderator

    @robin-w

    If you update to 5.9.1, then in

    Dashboard>settings>forums under the moderation section you can set up so that the link goes via a login if they are not logged in. If ultimate member allows login redirect, then this should work via a login page. If not you can either use wp-login (since these are moderators they should be fine seeing this) or set up a bbpress login page.


    Robin W
    Moderator

    @robin-w

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Moderation


    Robin W
    Moderator

    @robin-w

    you would need to add this to your additional/custom css

    /*topic titles*/
    .bbpress .forum-titles {
    	overflow: hidden;
    }
    .bbpress .forum-titles .bbp-topic-voice-count::before,
    .bbpress .forum-titles .bbp-topic-reply-count::before {
    	font: 400 16px/1 dashicons;
    	margin-right: 100px;
    	-moz-osx-font-smoothing: grayscale;
    	-webkit-font-smoothing: antialiased;
    }
    
    	.bbpress .forum-titles .bbp-topic-voice-count::before,
    	.bbpress .forum-titles .bbp-topic-reply-count::before {
    		font: 400 21px/1 dashicons;
    		margin-left: 20px;
    	}
    
    .bbp-topic-voice-count {
    	display: none;
    }
    
    .bbpress .forum-titles .bbp-topic-voice-count::before {
    	content: "\f307";
    }
    .bbpress .forum-titles .bbp-topic-reply-count::before {
    	content: "\f125";
    }
    
    .bbpress li.bbp-header li.bbp-forum-info,
    .bbpress li.bbp-header li.bbp-topic-title {
    	text-align: left !important;
    }

    and then amend loop-topics.php as foillows

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-topics.php

    transfer this to your pc and edit

    <li class="bbp-topic-voice-count"><?php esc_html_e( 'Voices', 'bbpress' ); ?></li>
    			<li class="bbp-topic-reply-count"><?php bbp_show_lead_topic()
    				? esc_html_e( 'Replies', 'bbpress' )
    				: esc_html_e( 'Posts',   'bbpress' );
    			?></li>

    to

    <li class="bbp-topic-voice-count"></li>
    <li class="bbp-topic-reply-count"></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/loop-topics.php.php

    bbPress will now use this template instead of the original


    Robin W
    Moderator

    @robin-w


    Robin W
    Moderator

    @robin-w

    great, I’ve just released 5.9.0 as well which has a further line to make sure it works (I hope!)


    Robin W
    Moderator

    @robin-w

    ok, so do you still have he same problem?


    Robin W
    Moderator

    @robin-w

    can you confirm that you are using style pack, in which case I’ll just issue a newer version and you can forget the snippet


    Robin W
    Moderator

    @robin-w

    add_filter ('bbp_get_statistics', 'rew_count_forums' , 10 , 3) ;
    function bsp_count_forums ($statistics, $r, $args ) {
    	//fix counts for forums to show private forums if user can read them and not error if site is only private forums
    	// forums
    	if ( ! empty( $r['count_forums'] ) ) {
    		$private = bbp_get_private_status_id();
    		$all_forums  = wp_count_posts( bbp_get_forum_post_type() );
    
    		// Published (publish)
    		$forums['publish'] = $all_forums->publish ;
    		$forums['private'] = 0 ;
    		if ( current_user_can( 'read_private_forums' ) ) {
    
    			// Private
    			$forums['private'] = $all_forums->{$private} ;
    			
    		}
    		//now add the two 
    		$statistics['forum_count'] = $forums['publish'] + $forums['private'] ;
    		$statistics['forum_count_int'] = $statistics['forum_count'] ;
    		}
    // Filter & return
    return (array) apply_filters( 'bsp_count_forums', $statistics, $r, $args );
    
    }

    Robin W
    Moderator

    @robin-w

    yes you can delete that


    Robin W
    Moderator

    @robin-w

    it is based on a WordPress permission, not bbpress.

    Users with HTML Permission will be able to use javascript to do some really horrible things to your site, so as this post says

    ‘This unfiltered_html permission could be very dangerous in the wrong hands, so please don’t give this permission to any users you do not trust. WordPress has disabled this permission for most users because they rarely need it.’

    unfiltered_html

    But also shows you how to amend if you want to.


    Robin W
    Moderator

    @robin-w

    I’ve moved this to a fresh topic for clarity

    can you confirm this is moving bbpress forums/topics/replies from one site to another using the export import within wordpress?

Viewing 25 replies - 26 through 50 (of 13,546 total)