Bug report - wrong forum URL routing in latest discussion module

Discussion in 'Site Discussions & Suggestions' started by Gintoki Sakata, Jan 6, 2012.

  1. Gintoki Sakata
    OP

    Newcomer Gintoki Sakata Advanced Member

    Joined:
    Dec 27, 2011
    Messages:
    74
    Location:
    Edo
    Country:
    Japan
    I figured it cannot hurt to report this small bug. When you are on the portal page you can go directly to a forum if you click an icon in the latest discussion module.

    [​IMG]

    However the URLs are not routed correctly, resulting in URLs that lead to the portal page. For instance if you click at the 3DS icon,it should lead you to the 3DS hacking and homebrew section, but the URL is this:

    Code:
    http://gbatemp.net/f/201-3ds-hacking-homebrew/f/156-user-submitted-news/f/201-3ds-hacking-homebrew/
    Obviously this URL doesn't make sense. The correct URL should be this:

    Code:
    http://gbatemp.net/forum/201-3ds-hacking-homebrew/
    That's all :)

    Edit: I have investigated this a bit further. When you are on the portal page with this URL:

    Code:
    http://gbatemp.net
    and click the 3DS icon, the URL becomes this:

    Code:
    http://gbatemp.net/f/201-3ds-hacking-homebrew/
    The "f" should the "forum".

    However if you click at the wrong URL and then for instance at the user submitted news icon, the URL becomes this:

    Code:
    http://gbatemp.net/f/201-3ds-hacking-homebrew/f/156-user-submitted-news/
    Which means the part "f/156-user-submitted-news/" is added to the wrong URL resulting in a URL that doesn't make sense.
     
  2. tj_cool

    Supervisor tj_cool Stuff

    Joined:
    Jan 7, 2009
    Messages:
    9,940
    Location:
    This planet
    Country:
    Belgium
  3. Costello

    Administrator Costello Headmaster

    Joined:
    Oct 24, 2002
    Messages:
    12,030
    @[member='tj_cool']: I think your fix had a bad consequence, all the links for the blog articles (in the Blog tab) are broken, they take back to the portal :P
     
  4. tj_cool

    Supervisor tj_cool Stuff

    Joined:
    Jan 7, 2009
    Messages:
    9,940
    Location:
    This planet
    Country:
    Belgium
    Should be OK now @[member='Costello']
     
  5. Costello

    Administrator Costello Headmaster

    Joined:
    Oct 24, 2002
    Messages:
    12,030
    thanks a lot @[member='tj_cool'] :P (mention battle fight war) :creep:
    good job as always
     

Share This Page