Actually it should work, but for some reason it's not working.
Please try to implement the following modification in modules/boonex/files/classes/BxFilesTemplate.php file:
function getBasicFileInfoForm (&$aInfo, $sUrlPref = '')
{
$aForm = parent::getBasicFileInfoForm($aInfo, $sUrlPref);
if(!empty($aInfo['albumCaption']) && !empty($aInfo['albumUri']))
$aForm['album'] = array(
'type' => 'value',
'value' => getLink($aInfo['albumCaption'], $sUrlPref . 'browse/album/' . $aInfo['albumUri'] . '/owner/' . getUsername($aInfo['medProfId'])),
'caption' => _t('_bx_files_album')
);
$oModule = BxDolModule::getInstance('BxFilesModule');
if ($oModule->isAllowedDownload($aInfo))
$aForm['link1'] = array( 'type' => 'value', 'value' => getLink(_t('_Download'), $sUrlPref . 'get_file/' . $aInfo['medID'] . '.' . $aInfo['medExt']), 'caption' => _t('_bx_files_single') );
return $aForm;
}
text in red was added.
It adds direct link to the file and add file extension to the link
If the problem will not be resolved then try to go to google webmaster tools and fetch some of your pdf/doc urls by google:
click on your site (or add it, if it isn't there) > Crawl > Fetch ad Google
it should show you the problems if there are any