I have reversed the order, and told the query to only query thread smaller than startat.
PHP Code:
$threads = $db->query_read("
SELECT title, threadid
FROM " . TABLE_PREFIX . "thread
WHERE threadid >= " . $vbulletin->GPC['startat'] . "
ORDER BY threadid
LIMIT " . $vbulletin->GPC['perpage']
);
The process still starts with the first thread.
--------------- Added [DATE]1252425524[/DATE] at [TIME]1252425524[/TIME] ---------------
Hmm, that's weird.
I can load misc.php, but as soon as I add the variables "&do=updatethread&startat=12345", I get a 404 error.
http://mydomain.com/forum/admincp/mi...&startat=40000 gives me a 404.
http://mydomain.com/forum/admincp/misc.php loads just fine.
Must be something in the htaccess file, I guess.
--------------- Added [DATE]1252425598[/DATE] at [TIME]1252425598[/TIME] ---------------
There should be a form field added to the maintenance page that lets you define the startat value.