|
Re: Search in selected forums [message #34501 is a reply to message #34468] |
Sun, 05 November 2006 17:36 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Fraid not, right now you can only do searching by:
1 forum
1 category (and all it's sub-categories)
entire forum.
FUDforum Core Developer
|
|
|
Re: Search in selected forums [message #34517 is a reply to message #34501] |
Mon, 06 November 2006 07:48 |
|
Yes, I now this. But do you plan to add a possibility to search in few forums in different categories or in a few different categories?
I mean using
<select class="SmallText" name="forum_limiter" size="10" multiple>
instead of
<select class="SmallText" name="forum_limiter">
[Updated on: Mon, 06 November 2006 07:52] Report message to a moderator
|
|
|
Re: Search in selected forums [message #34534 is a reply to message #34517] |
Mon, 06 November 2006 17:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
This won't work, since the value is converted to an integer and an array of values will translate to 0. The conversion of the forum select to a multiple selection field is kinda tricky and will make the search element occupy far more space then it does now. So, I am uncertain about adding this feature at this time.
FUDforum Core Developer
|
|
|
|
|
Re: Search in selected forums [message #35261 is a reply to message #35256] |
Wed, 20 December 2006 14:29 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You'll need to modify search.tmpl to change the forum select to a multi-select and then change search.inc.t to accept the limiter as an array. Then you can build a list of forum ids and pass them to IN() statement.
FUDforum Core Developer
|
|
|
|
|