Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 4,151 through 4,175 (of 14,288 total)
  • @robin-w

    Moderator

    ok, thanks, let me take a look

    In reply to: List Of Shortcodes

    @robin-w

    Moderator

    there is no [bbp-forum-profile] which is why I wrote the bsp profile – what is your concern in using that one ?

    In reply to: List Of Shortcodes

    @robin-w

    Moderator

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>shortcodes

    @robin-w

    Moderator

    @ricsca2 I’ve just released version 1.8.5 which should fix duplicate topics being created

    @robin-w

    Moderator

    hmmm…can only suggest that you try the basic fault finding….

    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

    In reply to: Reply order?

    @robin-w

    Moderator

    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

    function change_reply_order() {
    $args['order'] = 'DESC';
     return $args;
    }
    add_filter('bbp_before_has_replies_parse_args', 'change_reply_order');
    In reply to: hide forum root

    @robin-w

    Moderator

    🙂

    @robin-w

    Moderator

    @ricsca2 – I’m pretty sure it just uses the wordpress default excerpt length, which you can amend – see this for 3 methods

    How to Change The Default Excerpt Length In WordPress

    if this works, please post back so we know 🙂

    In reply to: Delete Google +

    @robin-w

    Moderator

    no not bbpress, you’ll need to find what is adding it

    @robin-w

    Moderator

    from that post, it appears that the links were working, but have stopped working ?

    In reply to: Delete Google +

    @robin-w

    Moderator

    which field do you mean? – bbpress doesn’t store anything google+ related, in fact bbpress doesn’t store any social media fields at all – WordPress does, and it might also be your theme or another plugin adding these

    @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

    put this in your custom css to remove the background

    .bbp-author-link {
    	background: none !important;
    }

    @robin-w

    Moderator

    dashboard>settings>bbp style pack>not working?

    In reply to: move moderation

    @robin-w

    Moderator

    🙂

    @robin-w

    Moderator

    @mc9625 what have you got set in

    dashboard>settings>discussion>bbPress Topics for Posts Defaults>Create a new bbPress topic in… ?

    @robin-w

    Moderator

    I’ll probably break it again when I fix ricsca2’s problem !! 🙂

    Glad you are fixed !

    @robin-w

    Moderator

    @newest the issue relates to how gutenberg does an update – it uses AJAX rather than refresh the post, so the initial settings are not seen, and the post considers the update as a new publish.

    I’ll need to work on some code to fix

    @robin-w

    Moderator

    @newest- ok, thanks for that.

    It works the other way around, you add a topic to a post, not a post to a topic.

    so when you publish or edit a wordpress post, you can attach a topic to it.

    I didn’t write the original plugin, and Gutenberg made it not work, so I have been given editing rights to try and fix it.

    so start by going to

    dashboard>settings>discussion and you will see topics for posts about half way down – here you can set up the default actions.

    Then as a test create a post.

    on the right hand side you should see Post and Block options, make sure you have clicked Post

    You should then see near the bottom either in the main but or in the sidebar a ‘Topics for Posts’ box, which will show the defaults.

    If you don’t see this (as Gutenberg unhelpfully tries to hide anything useful to the user) click the 3 vertical dots on the right hand side right of publish and the settings cog, at the bottom you will find ‘preferences’ and in that you will find the option to show the topics for posts under additional panels section at the bottom

    Sorry this is all horrible – it’s not me making it so I promise you 🙂

    @robin-w

    Moderator

    @newest not sure if you are describing your issue with topics for posts or your issue with posting images – I’d love to help, but I have limited time to read posts.

    Topics for posts works on when you publish a topic, so can you start there.

    @robin-w

    Moderator

    forums can be done using

    Private groups

    and forum visibility tab

    @robin-w

    Moderator

    great, and yes please post the completed functioning code once you have got it working !!

    @robin-w

    Moderator

    hmmm…not sure about the ‘leak in’ bit, how are lines being displayed if $prev etc. is blank?

    you could add a check

    so set

    $forum_id = bbp_get_forum_id() ;

    above the while statement and then check at the appropriate point

    if (wp_get_post_parent_id($prev_id)  != $forum_id) {
    etc.
    }

    @robin-w

    Moderator

    just had a quick look

    this should get you close, totally untested !!

    <?php $args = array( 'post_type' => 'topic', 'post_parent' => bbp_get_forum_id() ); 
    $loop = new WP_Query( $args );
    //get the current topic id or maybe depending in where you are putting this - bbp_get_reply_topic_id or bbp_get_reply_id()
    $topic_id = bbp_get_topic_id() ;
    while ( $loop->have_posts() ) : $loop->the_post(); 
    	$cur_id = get_the_ID();
    	if ($cur == $topic_id)  {
    		$prev = get_previous_post() ;
    		$prev_id = $prev->ID ;
    		$next = get_next_post();
    		$next_id = $next->ID ;
    	break ;
    	}
    endwhile;
    //so you now have $cur_id, $prev_id and $next_id
    //so create 3 lines
    if (!empty ($prev_id)) {
    	$permalink = get_permalink($prev_id) ;
    	$title = get_the_title ($prev_id) ;
    	echo '<a href="'.$permalink.'">'.$title.'</a>' ;
    }
    if (!empty ($cur_id)) {
    	$permalink = get_permalink($cur_id) ;
    	$title = get_the_title ($cur_id) ;
    	echo '<a href="'.$permalink.'">'.$title.'</a>' ;
    }
    if (!empty ($next_id)) {
    	$permalink = get_permalink($next_id) ;
    	$title = get_the_title ($next_id) ;
    	echo '<a href="'.$permalink.'">'.$title.'</a>' ;
    }
    ?>

    @robin-w

    Moderator

    @athep – have you solved this ?

Viewing 25 replies - 4,151 through 4,175 (of 14,288 total)