MyBB 1.8
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #1
MyBB 1.8
MyBB 1.8 still uses this query in forumdisplay.php like MyBB 1.6?

PHP Code:
613
614
615
616
617
618
619
		$query = $db->simple_select("forums", "threads, unapprovedthreads, deletedthreads", "fid = '{$fid}'", array('limit' => 1));
		$forum_threads = $db->fetch_array($query);
		$threadcount = $forum_threads['threads'];
		if($ismod == true)
		{
			$threadcount += $forum_threads['unapprovedthreads'] + $forum_threads['deletedthreads'];
		}


10-05-2015 05:50 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: