UBB.Dev
Posted By: ericgtr Forum Search - 12/09/2003 8:25 PM
Not sure if this has been brought up but it would be neat to have a "per forum" search in the header of a specific forum.
Posted By: slayer60 Re: Forum Search - 12/09/2003 10:15 PM
Hmm, the modification index has a search for just the modifications. Perhaps that code could be disected for a starting point.
Posted By: RandyJG Re: Forum Search - 12/10/2003 2:10 AM
Do you mean like the one already in the footer?
Posted By: omegatron Re: Forum Search - 12/10/2003 2:22 AM
Yes there is a per forum search in 6.4 in the postlist extra information box NOT FOOTER.

You can add this code where up higher in postlist.tmpl near the top

Find this:

$changetext
$changestop
 
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>


Place this under it:

<tr>
<td align="center" class="lighttable">
<form method="post" action="{$config['phpurl']}/dosearch.php">
<input type="hidden" name="Cat" value="$Cat" />
<input type="hidden" name="Forum" value="f$bonumber" />
<input type="hidden" name="daterange" value="0" />
<input type="hidden" name="where" value="bodysub" />
{$ubbt_lang['SEARCH_FORUM']}
<input type="text" name="Words" class="formboxes" />
<input type="submit" name="textsearch" value="{$ubbt_lang['TEXT_SEARCH']}" class="buttons" />
</form>
</td>
</tr>

You can see it in action right here

http://www.reeftalk.com/ubbthreads/postlist.php/Cat/0/Board/UBB1
Posted By: ericgtr Re: Forum Search - 12/10/2003 2:52 AM
Cool, thanks!
Posted By: DrChaos Re: Forum Search - 12/10/2003 4:17 AM
woa, nice. Ill upgrade tommorow
Posted By: Zarzal Re: Forum Search - 12/10/2003 10:19 AM
yes, the new V6.4 search is nice, but not perfect. I miss the following:

Display threads only where the search was found
Display threads there where active in the selected time.

This is needed if yo revisit the board after a holliday or long weekend to get an first impression about all active threads. In V6.3 I installed YASM to do this and now I miss it. It should be a little enhancement to the actual search engine.
© UBB.Developers