• Please note that this section is for questions regarding the forum itself - it is not for fan game-related questions. If you have a question about a fan game, ask in the appropriate thread.

  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Akari, Red, Kris, May - which Pokémon protagonist is your favorite? Let us know by voting in our semifinal favorite protagonist poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Issue: The Link Button

destinedjagold

Oh Hai Thar.
  • 8,598
    Posts
    18
    Years
    First off, no, this isn't a new problem. It's been around for quite a while now and it's kinda bothersome.

    Anyway, what I'm talking about is this little button here ->
    [PokeCommunity.com] The Link Button


    Now I'm not sure if it's on every theme, but at the moment I am using the "Let's Fly Together [Legacy]" theme. Every time I click on it, it opens a new tab, loading the entire page, but instead of going to the post, it doesn't. Why? because the url lacks the word "post" after the "#".

    Here's an example of what I'm saying...
    [PokeCommunity.com] The Link Button

    As you can see, when you hover your mouse on that button circled in red, the url has "post" and it will lead you to the correct post.

    But if we click the Link button...
    [PokeCommunity.com] The Link Button

    The url doesn't have "post" on it, and it will just open the page and won't go to the post.

    I hope this will be fixed soon. It's easy to fix anyway. It just kinda irks me that it's taking too long to be fixed. It has been reported before, but I'm not sure if the ones who are in charge of php coding the forums have seen it or they don't really want to fix it. :/
     
    it may be a theme thing.. It works properly for me in the theme/style I'm using.. try it again with a different theme.
    Also let us know which theme you are using that it isn't working in.
     
    Last edited:
    I'm using Fundamental.

    Some of the themes might not have the script/code added (yet)

    dunno.. guess it _should_ be looked at but as we are focusing on the new mobile-friendly style it may be a while before it gets fixed.
     
    ok umm just switched to the theme in question and it works perfectly here.

    It maybe something on your end blocking it or not parsing it correctly.. I can't say what though..
     
    It maybe something on your end blocking it or not parsing it correctly.. I can't say what though..

    That wouldn't be it. Because I access PC on the computer where I work, on my computer back home and on my mobile phone, and the Link Button really doesn't work.
    I even saw a few threads where it doesn't have the "post" on the url when they click the link button.
    Example 1 | Example 2

    I also tried the Fundamental theme on Chrome, Chrome Incognito mode, FireFox and even on Internet Explorer, but nope, the Link Button doesn't have "post" on the url... :/
     
    That wouldn't be it. Because I access PC on the computer where I work, on my computer back home and on my mobile phone, and the Link Button really doesn't work.
    I even saw a few threads where it doesn't have the "post" on the url when they click the link button.
    Example 1 | Example 2

    I also tried the Fundamental theme on Chrome, Chrome Incognito mode, FireFox and even on Internet Explorer, but nope, the Link Button doesn't have "post" on the url... :/

    Clear your cache. The url is not supposed to have the word "post" in it. The URL should look like below:
    https://www.pokecommunity.com/showthread.php?p=8847158#8847158

    The p= portion tells the site which post to load in the site's database. There is no need for the word "Post" to be in the URL. That particular URL should be bringing you to Post 1169 (the post by Mana made roughly 5 1/2 hours ago) in the A Song of Ice and Fire thread in The Underground. I know for a fact that it's working both on my mobile phone and on my PC. Try it out for yourself.

    https://www.pokecommunity.com/showthread.php?p=8847158#8847158
     
    its a on-load script-driven a anchor type of thing mainly

    Code:
    onload="if (document.body.scrollIntoView && (window.location.href.indexOf('#') == -1 || window.location.href.indexOf('#post') > -1)) { fetch_object('currentPost').scrollIntoView(true); }"
    to be exact..
     
    Clear your cache. The url is not supposed to have the word "post" in it. The URL should look like below:
    https://www.pokecommunity.com/showthread.php?p=8847158#8847158

    The p= portion tells the site which post to load in the site's database. There is no need for the word "Post" to be in the URL. That particular URL should be bringing you to Post 1169 (the post by Mana made roughly 5 1/2 hours ago) in the A Song of Ice and Fire thread in The Underground. I know for a fact that it's working both on my mobile phone and on my PC. Try it out for yourself.

    https://www.pokecommunity.com/showthread.php?p=8847158#8847158

    Nope. Doesn't work. And clearing my cache? My mom always clears the cache, browsing history, cookies, everything on my computer back home (because she's paranoid like that -,-) and nope, the Link Button doesn't work properly.

    I don't know really that much about web development, but doesn't the # mean that the browser will direct you to a particular "id?" Since each post we make in the forum has "post<insert random number here>" on the div, so it would make more sense if the Link Button does have "post" after the # in the url.

    If what you say is true that the word "post" is not needed, then why do the [Go to last post] buttons (
    [PokeCommunity.com] The Link Button
    )(See the screenshots on my first post for reference) and the [Notification Link] have the word "post" in the url?
     
    Last edited:
    Clear your cache. The url is not supposed to have the word "post" in it. The URL should look like below:
    https://www.pokecommunity.com/showthread.php?p=8847158#8847158

    The p= portion tells the site which post to load in the site's database. There is no need for the word "Post" to be in the URL. That particular URL should be bringing you to Post 1169 (the post by Mana made roughly 5 1/2 hours ago) in the A Song of Ice and Fire thread in The Underground. I know for a fact that it's working both on my mobile phone and on my PC. Try it out for yourself.

    https://www.pokecommunity.com/showthread.php?p=8847158#8847158
    IMO the "#8847158" isn't needed as well, the link doesn't work right on my Firefox if I don't remove that part.
     
    Back
    Top