Only Show A Specific Users Posts In A Thread
This modification is in the archives.
Author: NTLDR
Version: 1.0.0 vB Compatibility: vB3 Gamma, RC1, RC2 Description: This hack will allow you to only show posts by a specific user on showthread.php. Usage: showthread.php?threadid=1&userid=X showthread.php?threadid=1&username=Y (i.e add &userid=X for all posts by userid X or &username=Y for all posts by user Y). File Edits: In showthread.php find: PHP Code:
if ($threadedmode == 0)
PHP Code:
// EDIT ########################################################################
PHP Code:
WHERE threadid = $threadid AND visible = 1 $delthreadlimit
PHP Code:
$usersql
Find (just after the last edit): PHP Code:
WHERE threadid = $threadid AND visible = 1
PHP Code:
$usersql
PHP Code:
$postids = "post.postid IN (0" . $ids . ")";
PHP Code:
if (empty($ids) && $uidwhere) {
Please click install if you use this hack Download No files for download. |