SEO-Board: Free, Fast and Search Engine Optimization Friendly Forum Script
»User: »Password:   Remember Me? 
SEO-Board Forum Software Community / SEO-Board / Comments and Suggestions / Additional search functionality
Posted:  06 Jun 2005 01:15   Last Edited By: dRB
Love the board. Works great.

Added some functionality to the search feature.

By design, I want anyone to be able to search the forum. This may be a feature that others would like as well.

Currently (from what I can seen - maybe I am wrong on this) guests are unable to search.

So the following snippet was added ... perhaps good to integrate into future releases:

[seo-board_options.php]
* added variable *
Code:

$guestscansearch=1 //0-no 1-yes


[search.php]
* modified line 20 *
Code:

if ($user_id == 0)

* to test guestscansearch variable *
Code:

if ($guestscansearch == 0)




-dRB
Posted:  06 Jun 2005 10:05
The search can be easily modded to allow guests to search. The search generates a list of topics, and puts them in the db table. Later the results are accessed using a search id in the url. SEO-Board saves the user_id of the user who searched. This way other users won't be able to see the search results of searches made by other users when they haven't expired. With your mod, a guest can possible see the search results of a search made by another guest. Not that it is such a big deal.
__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com