Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 5,926 through 5,950 (of 14,295 total)
  • @robin-w

    Moderator

    ok, can you try

    dashboard>tools>forums>repair forums and try recalculating replies

    In reply to: index page is gone

    @robin-w

    Moderator

    great – glad you are fixed !

    @robin-w

    Moderator

    ok, looks like something is a bit corrupt – how did you delete the demo data?

    @robin-w

    Moderator

    ok, what I need is for you to copy this file to your pc

    /var/www/html/xxxx/wp-content/themes/cera/bbpress/content-statistics.php

    then open it, and post the contents in this thread please

    In reply to: index page is gone

    @robin-w

    Moderator

    ok, as a start try

    dashboard>settings>permalinks and just click save – that resets then and may (may not will) fix !

    if not come back

    @robin-w

    Moderator

    ok, that’s an error from your theme, so we’d need to see that file. Do you know how to look at theme files using ftp ?

    @robin-w

    Moderator

    looks like a genesis theme

    try adding

    bbPress Genesis Extend

    that should fix it

    come back if not

    @robin-w

    Moderator

    ok, come back when you have something more, and I’ll try to help.

    If you do, please let us have a list of your plugins πŸ™‚

    @robin-w

    Moderator

    link to your site and example please

    In reply to: Learning curve?

    @robin-w

    Moderator

    contact me via

    Contact me

    @robin-w

    Moderator

    glad to have helped πŸ™‚

    @robin-w

    Moderator

    oops yes there is also a form-reply.php which has the same – it’s in the same directory

    @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

Viewing 25 replies - 5,926 through 5,950 (of 14,295 total)