Recent Threads and Link to last post for visitors

kankan

Well-known member
Hello,

In the block recent thread, registered members can automatically click the last post date to go to the last message. But this link is desactivated for visitors.
I've check the permissions but did not find a way to give this access to the visitors
Any way to do that ? (see attached picture)

Thank you
 

Attachments

  • visitors.webp
    visitors.webp
    18.3 KB · Views: 18
Admin CP -> Appearance -> Templates -> thread_list_item

Add the red code:

Rich (BB code):
	<div class="listBlock lastPost">
		<xen:if is="{$thread.isRedirect}">
			<div class="lastPostInfo">{xen:phrase n_a}</div>
		<xen:else />
			<dl class="lastPostInfo">
				<dt><xen:if is="{xen:helper isIgnored, $thread.last_post_user_id}">{xen:phrase ignored_member}<xen:else /><xen:username user="$thread.lastPostInfo" /></xen:if></dt>
				<dd class="muted"><a{xen:if '{$visitor.user_id} OR 1', ' href="{xen:link posts, $thread.lastPostInfo}" title="{xen:phrase go_to_last_message}"'} class="dateTime"><xen:datetime time="$thread.lastPostInfo.post_date" /></a></dd>
			</dl>
		</xen:if>
	</div>

</li>

</xen:if>
 
Top Bottom