Support » Plugin: ReOrder Posts within Categories » Prevous and next Posts working ?

  • Resolved menard1965

    (@menard1965)


    Hi!

    Thanks for all your work with the new version.
    I just have a question:

    My theme is using the wordpress functions
    get_adjacent_post( true, ”, true , ‘category’);
    for getting prevoius and next post. Is your plugin following these rulkes.
    So the next post is really the one which is sorted ?
    Cheers

    • This topic was modified 10 months ago by menard1965.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    thanks for starting a separate thread.

    I had a look at how get_adjacent_function works and the current version of the plugin is not able to handle the return of the correct post in a manual rank.

    However, implementing this functionality is not too difficult. I should be able to code that within a day or 2…however, I would appreciate if you could test the new code on your setup as I don’t have the time to test on my server.

    I will give you a link to the code and you can report back any errors. Will that be ok?

    Thread Starter menard1965

    (@menard1965)

    I will test it in my setup

    perfect.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Can you upgrade to v2.5, and see if the next/previous post display properly?

    Thread Starter menard1965

    (@menard1965)

    I installed 2.5

    first look at reorder pluging. There is an error saying
    you have to save settings for reorder first.
    with save settings
    When i click that one i get
    with save settings
    Its saying you have no access to this page

    What i did i downloaded 2.5 and reploaced the dir in the plugins directory

    Thread Starter menard1965

    (@menard1965)

    Ok i deinstalled and reinstalled again. I was able to set the settings in reorder.
    I will test it now and will feedback here

    Thread Starter menard1965

    (@menard1965)

    I deinstalled Woocommerce and every plugin with woocommerce
    I created a new cateogry TESTA
    I added my testpages to this category

    when i move to 2.5 the prev and next links are empty so i went back to 2.43
    so the getadjacent Funktion is returning null therefore the prev next are not shown.
    no prev and next buttons
    buttons with 2.4

    i also testet the behaviour followed with 2.5. its the same

    First view on the TESTA

    First view of TESTA in reorder
    What i found our also in 2.4 was that the first page T7 is shown double
    First Reorder first

    When i click REST the result the double is gone and the result is
    First Reorder Reset

    No I resort from T1 to T7
    Reorder from T1-T7

    View on category TESTA ordering is not shown
    Categpry TESTA after sorting

    When going back to reorder and refresh page the ordering that we set changed to that which is shown in category TESTA. the ordering in Reoeder was reseted.
    Categpry TESTA after sorting

    prevoius next
    I have a category wetter-grundlagen which id doing much better except one page !!!
    i will give you to links that you can test it on my page
    category wetter-grundlagen

    when you click in the pages you will see that all prev next are working except one page
    if you click on “ENTSTEHUNG von WIND” you will see that the next page is shown as
    “Bewegung der Luft” instead og “Entstehung von Wind im Detail”

    thanks so much
    michael

    • This reply was modified 10 months ago by menard1965.
    • This reply was modified 10 months ago by menard1965.
    • This reply was modified 10 months ago by menard1965.
    • This reply was modified 10 months ago by menard1965.
    • This reply was modified 10 months ago by menard1965.
    Plugin Author Aurovrata Venet

    (@aurovrata)

    that’s all quite puzzling. Is this a beta site? Can you give me access to it for me to do some tests? You can reach out to me on vrata at syllogic dot in

    Thread Starter menard1965

    (@menard1965)

    What i figured out is.
    That you use MySQL 8 LAG over function. which isnt supported is MYsql 6.5 Which I have. My provider has not updated to 8 so far.

    Can you mail me to office@blue-2.at. then i will send you access to BETA site. the site test.skipper360.at is backuped for beta purpose. I will also give you access via FTP.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Indeed, you should ask your provider to move to MariaDB 10+ as recommended by WordPress as this is now the forked version of MySQL that is actively being maintained.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    I have finally had time to properly test this on my server and fixed a number of bugs on the SQL. Can you try v2.5.3 on your server and let me know if it works for you.

    Thread Starter menard1965

    (@menard1965)

    i asked my probider. They will not upgrade soon to latest SQL. so i assume that there will be a lot of wordpress sites out there not supporting LAG and LEAD ?
    thanks a lot for your patience

    Plugin Author Aurovrata Venet

    (@aurovrata)

    ok, so I change the SQL query for the adjacent post and it should now work on your server with your older DB. I just released v2.5.4. I also fixed a bug that on some DB would reverse the order of the manual ranking.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Prevous and next Posts working ?’ is closed to new replies.