welcome to my space


Recent Posts

Categories

Blogroll

Meta

  1. RSS
  2. valid XHTML

[fixed] strange "next page" with sticky threads

rose | March 14, 2010 | | portal.polala.com

  • Take a look at this forum
    http://boatdesign.net/forums/forumdisplay.php?forumid=4

    And click "Next Page" or page 2 and tell me what you think?

    It feels very strange since on page 2 you get the same 24 of the 26 threads on page 1???

    I think everything is fine in the nav bar (I didn't change any of the variables) and the other forums work as expected. I think it's because of the two poll threads at the top of Page 1 which are marked as sticky. But it seems like a glitch.


  • That's not what's happening at my forum though: http://boatdesign.net/forums/forumdisplay.php?forumid=4

    Page 1 is:
    Sticky Thread
    Sticky Thread
    24 more threads

    You hit the button for "Next Page" and you get
    Page 2
    24 more theads
    (exact same threads as page 1 without the two sticky threads)

    Why are the same (non-sticky) threads duplicated on page 1 and page 2 of this forum?

    Help!


  • OK - thinking that the sticky threads might be what is causing the problem (since these are the only two sticky threads in any of my forums) I decided to unstick them as a test.

    I found something which seems strange:

    Note that I have erased the "Sticky" label in the admin CP options, but the only two threads which are sticky are:
    "Poll: Best Free or Low Cost Marine Design Software?"
    and
    "Poll: Best Marine Design Software for Hull Design?"

    Using the pulldown Stick / Unstick Thread what I found strange was that I would think if I used this on a stuck thread I would get "this thread has successfully been unstuck" but instead I got "this thread has been successfully stuck" and then had to do it again to unstick. Is this messed up, or is it always this way? I had to do 4 iterations to get them both unstuck. Then 4 more to get them both stuck again.

    Anyway, with those two threads unstuck, the pages worked as expected:
    Page 1 contains 25 threads
    Page 2 contains 1 thread (no duplicates.)

    I changed the two Poll: threads back to sticky, and then the page numbering changed back to:
    Page 1 contains 2 sticky threads plus 24 other threads
    Page 2 contains the same 24 threads (same 24 - duplicates page 1 without the stickies)

    I tried adding one more test post (now deleted) to the forum wondering if the number of posts was the issue, but this did not change anything (still the second page contains mostly duplicates of the first page.)

    Why are the Sticky Threads causing this huge problem? Any ideas are appreciated.


  • OK looking at the number I figured it out but I believe it is a bug.

    If I add 2 test posts it fixes itself.

    The problem occurs when there is:
    2 sticky threads +
    24 normal threads
    and threads per page is set to 25

    This results in a duplicate second page.

    2 sticky threads +
    25 normal threads
    and threads per page is set to 25

    also results in a duplicate second page

    2 sticky threads +
    26 normal threads
    and threads per page is set to 25

    works fine (no duplicates on the second page)


  • I think that I have worked out a fix for this, boatdesignnet, so can you email me and I will send you the fix to test out.

    Thanks,
    John


  • I believe that sticky posts stay sticky .. so even if you request a few pages deep .. the sticky stay's on top. I dont think this is a glitch, but a feature.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about [fixed] strange "next page" with sticky threads , Please add it free.
    edit

    Can anyone tell me the name of the painting/poster Chuck Bass has hanging on his bedroom wall over his bed? Can you help me solve this physics problem?