XF 1.2 Show recent posts first

HenrikHansen

Well-known member
Where is the setting that by default for all users show recent posts first in thread view (instead of oldest posts first). I cannot find the setting? :(
 
Change the template so that the discussion tab goes to the first unread post.

Template: resource_view_tabs

Find:
HTML:
<a href="{xen:link threads, $thread}">{xen:phrase discussion}</a>

Replace with:
HTML:
<a href="{xen:link threads/unread, $thread}">{xen:phrase discussion}</a>

Admittedly, this will only work for registered members. For guests or someone who hasn't viewed the thread before it will still go to the first post on the first page.
 
Top Bottom