|
Goto last post - Register to enable
This will disable guests from using the 'Goto last post' feature....why?? ... why not
![]() -done on 4.08, not sure about later versions edit template forumhome_lastpostby find Code:
<vb:if condition="$lastpostinfo['prefix']">{vb:raw lastpostinfo.prefix}</vb:if>
add after Code:
<vb:if condition="$show['guest']">
{vb:raw lastpostinfo.trimthread}
<img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post} - Register to enable" />
<vb:else />
<a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_newpost}}" class="threadtitle" title="{vb:rawphrase go_first_unread_in_thread_x, {vb:raw lastpostinfo.lastthread}}">{vb:raw lastpostinfo.trimthread}</a>
<a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_lastpost}}#post{vb:raw lastpostinfo.lastpostid}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
</vb:if>
edit template threadbit find Code:
<dd>{vb:raw thread.lastpostdate} <em class="time">{vb:raw thread.lastposttime}</em>
add after Code:
<vb:if condition="$show['guest']">
<img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post} - Register to enable" />
<vb:else />
<a href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_lastpost}, 'threadid', 'threadtitle'}#post{vb:raw pageinfo_lastpost.p}" class="lastpostdate understate" title="{vb:rawphrase go_to_last_post}"> <img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
</vb:if>
you can also apply the if/else conditional to Latest post/threads sidebar blocks and cms widgets, editing relevant templates. ![]() Download No files for download. Screenshots |
|||||||||