Jump to content

[Solved] Our 'Get last post' link doesn't work


Sinderd
 Share

Recommended Posts

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 SITEhttps://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!!!!! ❤️❤️ 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.

nusignature.png nusignature.png

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

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!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Guidelines and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.