View Full Version : forumdisplay to show single users threads
MickDoneDee
04-29-2006, 04:38 PM
Could someone tell me whether this requires just a template hack, a file hack or both?
I want to put a link into an individual's postbit to display that individual's threads in a specific forum. For example: "View my articles". When clicked the Articles forum loads with just that user's threads displayed.
If this requires too much hacking is there a simpler alternative?
Steven Gibbons
04-30-2006, 12:34 PM
I think you would just need to do a template hack, becuase all you want to do basically i think is to have it like when you do a search for all threads by a certain user name, so you would want to have the button link and have it do a search like changing userid in the search and have it choose their id if you get what i mean.
MickDoneDee
04-30-2006, 07:01 PM
Hi Steven, I need a solution that doesn't involve search.php because that produces a search id which is not suitable to include in a link because the database only stores search ids temporarily. I need a URL that will find a member's threads in a specific forum when a user clicks a link.
Can any action be done on postusername apart from sort? Can postusername be limited by username? If I type Mike in a text field and click Go, only Mike's threads are displayed and the URL shows something like:
/forumdisplay.php?s=&f=4&page=1&pp=20&sort=postusername&order=desc&userprune=Mike
I need a prune function like daysprune but called userprune which just shows threads of a user specified in a text field entry.
Update: I found an article (http://www.vbulletin.com/forum/showthread.php?t=107955) on vBulletin.com that explains how to do a search with a url so I've decided to do that. Not exactly what I wanted (to display the results within the forum) but at least I can make a link which will search for the results. I insert something like this into the users custom title field so that it appears in their postbit.
WAT Journalist  <a href="/search.php?do=process&forumchoice[]=69&exactname=1&searchuser=Paoli&starteronly=1">Read my Articles</a>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.