imjscn (@imjscn)

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

  • imjscn
    Participant

    @imjscn

    Thanks! That should work!


    imjscn
    Participant

    @imjscn

    it’s not the topic, but to sticky the reply. How?

    In reply to: bbPress 2.2.1

    imjscn
    Participant

    @imjscn

    I’m sure this is a bug– disregarding group forum enabled or not, the forum tab is still there. If a group forum was enabled before, it can’t be really disabled.

    In reply to: bbPress 2.2.1

    imjscn
    Participant

    @imjscn

    Is this a bug — buddypress non-group members can post new topic or reply in any Group Forum?


    imjscn
    Participant

    @imjscn

    Repaired, makes no difference. By the way, the private forum out of buddypress group is working fine. It’s the private forum inside BP groups that shows topics by direct topic URL.

    While you are here, I’d report another bug– the topics and replies inside BP groups can not be edited. All admin links are not click-able.

    Thanks for response!


    imjscn
    Participant

    @imjscn

    Not the forum, but the topics in private forum are directly accessible by the topic URL.

    Yes, the newest bbpress


    imjscn
    Participant

    @imjscn

    Apology if I am spoiling your thread, but I do have a question about bbpress post parent, maybe our question is related to the same answer, so, let me go on… In WP, if we want to find a post parent, we do
    $post=get_post($id)
    $parent_id= $post->post_parent
    In bbpress, there is a fundtion to do the job

    function bbp_get_reply_topic_id( $reply_id = 0 ) {
    
        // Assume there is no topic id
        $topic_id = 0;
    
        // Check that reply_id is valid
        if ( $reply_id = bbp_get_reply_id( $reply_id ) )
    
            // Get topic_id from reply
            if ( $topic_id = get_post_meta( $reply_id, '_bbp_topic_id', true ) )
    
                // Validate the topic_id
                $topic_id = bbp_get_topic_id( $topic_id );
    
        return apply_filters( 'bbp_get_reply_topic_id', (int) $topic_id, $reply_id );
    }
     My question is-- why bbpress does not use WP's post\_parent, instead, it saves parent\_id in child's meta, make no use of native WP post table? The parent may got lost somewhere in the middle of the additional out of system steps.
    
Viewing 7 replies - 1 through 7 (of 7 total)