Quote:
Originally Posted by Ron1n
to fix the problem with users not being able to download files even though guests are allowed to ...
go to dl_files.php, search for
Code:
if ($bbuserinfo['userid']) {
if ($file['approved'])
$download = '<a href="./downloads.php?do=file&id='.$file['id'].'&act=down">Download Here</a>';
else
$download = 'This file must be approved before it can be downloaded';
}
else {
$download = 'You must be logged in to download files';
}
replace with
Code:
if ($file['approved'])
$download = '<a href="./downloads.php?do=file&id='.$file['id'].'&act=down">Download Here</a>';
else
$download = 'This file must be approved before it can be downloaded';
|
Added that but now it shows the Download File link but when you click it nothin happens. It however downloads just fine if your logged in. When not logged in the download does nothing...
http://www.247xtreme.com/forums/down...?do=file&id=13