Page 1 of 1

Posting a search within an individual forum

Posted: Mon Jul 13, 2009 6:31 pm
by AOW
I was trying to post a link to the search function to help somebody in the Maintenance forum. Maintenance is forum ID # 27, so the url should be

Code: Select all

http://www.avcanada.ca/forums2/search.php?keywords=Voyageur+VAL&terms=any&author=&fid[]=27&sc=1&sf=all&sk=t&sd=d&sr=posts&st=0&ch=-1&t=0&submit=Search
however, trying to use the "" tags throws an error because of the b ... mit=Search

I thought maybe it would help if I put the url in quotations, but
Doesn't work either

now if I try to use the automatic URL parsing function, it only parses up until the square brackets, so I get this:
search.php?keywords=Voyageur+VAL&terms= ... mit=Search

Surely, there must be some way to post a link to a search on this board!! I took out the offending brackets and it works, except the search is for every forum, not just maintenance.

Any phpBB gurus out there?

Re: Posting a search within an individual forum

Posted: Mon Jul 13, 2009 7:11 pm
by AuxBatOn
search.php?keywords=Voyageur+VAL&terms= ... mit=Search

I'm not sure why the [] is in the search URL...

Re: Posting a search within an individual forum

Posted: Mon Jul 13, 2009 7:13 pm
by AOW
the [] is there as part of fid[]=27 or forum id = 27 (maint). The search you posted is site wide, I just want to get results from the maintenance forum. But thanks for trying.

Re: Posting a search within an individual forum

Posted: Mon Jul 13, 2009 7:15 pm
by AuxBatOn
Does that work?

search.php?keywords=Voyageur+VAL&terms= ... mit=Search

You need to make the [ and the ] as HTML code ( %5B for [ and %5D for ] )

Re: Posting a search within an individual forum

Posted: Mon Jul 13, 2009 7:16 pm
by AOW
perfect! I should have thought of that!

Re: Posting a search within an individual forum

Posted: Mon Jul 13, 2009 7:25 pm
by Widow
Place the link inside the "url" tags, where "" = [].

To get

a link to the search function
"url"search.php"/url"

a link to a completed search for "voyageur + VAL" in all forums
"url"search.php?keywords=Voyageur+VAL&terms= ... mit=Search"/url"

a link to a completed search for "voyageur" in the "maintenance (27) forum
"url"search.php?keywords=voyageur&terms=all& ... mit=Search"/url"

To display different text
"url=link"DISPLAY"/url"

Note the system will not search for words of three letters and under (like VAL).

Re: Posting a search within an individual forum

Posted: Mon Jul 13, 2009 7:34 pm
by AOW
Thanks to both of you. I was trying way too hard, and it was in fact a very simple answer...

A