*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:
Quote:
[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?
Quote:
[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'";
}
|