Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 4,151 through 4,175 (of 14,282 total)
  • 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 ?

    In reply to: move moderation

    @robin-w

    Moderator

    you will be looking for

    `<?php do_action( ‘bbp_theme_before_reply_admin_links’ ); ?>

    <?php bbp_reply_admin_links(); ?>

    <?php do_action( ‘bbp_theme_after_reply_admin_links’ ); ?>`
    in

    \bbpress 2.6.6\templates\default\bbpress\loop-single-reply.php

    or in the bbpress templates section of your theme

    and look to move that under

    <?php do_action( ‘bbp_theme_after_reply_content’ ); ?>

    Don’t forget to out any changed files into a child theme to prevent them being overwritten

    @robin-w

    Moderator

    solution is

    .single-forum .post-navigation .nav-links {
                   display: none !important;
    }
    
    .single-topic .post-navigation .nav-links {
    	display: none;
    }
    

    @robin-w

    Moderator

    ok, if you have no keymaster, then install

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>bug fixes

    and you will be able to set a keymaster, who can then see forums

    you can deactivate and delete the style pack plugin afterwards, or make use of its features

    @robin-w

    Moderator

    there are filters for topics and replies

    bbpress 2.6.6\includes\topics\functions.php lines 389 and 705

    $redirect_url = apply_filters( 'bbp_new_topic_redirect_to', $redirect_url, $redirect_to, $topic_id );
    $topic_url = apply_filters( 'bbp_edit_topic_redirect_to', $topic_url, $view_all, $redirect_to );

    bbpress 2.6.6\includes\replies\functions.php lines 473 and 768

    $reply_url = apply_filters( 'bbp_new_reply_redirect_to', $reply_url, $redirect_to, $reply_id );
    $reply_url = apply_filters( 'bbp_edit_reply_redirect_to', $reply_url, $redirect_to );

    which Weglot can apply query args to

    In reply to: BBPress set-up problem

    @robin-w

    Moderator

    how are you installing bbpress ?

    normally I would expect you to go into

    dashboard>plugins>add new and select bbpress, install and activate

    bbpress does not have ‘welcome to the bbpress installer’

    @robin-w

    Moderator

    ok, hard to help without a link – a bit like trying to fix a car by email 🙂

    try

    #bbpress .post-navigation {
    display : none !important ;
    }

    add this to your theme’s custom css

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