Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 1,226 through 1,250 (of 13,915 total)
  • @robin-w

    Moderator

    thanks, do keep us updated.

    as this is a commercial theme, I do not have access to it, but agree it would be good to have it fully working with bbpress

    @robin-w

    Moderator

    that’s an interesting view given that the Divi Theme authors think it is a divi theme issue (but have not done anything about it).

    2023 is an FSE theme which has a whole bunch of different issues I am working on.

    I presume you tried the fixes suggested by Dozza above ?

    @robin-w

    Moderator

    so moving bbpress forums between 2 websites is really very hard, and requires preparation on source site and extraction of meta data on target site.

    the wordpess export/import tools are not sufficient.

    the last time I did it I ended up with a 57 stage process, and I’ve still not found anyway to describe to someone not versed in bbpress how to do this.

    sorry beyond free help, but if you’d like me to help on a paid basis, contact me via

    Contact me

    @robin-w

    Moderator

    @webcreations907 – good spot – I hate reply threading with a vengeance, so don’t have it switched on.

    @robin-w

    Moderator

    🙂

    @robin-w

    Moderator

    I’m just a guy sat in his kitchen who was helped several years ago when I was setting bbpress up, so I try to help others – I’m not a bbpress author.

    Updates from the bbpress authors are few and far between, I think they are on other projects now, and maybe consider bbpress as a mature product. The philosophy was always to keep bbpress small, and let other plugins add stuff that was needed.

    I do ask them to update the ‘tested to’ but it rarely happens. I test bbpress with new versions.

    That is and will always be the issue with open source software – it relies on people doing stuff for free, and people’s focus changes and people move on. That is annoying, but the reality of life.

    If you have things that need core updates, you can raise them on trac

    https://bbpress.trac.wordpress.org/report

    That way at least stuff that is wrong or could be done better gets logged.

    @robin-w

    Moderator

    sorry, but something on your site is affecting this. If you carried out the problem finding suggested in the other post, then there is not a lot more I can suggest.

    @robin-w

    Moderator

    this plugin adds many features which you might feel are lacking

    bbp style pack

    @robin-w

    Moderator

    add this plugin

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Freshness Display

    and you can set what shows in this column

    @robin-w

    Moderator

    now we are definitely crossed wires, the ability of the language to say exactly what you don’t mean 🙂

    I was apologizing for MY post sounding rude, I was typing as you posted yours, so ‘that reads as being rude’ means my post saying I was just a guy in his kitchen etc. – when I re-read it , it didn’t read as intended, and should have appeared immediately below my first one !!

    Have a great day 🙂 🙂

    @robin-w

    Moderator

    sorry, that reads as being rude, it is not intended to be – written to try and be helpful whilst buried in code 🙂

    Please do report back, I’ll try and make a note here when I release it, but probably a week or so’s time .

    @robin-w

    Moderator

    it would, but I am just a man in his kitchen, I’m not a bbpress author.

    Style pack is much more than just styling (it may have been mostly that when you tried it), and you don’t need to use the styling bits to take advantage of the functionality.

    Anyway it’s free and what I write, so that’s where the blocks will be.

    If you just want to use blocks in the custom post types, then just add this filter

    add_filter ('bbp_register_forum_post_type', 'rew_gutenberg_editor') ;
    add_filter ('bbp_register_topic_post_type', 'rew_gutenberg_editor') ;
    add_filter ('bbp_register_reply_post_type', 'rew_gutenberg_editor') ;
    
    function rew_gutenberg_editor ($settings) {
    	$settings['show_in_rest'] = true ;
    	return $settings ;
    }

    If you want to impose blocks on your users in topics and replies, then use the ‘blocks everywhere’ plugin.

    If you want block widgets, that is what will be in style pack when I have finished writing it.

    If you want bbpress in FSE themes, that will also be in style pack in due course

    @robin-w

    Moderator

    I am currently working on adding the block widgets to my bbp-style-pack plugin

    bbp style pack

    and then getting FSE themes to work aa well.

    @robin-w

    Moderator

    instructions for them

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php

    transfer this to your pc and edit

    go to line 248 and change

    ? esc_html_e( 'You cannot create new topics.', 'bbpress' )

    to

    ? esc_html_e( '', 'bbpress' )

    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/form-topic.php

    bbPress will now use this template instead of the original

    @robin-w

    Moderator

    great – glad you are fixed, and thanks for posting then solution, this will help others 🙂

    @robin-w

    Moderator

    do you know how to ftp files, if so I’ll let you know what to do

    In reply to: No pages available

    @robin-w

    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    @robin-w

    Moderator

    dashboard>tools>repair forums and run one at a time until fixed

    @robin-w

    Moderator

    can you say how this relates to bbpress?

    In reply to: Close topic label

    @robin-w

    Moderator

    ok, so that approach will not work, I was hooking to a wordpress filter, but it is used in too many places.

    I’ll re-think

    @robin-w

    Moderator

    perhaps you could outline what you think is missing?

    In reply to: Close topic label

    @robin-w

    Moderator

    I’ll add this functionality to style pack in a few days, but in the meantime

    add_filter ('the_title' , 'rew_add_close_to_topics') ;
    
    function rew_add_close_to_topics ($title) {
    	if ( bbp_is_topic_closed()) {
    		$closed = '[Closed]' ;
    		$sep = ' ' ;
    		$position = 'after' ;
    		if (($position == 'before') && !str_contains($title, $closed)) $title = $closed.$sep.$title ;
    		if (($position =='after') && !str_contains($title, $closed)) $title = $title.$sep.$closed ;
    	}
    return $title ;	
    }

    and amend words/position etc. as you wish.

    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

    and change the background of the closed block to match your theme

    In reply to: No pages available

    @robin-w

    Moderator

    dashboard>settings>forums>topics and replies per page

    In reply to: Customizing lead topic

    @robin-w

    Moderator

    so is this with this function installed?

    add_filter ('bbp_get_topic_post_date' , 'rew_change_to_freshness', 10 , 6) ;
    add_filter ('bbp_get_reply_post_date' , 'rew_change_to_freshness', 10 , 6) ;
    
    function rew_change_to_freshness ($result, $topic_id, $humanize, $gmt, $date, $time) {
    	$result = bbp_get_time_since( bbp_convert_date( $time ) ) ;
    	
    return $result ;
    }
    In reply to: Close topic label

    @robin-w

    Moderator

    should be doable – let me think about this …….

Viewing 25 replies - 1,226 through 1,250 (of 13,915 total)