Log in

View Full Version : Search & "My Posts"


fkatzenb
01-21-2006, 02:17 PM
We all know about the "My Posts" link as seen my the following code...


<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?do=finduser&u=$bbuserinfo[userid]" rel="nofollow">My Posts</a></td></tr></if>


However what is prefered, is going to Advanced search and do a search my username. I want the "My Posts" link to do that. What can I change the above code to do that?


Thanks!

Frank

peterska2
01-21-2006, 10:50 PM
hmm. It's taken a bit of experimentation but this works

search.php?do=process&showposts=0&starteronly=0&exactname=1&searchuser=$bbuserinfo[username]

As in https://vborg.vbsupport.ru/search.php?do=process&showposts=0&starteronly=0&exactname=1&searchuser=peterska2 versus https://vborg.vbsupport.ru/search.php?do=finduser&u=43427

So basically replace the url bit with the url above and it should then work

fkatzenb
01-21-2006, 11:03 PM
Thats awesome! Thanks very much! I messed around alot to figure this one out...

Frank

peterska2
01-21-2006, 11:06 PM
just don't ask me to do it again, coz I can't remember how I got to that point.