Jump to content
vBWarez - Rest In Peace

VSa - Jump to My Last Post


Recommended Posts

  • Admin
[B]Info:[/B]
This will add 'Jump to My Last Post' link in forumdisplay, so you can easily find your last post in thread.


[B]Installation:[/B]
1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
2. Open template 'threadbit', and add following code before '<!-- title / author block -->':
[code]
Code:

<vb:if condition="$show[threadcount]"><span class="shade" style="float:{vb:stylevar right}"><br /><br /><a href="showthread.php?{vb:raw session.sessionurl}goto=mylastpost&t={vb:raw thread.threadid}" class="lastpostdate understate" title="{vb:rawphrase vsajtylpit_jumptomylast}">►</a></span></vb:if>
[/code]
3. Open template 'search_threadbit', and add following code before '<!-- title / author block -->':
[code]
Code:

<vb:if condition="$show[threadcount]"><span class="shade" style="float:{vb:stylevar right}"><br /><br /><a href="showthread.php?{vb:raw session.sessionurl}goto=mylastpost&t={vb:raw thread.threadid}" class="lastpostdate understate" title="{vb:rawphrase vsajtylpit_jumptomylast}">►</a></span></vb:if>
[B][/code]
Versions:[/B]
v1.0 - Feb 15. 2010.
-First version
v1.1 - Feb 15. 2010.
-Fixed: Browser compatibility issue

  • Like 3
Link to post
Share on other sites
×
×
  • Create New...