Skip to:
Content
Pages
Categories
Search
Top
Bottom

Edit topic reply, changes post order


  • eduardosilva
    Participant

    @eduardosilva

    Greetings,

    I noticed that when someone (normally the admin), edits a post, the post goes to the wrong position on the topic:

    Example:
    TOPIC A
    – Post 1
    – Post 2
    – Post 3
    – Post 4

    If I edit the Post 2, next time I open the topic the order will be:
    TOPIC A
    – Post 1
    – Post 3
    – Post 4
    – Post 2

    Is this a feature or a bug?
    If it’s a feature, is there any way to disable it?

    Thanks!

Viewing 21 replies - 51 through 71 (of 71 total)

  • jimaroonie
    Participant

    @jimaroonie

    Just to add to this thread as I’ve been experiencing the same sort of issues with edited replies appearing at the bottom of the thread and some other anomalies regarding posts being given strange “Reply to” post numbers (too inconsistent to reproduce).

    All resolved for me by turning off the “Reply Threading” setting in Forums Settings. This also reactivated the paginating which hadn’t been working with this setting active.

    Not running anything unusual although someone mentioned php version which I know not to be the latest on our server. Details below:

    PHP Version: 5.2.5
    Wordpress Version: 3.8.1
    Active Theme: Twenty Fourteen 1.0

    bbPress 2.5.3 (active)
    BuddyPress 1.9.2 (active)
    Disqus Comment System 2.74 (active)
    Fourteen Colors 1.0.1 (active)
    Jetpack by WordPress.com 2.8 (active)
    Unconfirmed 1.2.3 (active)
    WP Approve User 2.3 (active)


    Stephen Edgar
    Moderator

    @netweb

    @dzpoa Are you using this with threaded replies enabled on your site?

    function custom_bbp_has_replies() {
        $args['orderby'] = 'ID';
        $args['order'] = 'ASC';
        return $args;
    }
    add_filter('bbp_before_has_replies_parse_args', 'custom_bbp_has_replies' );

    dzpoa
    Participant

    @dzpoa

    @netweb No, i’m not using threaded replies. and “Forum root should show” is set to “Topics by Freshness”. It looks to me now that those settings fixed the issue, not the code :(


    arielmeadow
    Participant

    @arielmeadow

    So if I’m understanding correctly, the current work-arounds for this long-persisting bug are

    Disable threaded replies in bbpress

    OR

    Edit replies by going into the WP back-end, instead of editing via the convenient front-end interface

    I’m baffled that this bug has persisted for so long.


    lalarnz
    Participant

    @lalarnz

    We are also having the same issue with the replies. They are not in order. screencast.com/t/KjytGPXQ


    George Stephanis
    Participant

    @georgestephanis

    Just confirmed that deactivating threaded replies via Settings → Forums fixes the issue.


    George Stephanis
    Participant

    @georgestephanis

    @johnjamesjacoby — ping me on Skype if you’d like access to a gimmicked site to putter around with, It’s on DreamHost so I can get you SSH and WP-CLI to tinker with.


    wm
    Participant

    @webbmasterpianise

    I think I have the same issue here. Strange that the topics is not sorted by #ID ?

    Topic 1 last 3 replies:
    2014-04-01 kl. 21:17 #395
    2014-04-02 kl. 18:40 #445
    2014-04-01 kl. 22:31 #402

    Topic 2 last 3 replies:
    2014-04-01 kl. 13:32 #389
    2014-04-02 kl. 18:22 #443
    2014-04-01 kl. 22:43 #404

    WordPress Versions eg. 3.8.1
    bbPress Version eg. 2.5.3
    Operating System eg. Linux (Debian)
    Web Server eg. Apache
    Theme eg. Techism
    PHP Version eg. 5.3.28

    I can confirm that George Stephanis sollution to deactivating threaded replies in settings solved the problem.


    tza79
    Participant

    @tza79

    I can confirm that I have the same issue as well. If the threaded replies is enabled, I have posts that display out of date order. If I turn off threaded replies, then they display in the correct order. Has the bbPress team confirmed that this is a known bug they are working to solve?

    Why hello there… I can now reproduce the issue :)

    I have the cause of the issue identified and a patch 100% complete that prevents this from occurring in the future. :)

    The cause is one of our repair tools “Count replies in each forum” :(

    Immediate Workaround: Run the “Count replies in each topic” repair tool and DO NOT run the “Count replies in each forum” repair tool, it deletes data needed to calculate new replies displayed order.
    NOTE: This will only prevent the issue from re-occurring, it will NOT fix existing replies affected.

    We still need to create a repair tool to update existing replies that are affected by this issue. I have a rough outline of the tool though it isn’t quite right yet as it is not picking up all the possible permutations and combinations of how replies can be ordered with or without ‘threaded replies’ enabled.

    It’s 1:15am here my local time and I’m beat thus I’m pulling the pin for the evening. ;)

    Thanks for your all of your patience along the way, sorry it wasn’t sooner but until we could reproduce the issue coming up with a fix is really hard ;)

    If you want further technical details you can look at ticket #2586 in trac.

    Once I’ve had some Zzzzz’s I’ll update this post.


    ThemeTon
    Participant

    @themeton

    I can’t wait until next version of the plugin. Therefore I’ve changed something here for my need.
    The problem is same as Stephen’s explain, parent post gets reply id.

    And I’ve removed treated (sub) reply possibility from posts and added page_walk sub function into BBP_Walker_Reply class (bbpress/includes/common/classes.php).

    Those changes won’t allow sub replies but now my forum shows correct ordering :)

    Thanks a lot


    luisc9
    Participant

    @luisc9

    Good night everyone!

    I am new to bbpress, but not new to WordPress.

    Could you please be so kind and explain clearly (for a newbie like me :-) ), what are the steps to fix this issue?

    We have a website with wordpress and bbpress with responses whose order get’s altered… And this has direct impact in our visitors experience.

    Thanks in advance for your patience.
    Regards
    Luis


    Kris35
    Participant

    @kris35

    Hi Luisc9,

    I dont have an anwer for you as I have taken BBPress down for the moment. All I can say is, I have a coder who charges me $15 an hour to fix this kind of stuff. Got him from Elance and he is good and trustworthy. For people who aren’t all that good at fixing this type of stuff, its worth it – well for me it is anyway. Hope someone replies to you soon.


    arielmeadow
    Participant

    @arielmeadow

    I sure do miss threaded replies. Is there any word on when this long-persistent bug will be fixed?

    This was fixed in bbPress 2.5.4, to repair any of affected replies run the “Recalculate the position of each reply” repair tool from Tools -> Forums


    luisc9
    Participant

    @luisc9

    Thanks Kris35 and Stephen. I will check and let you know.

    Have a great day!

    Luis


    luisc9
    Participant

    @luisc9

    Stephen:

    Bad news :-(

    I got the message: “Recalculating reply menu order … No reply positions to recalculate!”

    But the replies are not in order…

    Any ideas? Should we apply the fix at https://bbpress.trac.wordpress.org/ticket/2586 ?

    Thanks in advance
    Luis

    No, do not apply any fixes in #2586, these are what was included in bbPress 2.5.4.

    I’ll check out a couple of things and get back to you, in the meantime do you still have “Enable Threaded Replies” in bbPress settings?


    korzay
    Participant

    @korzay

    Here’s my setup:

    WordPress Version: 3.8
    bbPress Version: 2.5.2
    Operating System: Linux
    Web Server: Apache
    Theme: Twenty Twelve child theme
    PHP Version: 5.3.3

    Thanks for looking into this!

    I am editing now my website cepinfo and windowshata


    luisc9
    Participant

    @luisc9

    Thanks Stephen.

    We would appreciate your feedback on this.

    Answering to your question, no, the “Enable Threaded Replies” option is disabled.


    luisc9
    Participant

    @luisc9

    Hello everyone!

    Stephen: do you have any answer on this? We need to imple,ent a forum soon, and this should be resolved before :-(

    Thanks
    Luis

Viewing 21 replies - 51 through 71 (of 71 total)
  • You must be logged in to reply to this topic.