Status: fully resolved

    Interface Improvement: back to top of page

    Issue Number:
    33
    Severity:
    Moderate
    Description:

    "Corjay" wrote:
    Whenever I post, it doesn't take me to the post. It takes me to the front page of the thread. Also, there should be page numbers next to the listed thread in the thread index.

    "w00t" wrote:
    BUG: when viewing the forums I see the "Replies" column and "8 New" in red. clicking on the "8 new" I should be taken to the first new comment. but I'm taken to the first page in the thread. so I have to scroll all the way to the bottom and click "2" or "Next Page".

    These two seem unrelated, but are actually the same thing. It seems as if the Drupal core is unable to automatically take you to a specific comment if that comment is located on a page other than the first. I'm not sure what is causing this... I will investigate. It's annoying.

    Comments:

    CleanCutRogue's picture
    CleanCutRogue
    August 14, 2007 - 6:51pm

    I have tried and failed to come up with a solution to this one... It's in the way in which the pager is working. It cuts the longer posts up into multiple pages after rendering, which means I can't send you automatically to a subsequent page without a total rewrite of how things are working. I have a proposal though...

    PROPOSED SOLUTION:
    If I reverse the order of comments and posts, showing the NEWEST at the top of the list, then when you submit your post you will be directed to it, since it directs you to the top. Also, when you've been away from the site and come back and see "2 new" and click on that link, it'll successfully take you to it because it'll be on the first-page. I think it's a good solution, but what do you guys think about a forum that shows newest posts first?

    3. We wear sungoggles during the day. Not because the sun affects our vision, but when you're cool like us the sun shines all the time.

    -top 11 reasons to be a Yazirian, ShadowShack


    Anonymous's picture
    w00t (not verified)
    August 23, 2007 - 9:43am

     

    newest post first please.

    "make it so numba w0n." 


    CleanCutRogue's picture
    CleanCutRogue
    August 23, 2007 - 12:59pm
    Okay - it's set up so you can choose.  You have the power.  Use it wisely :-P
    3. We wear sungoggles during the day. Not because the sun affects our vision, but when you're cool like us the sun shines all the time.

    -top 11 reasons to be a Yazirian, ShadowShack


    Anonymous's picture
    Corjay (not verified)
    August 26, 2007 - 11:05am
    Its been okay. I just have to get used to it.

    By the way, I think to do it the other way, you have to have a "last_post" command in the html code. The last post should have a default "last_post" designation that disappears once it's not last anymore, and the forwarding command should focus or target to the "last_post" designation. I don't do code anymore, so I've forgotten the exact commands needed. Since all the posts are in a single text document, it will go to the right post in the text file.

    CleanCutRogue's picture
    CleanCutRogue
    August 26, 2007 - 7:06pm
    That's called an anchor, and I'm already doing that.  The only problem is that I generate the anchor at one place, then Drupal's pager pages the list (decides where page 1 ends and calls that the first page) and my anchor is no longer on the html page being generated. Everything works fine if I don't page the list.  So if I want it to work properly (which I'm not sure I'm going to work on now), I'd have to rewrite the pager to preserve the destination anchor and determine which page to go to based on the destination anchor.  Right now it doesn't do that.
    3. We wear sungoggles during the day. Not because the sun affects our vision, but when you're cool like us the sun shines all the time.

    -top 11 reasons to be a Yazirian, ShadowShack