Skip to:
Content
Pages
Categories
Search
Top
Bottom

Repopulate site tracking records? not working


  • coolhunt
    Participant

    @coolhunt

    Hey Guys,

    Is it possible to create a function that calls “repopulate site tracking records” in to bp-customs.php

    My Problem:
    From time to time, my blog posts either arent appearing or comments box doesnt appear in the comment box.. and when I check the admin/activity … it says: “replies disabled”

    im thinking of this function.. (any thoughs?) any help would be great

    
    	// Blogs:
    	// - user blog count
    	if ( bp_is_active( 'blogs' ) ) {
    		$repair_list[90] = array(
    			'bp-blog-records',
    			__( 'Repopulate blogs records', 'buddypress' ),
    			'bp_admin_repair_blog_records',
    		);
    	}
    
    	ksort( $repair_list );
    
    	return (array) apply_filters( 'bp_repair_list', $repair_list );
    }
    
    	if ( bp_is_active( 'blogs' ) ) {
    		$repair = bp_blogs_record_existing_blogs();
    	}
    
    
  • You must be logged in to reply to this topic.
Skip to toolbar