Sinderd 2 Share Posted September 20, 2018 Hello, We have a relatively new site and skin we are using on our site and have finally become annoyed enough by the 'get last post' link not working when we click it from the front. It brings us to the topic but only to the top of the last page, but not to the post. its frustrating to have to scroll all the way to the bottom each time. I have a rough idea of where the issue is but I don't know how to go about fixing it so I am hoping someone here might be able to help if I provide enough of the coding... LINK TO SITE: https://allyougot.jcink.net/index.php?act=idx [ click any of the new posts from the board to see the issue ] Now I am not entirely sure which area you guys need coding from so I am just going to guess. If you need something else just tell me and I will log back into the ACP and post it ❤️ POST ROW <!--Begin Msg Number <!-- |pid| -->--> <div id="outertoppost"> <div class="postname"><a href="/index.php?showuser=<!-- |poster_id| -->"><!-- |author_name| --></a></div> <div class="postaliasin">Alias: <!-- |field_1| --> | Gender: <!-- |field_4| --> | Pronouns: <!-- |field_6| --> | Timezone: <!-- |field_5| --></div> </div> <span class='<!-- |post_class| --> group<!-- |g_id| -->-<!-- |post_class| -->'> <table width='100%' border='0' cellspacing='0' cellpadding='0' style="margin-top:-5px;"> <tr> <td valign='top' style="background:#efefef; width:260px; outline:1px solid #d0d0d0; position:relative;"> <!-- |mini_profile| --> <div class="backc"></div> <div class="minilinks"><a href="<!-- |field_11| -->"></a><a href="<!-- |field_12| -->"></a><a href="<!-- |field_14| -->"></a><span><script> if(!parseInt("<!-- |g_id| -->") || "<!-- |field_1| -->" == "") { document.write("<img src='http://i.imgur.com/YtVQze4.gif'>"); } else { document.write("<img src='<!-- |field_2| -->'>"); }</script></span></div> </td> <td valign="top"><div class="containerclass" style="min-height:450px;"> <div class="postsbuttonsright"><a href="<!-- |permalink| -->">permalink</a><!-- |report_link| --><!-- |delete_button| --><!-- |edit_button| --><!-- |quote_button| --> <!-- |pm| --> <div style="float:right;margin-top:-4px;"><!-- |mod_checkbox| --></div> </div> <div id="pid_<!-- |pid| -->"><!-- THE POST <!-- |pid| --> --><!-- |post| --></div><!-- |signature| --><!-- THE POST --> </div> </td> </tr> </table> </span> TOPIC ROW <div id="outerboardindex" class="containtop"> <div class="outermainindex outertop"> <div class="indim imtop"><span></span></div> <div class="indtitle toptitle"><!-- |topic| --></div> <div class="topicinfo"><span class="topicin"><b>desc</b> <!-- |topic_desc| --><div style="float:right;margin-top:-4px;"><!-- |mod_checkbox| --> </div></div> <div class="latestinformation topinfo"> <b>started</b> <!-- |starter| --> <span class="icondes icontop"></span> <b>latest</b> <!-- |last_poster| --> on <!-- |last_post| --></div> </div> <div class="countind topcount"><span> <li><!-- |replies_int| --><p> replies</li> <li><!-- |views| --><p> views</li> </span> </div> </div> If you need our Board wrappers or anything let me know, I figured you only need these since it seems the problem persists from here? I appreciate any help Thank you!!!!! ❤️❤️ [ THE SINNOH REGION NEEDS YOU! JOIN TODAY? ] Link to comment Share on other sites More sharing options...
Arceus 1,082 Share Posted September 20, 2018 Good news! You're just missing the message ID link anchors. See at the end of a URL when you click those links, it says "#entry373"? This jumps the view to a link of name "entry373". Toward the top of your post row HTML, you'll want something like this. <a name='entry<!-- |pid| -->'></a> The a name makes the browser's view jump to the anchor. Ta da, jumpy links. I am the darkness, always watching, always listening, ALWAYS THERE. (If you're interested in Plain of Ice, message me, it's private. Bleach site, non-canon.) Link to comment Share on other sites More sharing options...
Sinderd 2 Author Share Posted September 20, 2018 THANK YOU SO MUCH! I put in exactly that at the top after the 'post name' just to see if if worked and voila! it works! Thank you! You've just saved my finger a ton of scrolling! HAHA This post can be closed! [ THE SINNOH REGION NEEDS YOU! JOIN TODAY? ] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now