PDA

View Full Version : How to do "Find all thread by user"?


chikkoo
11-23-2008, 11:14 AM
Hello,

In postbit left side, dropdown menu (over username) we can see an option "Find all posts by [user]". I want to add a similar option for "Find all threads started by [user]".

Can somebody guide me how to do this?

Thanks

Lynne
11-23-2008, 04:39 PM
The link would be:
search.php?do=finduser&u=79989&starteronly=1As compared to the link for find all posts:
search.php?do=finduser&u=79989So, modify the template by copying the Find all Posts link and modify as shown above.

The actual code in memberinfo_block_statistics is:
search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]But if you are doing this on the showthread.php page, you would use $post instead of $userinfo.

(Also, if you do a search, you may find a mod to do this.)