Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Users cannot view threads when permission "Can Post Threads?" is unchecked. [C-Chris]
#11
Try this. In admin/inc/functions.php find:

$query2 = $db->simple_select("forumpermissions", "canviewthreads,candlattachments,canratethreads,caneditposts,candeleteposts,candeletethreads,caneditattachments,canvotepolls,cansearch", "fid='{$fid}' AND gid='{$usergroup['gid']}'", array('limit' => 1));
$existing_permissions = $db->fetch_array($query2);

add after

if(!$existing_permissions)
{
	$query2 = $db->simple_select("usergroups", "canviewthreads,candlattachments,canratethreads,caneditposts,candeleteposts,candeletethreads,caneditattachments,canvotepolls,cansearch", "gid='{$usergroup['gid']}'", array('limit' => 1));
	$existing_permissions = $db->fetch_array($query2);
}
#12
Yep, that seems to work fine Smile
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#13
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group
#14
Thanks Ryan Smile


Forum Jump:


Users browsing this thread: 1 Guest(s)