Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 5,976 through 6,000 (of 14,333 total)
  • @robin-w

    Moderator

    @robin-w

    Moderator

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

    FTP transfer this to your pc and edit

    find starting from line 254

    <?php if ( ! is_user_logged_in() ) : ?>
    
    			<?php bbp_get_template_part( 'form', 'user-login' ); ?>
    
    		<?php endif; ?>

    and delete these lines

    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

    it come from

    bbpress\templates\default\bbpress\form-topic.php

    are you fine with FTP and changing files – if so I’ll give you intructions

    @robin-w

    Moderator

    link to an example on your site please

    @robin-w

    Moderator

    Took a while to work out where the chnages were needed πŸ™‚

    I’ve raised a ticket – and I’ll add it to style pack bugs shortly – thanks for testing that it worked for you also !!

    @robin-w

    Moderator

    can you try this in your child theme function file or snippets

    function rew_get_topic_split_link( $retval, $r, $args ) {
    
    		// Parse arguments against default values
    		$r = bbp_parse_args( $args, array(
    			'id'          => 0,
    			'link_before' => '',
    			'link_after'  => '',
    			'split_text'  => esc_html__( 'Split',                           'bbpress' ),
    			'split_title' => esc_attr__( 'Split the topic from this reply', 'bbpress' )
    		), 'get_topic_split_link' );
    
    		// Get IDs
    		$reply_id = bbp_get_reply_id( $r['id'] );
    		$topic_id = bbp_get_reply_topic_id( $reply_id );
    
    		// Bail if no reply/topic ID, or user cannot moderate
    		if ( empty( $reply_id ) || empty( $topic_id ) || ! current_user_can( 'moderate', $topic_id ) ) {
    			return;
    		}
    
    		$uri = add_query_arg( array(
    			'action'   => 'bbp-split-topic',
    			'reply_id' => $reply_id
    		), bbp_get_topic_edit_url( $topic_id ) );
    
    		$retval = $r['link_before'] . '<a href="' . esc_url( $uri ) . '" title="' . $r['split_title'] . '" class="bbp-topic-split-link">' . $r['split_text'] . '</a>' . $r['link_after'];
    
    		// Filter & return
    		return apply_filters( 'rew_get_topic_split_link', $retval, $r, $args );
    	}
    
    add_filter ('bbp_get_topic_split_link', 'rew_get_topic_split_link' , 10 , 3) ;
    
    function rew_is_topic_split() {
    
    	// Assume false
    	$retval = false;
    
    	// Check topic edit and GET params
    	if ( bbp_is_topic_edit() && ! empty( $_GET['action'] ) && ( 'bbp-split-topic' === $_GET['action'] ) ) {
    		$retval = true;
    	}
    
    	// Filter & return
    	return (bool) apply_filters( 'rew_is_topic_split', $retval );
    }
    
    add_filter ('bbp_is_topic_split' , 'rew_is_topic_split' ) ;

    @robin-w

    Moderator

    that’s a great response, let me look at it later

    @robin-w

    Moderator

    unfortunately the demo page you gave a link to requires login access to that premium theme.

    I’d suggest you raise the issue with your premium theme provider

    @robin-w

    Moderator

    bug found and fixed in 4.4.5

    @robin-w

    Moderator

    ok, so you’ll contact them next I guess πŸ™‚

    @robin-w

    Moderator

    @robin-w

    Moderator

    when you last reported it, I said
    ‘ok, I can only suggest that you revert to the standard tests
    Themes
    As a test switch to a default theme such as twentyfifteen, 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.
    Then come back@

    you did not respond to that, so can’t really help further if you don’t do the tests πŸ™‚

    @robin-w

    Moderator

    ok, I’d do this

    go back to

    When I do a static page and add the bbCode shortcode [bbp-forum-index] it works fine and as expected.

    and use developer told to scrape the code from the presented page.

    then you should be able to construct the page without using shortcodes

    too much work for me to really help further for free – sorry

    @robin-w

    Moderator

    can you post your revised template please

    @robin-w

    Moderator

    sorry, a bit like asking what is better for a journey train or car ? Depends on lots of factors.

    If you don’t have a massive site or massive forums, then answer is they are probably equal.

    @robin-w

    Moderator

    as a quick guess, I suspect you are trying multiple shortcodes

    so

    
    <?php echo do_shortcode('[tdc_zone type="tdc_content"][vc_row full_width="stretch_row_1400 td-stretch-content"][vc_column][vc_row_inner][vc_column_inner width="1/3"][td_block_list_menu menu_id="14949"][/vc_column_inner][vc_column_inner width="2/3"][vc_column_text]

    might need to be

    <?php echo do_shortcode('[tdc_zone type="tdc_content"]') ;
    <?php echo do_shortcode('[vc_row full_width="stretch_row_1400 td-stretch-content"]') ;
    etc.
    In reply to: Incorrect date issue

    @robin-w

    Moderator

    dashboatd>tools>forums>repair forums and run as appropriate

    @robin-w

    Moderator

    just created a topic – can you repeat what your issue is

    @robin-w

    Moderator

    I’ve just released version 4.4.3 of my style pack plugin, which has a new tab called ‘bug fixes’ where I have added @mjonesnerdery ‘s very useful correction

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>bug fixes and activate it.

    @robin-w

    Moderator

    bbp style pack

    there’s a list of useful bbpress plugins in there

    once activated go to

    dashboard>settings>bbp style pack>other bbpress plugins

    @robin-w

    Moderator

    dashboard>settings>discussion>comment moderation and change the number of links

    @robin-w

    Moderator

    ok, you need to look at the content for one that is automatically approved and one that goes into moderation and see what the difference is.

    you could start with whether there are links in it

    @robin-w

    Moderator

    Sorry, need clarification

    Are you saying that all topics and replies are currently being held, and need approval or that this is what you would like to happen?

    In reply to: add front end editor

    @robin-w

    Moderator

    @thetoolman123 – no – I split this question off from yours, as this is a different question

    In reply to: add front end editor

    @robin-w

    Moderator

    [moderator – split as not quite the same question]

    If I understand you then…

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Topic/Reply Form

Viewing 25 replies - 5,976 through 6,000 (of 14,333 total)