The exact changes that I made are:
Change showthread.php
Around line 385 change the following SQL query
Code:
$getpostids=$DB_site->query("
SELECT post.postid FROM post
WHERE post.threadid='$threadid' AND post.visible=1
ORDER BY dateline $postorder LIMIT ".($limitlower-1).",$perpage
To:
Code:
$getpostids=$DB_site->query("
SELECT post.postid FROM post
WHERE post.threadid='$threadid' AND post.visible=1 AND post.dateline <= ".time()."
ORDER BY dateline $postorder LIMIT ".($limitlower-1).",$perpage
Then edit your tomstalkerbot.php
Add the lines
Code:
define ("EARLIEST_REPLY", 20);
define("LATEST_REPLY", 120);
just under
Code:
$ttb_weighting = 100;
Then around line 56 change
Code:
$ttb_time = time() + rand(1,5);
to:
Code:
$ttb_time = time() + rand(EARLIEST_REPLY,LATEST_REPLY);
That should be it. These changes were made to version 2.2.6
There are a couple bugs that I haven't had time to fix yet. 1) the bot will show as the latest poster even though his post won't show yet.
2) If the bots post goes over to the next page then the links for the next page will show, but the bots post won't show till the time it is supposed to.