Quote:
Originally Posted by Netz
Hi.
The MOD is completing my link field with http:// how can I stop this to links elsewhere e.g. FTP or a link in a LAN?
|
It should be ok for FTP. When it contains "ftp://", no "http://" is added.
It's in downloads.php:
PHP Code:
// check for http on beginning of link or d/l won't work
if (strpos($newfilename, "http://") === false AND strpos($newfilename, "https://") === false AND strpos($newfilename, "ftp://") === false)
{
$newfilename = "http://".$newfilename;
}
Remove it if you don't want anything added. Or add an extra condition to it.
Quote:
Originally Posted by Opus4
Is there a way to have files from excluded categories hidden from places such as the list of Latest Files? I am trying to create a hidden category, but the files in that category are still visible in other places -- the users can't download the files, but it is still visible so the category isn't really private. I've searched this topic & saw this mentioned before, but if there is a solution, I didn't see it.
|
It's on my todo list, but I'm only updating the vB4 version.