View Full Version : Who Posted: Show Only Selected User's Posts In Thread
Gamingforce
06-18-2004, 10:00 PM
[ Feature Description ]
This feature allows you to view all posts made by a user in a single thread (very useful for large threads). This feature is accessed by the Who Posted? window.
[ Tested on ]
vBulletin version 3.0.1 (should work on any vBulletin 3 series)
[ Example ]
http://www.gamingforce.com/forums/
Click on any forum and then any reply number next to the thread. You get the Who Posted? popup window. From there just click the number next to the username to view all posts by that user in the thread.
Enjoy! :)
HakkieDEV
06-19-2004, 09:51 PM
Wow, I'll definitly install this in the nearest future!
And I have to say: Great hack!
Intex
06-21-2004, 08:32 AM
Yep, works well actually. I was looking in the wrong place intially :p.
turbidblue
07-13-2004, 06:58 PM
wow! so simple yet so damn handy!! thanks so much!
oh, i am running 3.0.3 and this installed with no problems! :)
* turbidblue clicks install
Bulent Tekcan
08-31-2004, 12:50 PM
Can I add this function in postbit ?
MickDoneDee
10-01-2004, 08:56 AM
*install* on vB3.0.3 without a problem except for the one mini2 described. That was fixed with code supplied by mini2. Original txt file should be updated to include that fix.
I couldn't find this code in the showthread.php file for vB3.0.3:
[FIND]:
WHERE threadid = $threadid AND post.visible = 1
ORDER BY postid
[REPLACE WITH]:
WHERE threadid = $threadid AND post.visible = 1 $onlybysql
ORDER BY postid
But the hack still works regardless. Why doesn't this section of added code include a curly bracket before it?
[ABOVE THAT ADD]:
$onlybyuserid = trim($_GET['onlybyuserid']);
$onlybyuserid = ($onlybyuserid + 1); // Security
$onlybyuserid = ($onlybyuserid - 1); // Security
unset($onlybysql); // Security
if ($onlybyuserid > 0) {
$onlybysql = "AND post.userid = '$onlybyuserid'";
}
Bulent Tekcan
11-11-2004, 08:54 AM
t=$threadid&onlybyuserid=$ it is OK
But why p=$ not work....Because every time this message ocuured
No Thread specified. If you followed a valid link, please notify the webmaster
Can I see in p= variable ???
Bulent Tekcan
11-23-2004, 08:53 PM
Any idea ???????
zetetic
06-01-2005, 04:22 AM
Any idea ???????
Yes, if you want to use this in the postbit the $_GET variable for threadid isn't always set, so for this to work you have to change $_GET[threadid] to $GLOBALS[threadid] in the template. I have it working fine in my postbit now on 3.0.6.
zetetic
04-30-2006, 08:53 PM
Any chance you'll be porting this to 3.5?
Parker Clack
05-27-2006, 12:15 PM
I would love to see this ported over to 3.5
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.