rusty123
10-06-2011, 12:31 AM
This is from 3.8 I'm trying to port it over to VB4, for some reason the forumchoice[] isn't working in VB4.
<form action="search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="text" name="query" size="22" style="margin:3px 0 3px; padding:4px" />
<select name="forumchoice[]">
<option value="-1" selected="selected">All Forums</option>
<option value="1">forumid1</option>
<option value="2">forumid2</option>
</select>
<select name="titleonly">
<option selected="selected" value="0">All Posts</option>
<option value="1">Titles Only</option>
</select>
<input class="button" type="submit" accesskey="s" tabindex="1" value="Search" name="dosearch" style="margin:3px 0 3px;" />
</form>
This is from the vbulletin 4 single search.
<select id="forumchoice" class="primary" size="5" tabindex="1" multiple="multiple" name="forumchoice[]">
<option class="" selected="selected" value="">Search All Open Forums</option>
<option class="" value="subscribed">Search Subscribed Forums</option>
<option class="d0" value="1"> </option>
<option class="d1" value="5"> </option>
<option class="d1" value="2"> </option>
<option class="d1" value="4"> </option>
<option class="d1" value="6"> </option>
<option class="d1" value="7"> </option>
</select>
<form action="search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="text" name="query" size="22" style="margin:3px 0 3px; padding:4px" />
<select name="forumchoice[]">
<option value="-1" selected="selected">All Forums</option>
<option value="1">forumid1</option>
<option value="2">forumid2</option>
</select>
<select name="titleonly">
<option selected="selected" value="0">All Posts</option>
<option value="1">Titles Only</option>
</select>
<input class="button" type="submit" accesskey="s" tabindex="1" value="Search" name="dosearch" style="margin:3px 0 3px;" />
</form>
This is from the vbulletin 4 single search.
<select id="forumchoice" class="primary" size="5" tabindex="1" multiple="multiple" name="forumchoice[]">
<option class="" selected="selected" value="">Search All Open Forums</option>
<option class="" value="subscribed">Search Subscribed Forums</option>
<option class="d0" value="1"> </option>
<option class="d1" value="5"> </option>
<option class="d1" value="2"> </option>
<option class="d1" value="4"> </option>
<option class="d1" value="6"> </option>
<option class="d1" value="7"> </option>
</select>