1.) Open the SHOWTHREAD template & search for <-- / thread display mode -->
2.) Select the highlighted text shown in the picture below.
3.) Replace with the code below.
Note: my code actually includes an additional option to find all posts you have posted in the thread. You can remove that if you'd like by removing the entire <if condition="$show['member']"> section.
Replace with:
Code:
<!-- **************************************************** -->
<if condition="$show['search']">
<!-- thread search menu -->
<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">
<form action="search.php?do=process&searchthreadid=$threadid" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<input type="text" class="bginput" name="query" size="25" />$gobutton<br />
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<a href="search.php?$session[sessionurl]searchthreadid=$threadid&do=finduser&u=$thread[postuserid]">Find Thread Author's Posts</a>
</td>
</tr>
<if condition="$show['member']">
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthreadid" value="$threadid" />
<a href="search.php?$session[sessionurl]searchthreadid=$threadid&do=finduser&u=$bbuserinfo[userid]">Find My Posts</a>
</td>
</tr>
</if>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]searchthreadid=$threadid">$vbphrase[advanced_search]</a>
</td>
</tr>
</table>
</form>
</div>
<!-- / thread search menu -->
</if>
<!-- **************************************************** -->