Log in

View Full Version : External Search Forum


apdcanari
01-05-2006, 10:00 PM
It's easy !

Code :

Search Titles Only

<form action="http://www.apdcanari.com/forum/search.php" method="post" name="search">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="quicksearch" value="1" />
<input type="text" name="query" size="20" value="Search" onfocus="this.value=''" />&nbsp;
<input type="submit" value="Go" name="gobutton">
</form>

Search Entire Posts

<form action="http://www.apdcanari.com/forum/search.php" method="post" name="search">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="1" />
<input type="hidden" name="quicksearch" value="1" />
<input type="text" name="query" size="20" value="Search" onfocus="this.value=''" />&nbsp;
<input type="submit" value="Go" name="gobutton">
</form>

Search Titles Only or Search Entire Posts

<form action="http://www.apdcanari.com/forum/search.php" method="post" name="search">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="text" name="query" size="20" value="Search" onfocus="this.value=''" />&nbsp;
<select name="showposts">
<option value="0">Search Titles Only</option>
<option value="1">Search Entire Posts</option>
</select>&nbsp;
<input type="submit" value="Go" name="gobutton">
</form>

Search Titles Only or Search Entire Posts and Search by User (Find Posts by User or Find Threads Starterd by User)

<form action="http://www.apdcanari.com/forum/search.php" method="post" name="search">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="text" name="query" size="20" value="Search" onfocus="this.value=''" />&nbsp;
<select name="showposts">
<option value="0">Search Titles Only</option>
<option value="1">Search Entire Posts</option>
</select>&nbsp;
<input type="text" class="bginput" name="searchuser" id="userfield_txt" size="20" value="User Name" autocomplete="off" onfocus="this.value=''" />&nbsp;
<select name="starteronly">
<option value="0">Find Posts by User</option>
<option value="1">Find Threads Starterd by User</option>
</select>&nbsp;
<input type="submit" value="Go" name="gobutton">
</form>


Url...

C?dric :rolleyes:

http://www.apdcanari.com/

apdcanari
01-06-2006, 08:46 PM
For example : http://www.apdcanari.com/

KW802
01-06-2006, 08:52 PM
... and what does this do exactly? :confused:

apdcanari
01-06-2006, 08:53 PM
You can search everywhere.

On your site
On your board
On an external site

PS : I speak French... :ermm:

KW802
01-06-2006, 08:56 PM
You can search everywhere.

On your site
On your board
On an external site


PS : I speak French... :ermm:Ah... OK. So the forms you posted would be used, for example, on a plain HTML page to launch a search of forums. Got it. :D

apdcanari
01-06-2006, 08:57 PM
Ah... OK. So the forms you posted would be used, for example, on a plain HTML page to launch a search of forums. Got it. :D

yes :rolleyes:

Antivirus
01-07-2006, 02:49 AM
Great idea, can you restrict which forums the search, "searches"?

Snake
01-07-2006, 07:46 AM
Good hack!

apdcanari
01-07-2006, 11:45 AM
Search by user now..

stark427
02-13-2006, 05:18 PM
Great idea, can you restrict which forums the search, "searches"?

Good idea
I need this too....

Allan
02-13-2006, 05:37 PM
Slt le francais ;)

Beau boulot en tout cas :)

Good job ;)

stark427
02-14-2006, 02:42 AM
Great idea, can you restrict which forums the search, "searches"?

With a little help from Brian over at VBadvanced.com I found that this could work by adding this line :

<input type="hidden" name="forumchoice[]" value="your_forum_id_here" />

:)