PDA

View Full Version : Search threads in specific forum code?


bludhound
03-23-2011, 09:48 PM
Hello, i need a bit of help on coding something.

I want to add a link to all users postbits that will link to a search of threads started by that person in a specific forum.

I already know where i would need to code this but I'm having trouble on the actual code needed to do this. So far I've got this:

<a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw userinfo.userid}&amp;starteronly=1&amp;contenttypeid=1&amp;for umchoice[]=1&amp;childforums=2&amp;">My Creations</a>

But when i click that link it says:

"Please add more constraints to your search. Searches that return all or most of the database are a bad idea"

I'm new to vb code so have no idea if I'm even close to achieving what i want.

Could someone help guide me on how to achieve this?

Thanks.