Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 8,526 through 8,550 (of 14,267 total)
  • @robin-w

    Moderator

    just loaded that plugin to my test site, and with auto-embed on it works fine.

    This

    <p>https://photos.app.goo.gl/pOeSirvJb5oC7kFC2</p>

    displays the embed just fine.

    So all we now need to do is work out the difference between my test site and your staging site !!

    When you’ve come back on the Q’s above, I’ll do some more digging.

    @robin-w

    Moderator

    Matt,

    Great to have a detailed problem definition and steps so far – really useful.

    Couple op quick questions

    1. Is this happening to just new posts or have old posts stopped showing links?
    2. if just new posts, can you try with both front end (user view) and back end (dashboard>topics>create new topic)
    3. Can you just confirm that it is both topics and replies.
    4. If old posts are still working, can you just try going into one (edit front end) and just click save – I want to see if this is something being added on save.

    Then we’ll see where to go from there

    In reply to: Custom Topic Sorting

    @robin-w

    Moderator

    untested by this should work

    //change topic order
    add_filter('bbp_before_has_topics_parse_args', 'rew_topic_order_by_meta');
    
    function rew_topic_order_by_meta ($args) {
    	$args['meta_key'] = 'put_meta_key_here' ;
    	$args['orderby']    = 'meta_value' ;
    	$args['order']     = 'DESC' ;  //or ASC if needed
    	return $args ;
    }

    just put your meta_key where it says

    @robin-w

    Moderator

    @robin-w

    Moderator

    see my response above 🙂

    In reply to: Post Preview

    @robin-w

    Moderator

    looks like either the version I see is different, or someone has ‘improved’ yours.

    Contact me via my website

    http://www.rewweb.co.uk and I’ll see if I can help you further

    Regards

    Robin

    In reply to: Post Preview

    @robin-w

    Moderator

    ok, I’ve just had a play, and for me in firefox, chrome, edge, and IE, as you type a preview box appears below the content. There is no ‘preview’ button to hit.

    Is it different for you ?

    @robin-w

    Moderator

    got other question is ther some plugin to migrate mybb to bbpress that works ?

    as far as I know the convertor in bbpress works

    dashboard>tools>forums>import forums

    @robin-w

    Moderator

    you have total height constrained by

    #bbpress-forums li.bbp-body ul.forum {
    	border-top: 0;
    	height: 90px;
    }

    so

    #bbpress-forums li.bbp-body ul.forum {
    	height: auto !important;
    }

    @robin-w

    Moderator

    Line 4255 of your theme Pixiehuge has

    #bbpress-forums li.bbp-body ul.forum li {
    	height: 100%;
    	display: flex;
    	display: -webkit-flex;
    	flex-direction: column;
    	-webkit-flex-direction: column;
    	justify-content: center;
    	-webkit-justify-content: center;
    }

    The height : 100% is the issue

    You need to put

    #bbpress-forums li.bbp-body ul.forum li {
    	height: auto;
    }

    or

    #bbpress-forums li.bbp-body ul.forum li {
    	height: auto !important;
    }

    (Try without the !important first)

    into your theme’s custom css, or the custom css part of my bbp style pack plugin

    @robin-w

    Moderator

    theme related

    You’ll need to supply a link to an example on the site

    @robin-w

    Moderator

    great – glad you’re fixed !!

    @robin-w

    Moderator

    try something web-based – maybe

    https://po2mo.net/

    @robin-w

    Moderator

    @alexwilmac no idea what you are trying to do, but you will need to use a proper tool to manipulate and change .mo files.

    If you at just after a coupe of changes easier to use ‘gettext’ in a child theme functions file.

    Perhaps come back with some further details

    @robin-w

    Moderator

    great – glad you are fixed !!

    @robin-w

    Moderator

    you can simply filter this in your theme’s function file.

    not tested but

    add_filter( 'bbp_number_format', 'rew_number_format', 10 , 5) ;
    
    function rew_number_format ($number_format, $number, $decimals, $dec_point, $thousands_sep) {
    	$thousands_sep = '' ;
    return apply_filters( 'rew_number_format', number_format( $number, $decimals, $dec_point, $thousands_sep ), $number, $decimals, $dec_point, $thousands_sep );
    }

    @robin-w

    Moderator

    @robin-w

    Moderator

    I’ve fixed that in the style pack plugin with version 3.7.2

    for anyone using the function above it should read

    function rew_forum_order_by_freshness ($args) {
    	$args['meta_key'] = '_bbp_last_active_time' ;
    	$args['orderby']    = 'meta_value' ;
    	$args['order']     = 'DESC' ;
    	return $args ;
    }
    
    add_filter('bbp_before_has_forums_parse_args', 'rew_forum_order_by_freshness');

    which just changes the order, rather than the previous function which overwrites all the parameters submitted by subscriptions

    @robin-w

    Moderator

    it’s caused by

    #bbpress-forums .reply {
      margin-left: 0 !important;
      width: auto !important;
    }

    which says it is inline code.

    The width: auto !important needs to be width :100% !important.

    Auto makes it only as wide as it needs to be, so for short sentences it truncates.

    But I’m also getting an error saying that your “sydney-child-theme/style.css could not be loaded”

    In reply to: Post Preview

    @robin-w

    Moderator

    ok, I’ve just loaded it to my site, but see nothing different – is there any set-up or what should I see differently on a topic/reply form?

    @robin-w

    Moderator

    ok, let me take a look – but may not be until after xmas !

    @robin-w

    Moderator

    great – glad you are fixed !

    @robin-w

    Moderator

    hmm… not sure I’m going to be able to help – without a theme to see it is hard to know what is causing it – the theme has turned off that feature

    @robin-w

    Moderator

    ok, what theme are you using?

    @robin-w

    Moderator

    ok, something is preventing this.

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

Viewing 25 replies - 8,526 through 8,550 (of 14,267 total)