PDA

View Full Version : Building Search Strings into a link in a post


darnoldy
02-03-2015, 10:17 PM
Okay...
I want to put a link in a message (any message) that connects to the results of a search.

My thought was simply to run the desired search manually, then paste the url into the href of a standard link BBCode. The problem is that the search results reference a searchid, which is transient.

Can anyone show me how to construct an href to pass the search parameters to search.php?

thanks!

ozzy47
02-04-2015, 10:47 PM
So what exactly is the search parameters you are wanting? Not sure if it can be done, but need more info first.

darnoldy
02-05-2015, 05:23 AM
Okay... so i have a bunch of forums and many of them have prefix sets. Some of the prefixes are in multiple sets—but because of the way sets are built, the prefix ids are different.

As a simplified example:

3 stooges forum has prefixes moe, larry, curly, & shemp
Pep Boys forum has prefixes manny, moe & jack
Bumpkin forum has prefixes larry, darryl1 & darryl2

I want to put a link in a post on the 3 stooges forum that returns all of the posts with the moe prefix, or the larry prefix.

does that make sense?