Quote:
Originally Posted by thedvs
Would it be possible to allow downloading of threads in specific forums only?
|
edit dt.php, find:
PHP Code:
$threadinfo = &$thread;
after that add:
PHP Code:
$allowed_forums = array('1','2');
if (is_array($allowed_forums) AND !in_array($threadinfo['forumid'], $allowed_forums))
{
print_no_permission();
}
Now it allows downloading only in forum 1 and 2.
Edit $allowed_forums = array('1','2'); like to add more forums to allow