MyBB 1.8
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #5
RE: MyBB 1.8
Yep. I think it should uses the previous query (the query which count threads by using threads table) if $prefixsql has a value.

Also, you may interest to this lines in showthread.php

PHP Code:
369
370
371
372
373
374
375
376
	$query = $db->simple_select("forums", "threads, unapprovedthreads", "fid = '{$fid}'", array('limit' => 1));
	$forum_threads = $db->fetch_array($query);
	$threadcount = $forum_threads['threads'];

	if(is_moderator($fid, "canviewunapprove") == true)
	{
		$threadcount += $forum_threads['unapprovedthreads'];
	}


10-09-2015 03:33 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
MyBB 1.8 - RateU - 10-05-2015, 05:50 AM
RE: MyBB 1.8 - nier3 - 10-05-2015, 09:33 AM
RE: MyBB 1.8 - RateU - 10-06-2015, 03:16 AM
RE: MyBB 1.8 - Sama34 - 10-08-2015, 06:00 PM
RE: MyBB 1.8 - RateU - 10-09-2015 03:33 AM

 Standard Tools
Forum Jump: