|
Post by BC on Dec 27, 2010 2:42:35 GMT
|
|
|
Post by BC on May 4, 2013 17:00:02 GMT
Go to Last Post Code
At Board List level (which is the home page)
Admin > Structure > Layout Templates > Board > Board List >
Replace:
<span class="date">$[board.last_thread.last_post.date]</span> With:
<span class="date"><a href="/post/$[board.last_thread.last_post.id]/thread">$[board.last_thread.last_post.date] <i>last</i></a></span>
Also, at the thread list level
Admin > Structure > Layout Templates > Board > Thread List >
Replace:
<td class="latest last">by $[thread.last_post.created_by_user]<br />$[thread.last_post.date]</td> With:
<td class="latest last">by $[thread.last_post.created_by_user]<br /><a href="/post/$[thread.last_post.id]/thread">$[thread.last_post.date] <i>last</i></a></td>
These changes will make the date/time of the last post line a link to the last post, and add the word "last" to it too.
Note: these need to be applied to each Theme (or skin).
|
|
|
Post by BC on May 4, 2013 19:28:10 GMT
To the Top / Bottom links (in each post)
Structure > Layout Templates > Thread > Post List
Replace:
{if $[post.edited]} <div class="edited_by"><span class="italic">Last Edit:</span> $[post.edited.date] by $[post.edited.by_user]{if $[post.edited.reason]}: $[post.edited.reason]{/if}</div> {/if}
With:
<div class="edited_by"> {if $[post.edited]}<span class="italic">Last Edit:</span> $[post.edited.date] by $[post.edited.by_user]{if $[post.edited.reason]}: $[post.edited.reason]{/if} - {/if} <a onclick="scroll(0,0);">To the Top</a> / <a onclick="scroll(0,document.body.scrollHeight);">Bottom</a> </div>
Note: this needs to be applied to each Theme (or skin).
|
|