Results 1 to 4 of 4

Thread: Last post link in archives is corrupted

  1. #1

    Default Last post link in archives is corrupted

    I have upgrade 2.2 to 3.0rc2 and some links to last post in archive module is bad.
    The link to the thread is correct:
    but the link to the last post is:

    The same link in forum is correct but not in portal.


    Thank you


  2. #2
    Join Date
    Jan 2004
    Georgia, USA

    Default Re: Last post link in archives is corrupted

    Try looking in your modules/news.php file for this code:
    PHP Code:
    SELECT $ratingsql thread.threadidpost.titlethread.replycountpostusernamepostuseridthread.dateline AS postdatelinestickythread.attachthread.lastpostidthread.lastposteruser.*, thread.lastpost, IF(views<=thread.replycountthread.replycount+1views) AS viewsthread.forumidpost.postidpagetext 
    Replace with this:
    PHP Code:
    SELECT $ratingsql user.*, thread.threadidpost.titlethread.replycountpostusernamepostuseridthread.dateline AS postdatelinestickythread.attachthread.lastpostidthread.lastposterthread.lastpost, IF(views<=thread.replycountthread.replycount+1views) AS viewsthread.forumidpost.postidpagetext 
    And that should take care of the problem.

  3. #3

    Default Re: Last post link in archives is corrupted

    Nice ! It's ok now.

    Thanks Brain.

  4. #4
    Join Date
    Apr 2004

    Default Re: Last post link in archives is corrupted


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Two archives - one page
    By catcherman in forum "How Do I..." Questions
    Replies: 2
    Last Post: 12-12-2006, 02:22 PM
  2. Viewing last post of a link
    By drewbe121212 in forum Bugs From 2.0 RC1
    Replies: 4
    Last Post: 10-24-2006, 02:31 PM
  3. Go To Last Post gives Link Error message [v2.2]
    By Kroziun in forum Troubleshooting & Problems
    Replies: 3
    Last Post: 08-12-2006, 06:28 AM
  4. More News Archives
    By PtP in forum Feedback & Suggestions
    Replies: 3
    Last Post: 07-26-2004, 10:45 AM

Posting Permissions

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