Link to my resource on xenforo. http://xenforo.com/community/resources/search-this-thread.644/
This will you allow you to drop down search when viewing the thread, to search it.
Just want everybody to know, that you can't search the first post in a thread. Only the other posts.
Admin CP -> Appearance -> Your Style -> Templates -> Thread_view
Scroll down till you see:
Add this after the <xen:if hascontent="true">
Save and your done!
It would be nice if one of you (if you have a xenforo license), review it and rate it with 5 full stars.
This will you allow you to drop down search when viewing the thread, to search it.
Just want everybody to know, that you can't search the first post in a thread. Only the other posts.
Admin CP -> Appearance -> Your Style -> Templates -> Thread_view
Scroll down till you see:
Code:
<div class="pageNavLinkGroup">
<div class="linkGroup SelectionCountContainer">
<xen:if hascontent="true">
Add this after the <xen:if hascontent="true">
Code:
<div class="Popup">
<a href="{xen:link search, '', 'type=post', 'thread_id={$thread.thread_id}'}" method="post" rel="Menu">{xen:phrase search_this_thread_only}</a>
<div class="Menu JsOnly formPopup">
<form action="{xen:link 'search/search'}" method="post">
<div class="primaryControls">
<input type="search" name="keywords" value="" class="textCtrl" placeholder="{xen:phrase search}..." results="0" title="{xen:phrase enter_your_search_and_hit_enter}" />
</div>
<dl class="ctrlUnit fullWidth secondaryContent">
<dt></dt>
<dd><ul>
<li><label><a href="{xen:link search/search, '', 'type=post', 'thread_id={$thread.thread_id}', 'users={$visitor.username}'}">{xen:phrase your_content}</a></label></li>
</ul></dd>
</dl>
<div class="secondaryControls">
<dl class="ctrlUnit submitUnit fullWidth">
<dt></dt>
<dd><input type="submit" value="{xen:phrase find_now}" class="button primary"></dd>
</dl>
<a href="{xen:link search, '', 'type=post', 'thread_id={$thread.thread_id}'}" class="advSearchLink">{xen:phrase advanced_search}</a>
</div>
<input type="hidden" name="type" value="post" />
<input type="hidden" name="type[post][thread_id]" value="{$thread.thread_id}" />
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>
</div>
</div>
Save and your done!
It would be nice if one of you (if you have a xenforo license), review it and rate it with 5 full stars.