PDA

View Full Version : External Search Forum


apdcanari
06 Jan 2006, 22:05
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
06 Jan 2006, 22:46
For example : http://www.apdcanari.com/

KW802
06 Jan 2006, 22:52
... and what does this do exactly? :confused:

apdcanari
06 Jan 2006, 22:53
You can search everywhere.

On your site
On your board
On an external site


PS : I speak French... :ermm:

KW802
06 Jan 2006, 22:56
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
06 Jan 2006, 22:57
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
07 Jan 2006, 04:49
Great idea, can you restrict which forums the search, "searches"?

Snake
07 Jan 2006, 09:46
Good hack!

apdcanari
07 Jan 2006, 13:45
Search by user now..

stark427
13 Feb 2006, 19:18
Great idea, can you restrict which forums the search, "searches"?

Good idea
I need this too....

Allan
13 Feb 2006, 19:37
Slt le francais ;)

Beau boulot en tout cas :)

Good job ;)

stark427
14 Feb 2006, 04:42
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" />

:)