Results 1 to 14 of 14

Problem with: Go to last Post and why did he loads showthread.php two times?

This is a discussion on Problem with: Go to last Post and why did he loads showthread.php two times? within the Bug Reporting forums, part of the vBSEO SEO Plugin category; You can also reconstruct this error on this site. To better understand and see the problem, go to http://www.vbseo.com/usercp/editoptions/ and ...

  1. #1
    Junior Member Osbes's Avatar
    Real Name
    Osbes
    Join Date
    Jun 2008
    Posts
    11
    Liked
    0 times

    Problem with: Go to last Post and why did he loads showthread.php two times?

    You can also reconstruct this error on this site.
    To better understand and see the problem, go to
    http://www.vbseo.com/usercp/editoptions/
    and set for
    "Thread Display Mode" the value "Newest First"
    (it also works with "Oldest First", but then you need to remenber, which was the last page, you read and if there comes no page after your last page, you need to find a thread, where comes a page after yor last page and this is very boring)

    Than go to
    http://www.vbseo.com/forums/

    And klick on any , where the thread has more than one page and your last seen post ist not on the first page

    So try for example
    vBulletin 3.7.2 Released - Page 2 - vBulletin SEO Forums

    If you already read this thread, it should send you now to something like
    vBulletin 3.7.2 Released
    but what happend is, that it send you to (or something else, if the thread changes)
    vBulletin 3.7.2 Released

    As far as i can say, it appear, that wenn i go to
    vBulletin 3.7.2 Released - Page 2 - vBulletin SEO Forums

    he loads the showthread.php two times.
    The first time, he knows the right pagenumber and the secondtime, he did not.

    If you look into the vB code and analys the problem, you will see, that when he calculate $vbulletin->GPC['pagenumber'] the first time, he set
    $postorder = DESC an has an $postinfo[dateline] set.
    At the second time, he also set $postorder = DESC, but know he has no value for $postinfo[dateline]

    So he thinks, that all postings are new and calculate a most totally wrong pagenumber.

    And if you look closer yu will see, that there is no $_GET['postid'] at the second time.

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Please try to modify functions_vbseo_createurl.php file:
    FIND:
    PHP Code:
    if (($bbuserinfo['postorder'] == 1) && !$pinfo['prepostsproc'] && isset($pinfo['preposts']) )
    {   
    $pinfo['preposts'] = $totr $pinfo['preposts'] + 2;

    and move it a few lines lower, so that it appear right ABOVE this line:
    PHP Code:
    if (isset($pinfo['preposts']) && $page == && !$gotopost

  3. #3
    Junior Member Osbes's Avatar
    Real Name
    Osbes
    Join Date
    Jun 2008
    Posts
    11
    Liked
    0 times
    Thanks for the fast Support, works fine for me

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    You are welcome!

  5. #5
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    is this a bug fix that everyone should include?

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Yes.

  7. #7
    Junior Member Osbes's Avatar
    Real Name
    Osbes
    Join Date
    Jun 2008
    Posts
    11
    Liked
    0 times
    Sorry, i just see, that it works now correct for



    but i still have the same problem using



    So if i want to go to the last unread post, it is perfect, but if i want to go to the last post, he always send me to the last page and ignore the postorder "Newest First", where the last post should be on the first page.

    When i think more generell about this, i came up with a new problem, but i think this should be an vBulletin problem:
    I think it is difficult, if you want to share links between someone with "Newest First" and "Oldest First", because if you send an Link whitout an postid and only threadid + pagenumber both Users will see other Sites.
    So you can't say "Hey dude, look at page 11, awesome posting", or "the solution to your request should be in this thread(whitout postid, only threadid + pagenumber)", when you are not sure, that every user use the same sort rule for postings.

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    So if i want to go to the last unread post, it is perfect, but if i want to go to the last post, he always send me to the last page and ignore the postorder "Newest First", where the last post should be on the first page.
    Can you provide an example URL and testing account in support ticket to check that? It works fine for me.

  9. #9
    Junior Member Osbes's Avatar
    Real Name
    Osbes
    Join Date
    Jun 2008
    Posts
    11
    Liked
    0 times
    I go to http://www.vbseo.com/usercp/editoptions/ and use "Newest First" and than i go to
    Announcements & Pre-Sales - vBSEO Announcements at vBSEO.com

    And than i look for example at "Sticky: vBSEO 3.2.0 Gold Released!"

    Then the icon has the link vBSEO 3.2.0 Gold Released!

    But it should be
    vBSEO 3.2.0 Gold Released!

    Because i set "Newest First" and so the last post must be on the first page.
    But in fact, everytime i see the link for the last page.

  10. #10
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Does that happen on your forum as well? (we do not have the fix mentioned above applied here on vbseo.com yet)

  11. #11
    Junior Member Osbes's Avatar
    Real Name
    Osbes
    Join Date
    Jun 2008
    Posts
    11
    Liked
    0 times
    Yes, you can see the Problem at our Forum as well.
    United-Forum

  12. #12
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Can you provide an example URL and testing account in support ticket?

  13. #13
    Junior Member Osbes's Avatar
    Real Name
    Osbes
    Join Date
    Jun 2008
    Posts
    11
    Liked
    0 times
    Sure, there should be an support ticket now.

  14. #14
    Senior Member
    Real Name
    Bernard
    Join Date
    Aug 2007
    Location
    Friendswood, TX
    Posts
    184
    Liked
    2 times
    Was this fix included in 3.2 Gold?
    I'm using vbSEO for my precious metals forum.

Similar Threads

  1. Showthread Rewrite Problem
    By Jens in forum Deutsch
    Replies: 4
    Last Post: 08-13-2007, 07:07 AM
  2. showthread problem (urgent)
    By Notorious in forum Troubleshooting
    Replies: 4
    Last Post: 10-20-2006, 07:07 PM
  3. Replies: 11
    Last Post: 05-01-2006, 09:00 PM
  4. Post times
    By macooper in forum Pre-Sales Questions
    Replies: 2
    Last Post: 09-24-2005, 05:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •