Forum Moderators: mack

Message Too Old, No Replies

Forum search on main page of website?

         

Clagger

2:34 am on Apr 7, 2006 (gmt 0)

10+ Year Member



Gday,

Basically a friend is making a website and has bugger all time to actually do anything with it. So I decided to pull my finger out on my day off and look for some answers to his problems.

On the main page of his website he has a search forums function, so it goes strait to his phpBB 2.0 search, rather then going the long way about it and looking for the forum and then searching.

He is having a problem with;

Entering the text in the box/field (what ever its called, like where you enter search terms in google) and then making the "SEARCH" button making a search on the forum.

So my questions are;
A. Is it possible to have the search function on the main page.
B. If so, where do I go to find the encoding.
C. (this is just a random Q) Would it have to be a PHP file, or a HTML file? (I wouldn't know the difference anyway)

Clagger

1:52 am on Apr 10, 2006 (gmt 0)

10+ Year Member



Well after a weekend of staring at a computer screen I got it to work. So just incase someone else ever comes here looking for the answer they have it.

<form action="http://YOURDOMAIN.com/phpBB2/search.php?mode=results" method="POST">
<span class="genmed"><input style="width:116;height:21" size="20" class="post" name="search_keywords" size="20" value="Have a question?" /><input class="liteoption" type="submit" value="Search" />

GrendelKhan TSU

9:16 am on Apr 10, 2006 (gmt 0)

10+ Year Member



cool!

I might actually need that. :) I don't use pbb but I'm sure this will help point me in the right direction when I do delve into.

thanks!