Can someone help us with search parameters in the url?

Started by I Agree, October 17, 2008, 06:24:44 AM

Previous topic - Next topic

I Agree

First off, if someone can point me to documents that is great.

I'd like to generate a search url if possible. That does a subject search for the entire subject name in quotes in a specific board is all.

So we can generate a discussion link to a post in the forums per blog item. We reckon it's better to just do a search, because that can be automated easier in case the nature of the thread urls change. If there is a way to go straight to the post (if no other matches) that would be great.

Thanks!

ThorstenE

here is a short example for using search parameters:

index.php?action=search2;brd[]=1;subject_only=1;search=test

brd[]=1 (is an array for ID_BOARD, example searches in the board with ID =1)
subject_only = 1 means subject search only
search=test (test is the search string in my example)

I Agree


Advertisement: