PDA

View Full Version : How to search users' threads by prefix?


hiker
01-22-2011, 01:38 AM
I'm looking for the search string that can search a certain user's threads he's started that begin with a certain prefix.

I've got bits and pieces, but here's what I'm looking for.

This search string gives me all of that user's posts, but I want threads started with the prefix of "Trip Report".

http://www.bogley.com/forum/search.php?do=finduser&userid=333&starteronly=1&contenttype=vBForum_Thread

here's the same string, non linked:

http://www.bogley.com/forum/search.php?do=finduser&userid=333&starteronly=1&contenttype=vBForum_Thread

So, &userid=333 can somehow be substituted with $userid and I assume the &contenttype=vBForum_Thread needs to be somehow edited or swapped out with &prefixid=Trip_Report but I'm just not getting the right results.

Any help?

Thanks.

MaemoMeeGo
01-24-2011, 02:53 PM
Same question...

Thanks for any help!

Lynne
01-24-2011, 04:22 PM
I already posted this over on vb.com:

search.php?do=finduser&userid=xxx&starteronly=1&contenttype=vBForum_Post&prefixchoice[]=yyyy
xxx is userid, yyyy is the prefix id from the admincp (not the actual prefix text)

MaemoMeeGo
01-24-2011, 11:36 PM
Thanks Lynne!

I'm using this code for my mod (Quicksearch adv):
?do=process&query=XXXX&titleonly=ZZZZ&contenttypeid=1&searchuser=KKKK&prefixchoice[]=YYYY

http://img442.imageshack.us/img442/5230/ricercarapida1.png

Grazie ;)