Quote:
Originally Posted by superjeff
There is an easy fix: Go to plugin manager > generate thread url and delete the query about "if lastpost isn't in the first page"
|
Is this what I had to removed:
//If lastpost isn't in the first page of the thread
$tfseo_tot_post = $vbulletin->db->query_read_slave("
SELECT thread.replycount
FROM " . TABLE_PREFIX . "thread AS thread
WHERE threadid = '$lastpostinfo[lastthreadid]'
");
$a = mysql_fetch_assoc($tfseo_tot_post);
$a = implode($a);
$a = $a / $vbulletin->options['maxposts'];
$a = floor($a);
$tfseo_total_page = $a + 1;
I did this and got my queries back down to 18. However I am curious if this will affect anything?