Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Chucky - joulukuu 30, 2005, 01:53:05 AP

Otsikko: Search forum topics on regular website pages
Kirjoitti: Chucky - joulukuu 30, 2005, 01:53:05 AP
I'm not sure if I'm posting this in the right section but I suppose this is where it should go.

I need to know how I would go about using the search feature on the forum and put it on a regular php page on my site. I want the search to only focus on a few of the boards on my forum and only want it to search the topic subject title.

It would be ideal for the search function to just have a text box (to enter your search) and a submit button below, or perhaps a submit button and also a link to give you the extra search options.

Possible?
Otsikko: Re: Search forum topics on regular website pages
Kirjoitti: JayBachatero - joulukuu 30, 2005, 10:21:21 IP
There is away to do a full forum search.  Take a look at http://yourwebsite.com/board/ssi_examples.php.  I will see if there is a way to limit it only to certain boards.

-JayBachatero
Otsikko: Re: Search forum topics on regular website pages
Kirjoitti: Chucky - tammikuu 07, 2006, 04:48:18 AP
That search option shows up in the shtml examples but not the php examples. ::)

Is there anyway to imbed the search function into my own page and have certain boards already ticked (not all of them ticked) as they visit the page?
Otsikko: Re: Search forum topics on regular website pages
Kirjoitti: JayBachatero - tammikuu 07, 2006, 01:26:45 IP
At the moment no but it's possible by doing a few changes to the search function in SSI.php

-JayBachatero