kypo (@kypo)

Forum Replies Created

Viewing 1 replies (of 1 total)

  • kypo
    Participant

    @kypo

    Hi All.

    I think that I have a similar problem, maybe the same problem.
    If anyone advise me I will be very grateful.
    Unfortunately I am not a programmer and I can not help myself.

    I tried to insert this code from @gperez-tl

    add_filter('bbp_get_reply_position', 'lugpa_get_reply_position', 10, 3);
    function lugpa_get_reply_position($reply_position, $reply_id, $topic_id){
        
        if(empty($topic_id))
            $topic_id = bbp_get_reply_topic_id ($reply_id);
        
        $numReplies = bbp_get_topic_reply_count($topic_id);
        return ($numReplies+1) - $reply_position; // plus one because of thread description
    }

    into my theme functions.php but it does not work for me.

    For example, in this topic:

    3.1.2016 Supercars @ Brands Hatch

    Links to first posts (#9129) refers to the wrong url to page2, but this post is still on page1…
    Other post urls on this page1 is OK. When i go to page2 every post has bad URL refers to page1.

    Please help if you can… Thanks

Viewing 1 replies (of 1 total)