2018-08-04, 11:03 AM
Hi,
just want to report a small bug that I found.
User groups that have enabled in forum permissions "Can only view own threads" can see in the streams posts/threads that they could not see.
I fixed it temporarily adding (taken from the portal.php latest threads)
in dvz_stream/stream/threads.php in the while loop
just want to report a small bug that I found.
User groups that have enabled in forum permissions "Can only view own threads" can see in the streams posts/threads that they could not see.
I fixed it temporarily adding (taken from the portal.php latest threads)
$forumpermissions[$row['fid']] = forum_permissions($row['fid']);
// Make sure we can view this thread
if(isset($forumpermissions[$row['fid']]['canonlyviewownthreads']) && $forumpermissions[$row['fid']]['canonlyviewownthreads'] == 1 && $row['uid'] != $mybb->user['uid'])
{
continue;
}
in dvz_stream/stream/threads.php in the while loop