Resource icon

XenForo Find Your XenForo Posts in a Thread

Matthew

Cadet
This is a quick and easy way to find all your posts in one thread.

1. Go to the thread_view template.

Find:
Code:
<xen:if is="{$canWatchThread}">
<a href="{xen:link 'threads/watch-confirm', $thread}" class="OverlayTrigger" data-cacheOverlay="false">{xen:if $thread.thread_is_watched, '{xenhrase unwatch_thread}', '{xenhrase watch_thread}'}</a>
</xen:if>

Add above:
Code:
<label><a href="{xen:link search/search, '', 'type=post', 'thread_id={$thread.thread_id}', 'users={$visitor.username}'}">Your Posts</a></label>

-Optional-

1. Go to thread_list_item

Find
Code:
<div class="controls faint">

Add below

Code:
Code:
<label><a href="{xen:link search/search, '', 'type=post', 'thread_id={$thread.thread_id}', 'users={$visitor.username}'}">Your Posts</a></label>




Hope you enjoy!
 

Attachments

  • testing.png
    testing.png
    4.7 KB · Views: 162
  • testing2.png
    testing2.png
    17.3 KB · Views: 198
  • Search Results.png
    Search Results.png
    21.7 KB · Views: 248
Back
Top