Quote:
Originally Posted by maidos
also can u please answer my second msg
|
I'm sorry, but I really don't understand the problem. I checked your downloads and I can see an Anime category. Categories can't disappear, or you should have deleted them (as that's the only existing query which can delete them).
Quote:
Originally Posted by Black Tiger
I got a problem. I moved my site from servers and uploaded all the files which already were in Downloads II via FTP with the according numbers in the filename like: 15567-arioner.zip
There was a problem downloading via the site so my provider activated php-suexec and now downloads are possible but another error occurs.
When downloading files via the site, the zip and rar files have errors or a map in a rar file shows as a file.
When downloading via ftp however, the file comes in correctly.
So something must be wrong but I don't know what.
Files imported and uploaded either with ftp or via the web can be downloaded without problems.
So it looks as if the files which were already present before the server move, can't be downloaded without errors anymore. Is there a fix for this?
Did I forget something or did something wrong?
Edit: Just discovered another thing when clicking in the ACP on import, it says:
The absolute path to this script is /home/mydomain/domains/mydomain.org/public_html/bbs/admincp/
It should be /home/mydomain/public_html/bbs/admincp but i don't know where to change that.
Re-imported the downloads II product but that did not change anything... help?
|
Check the chmod of newly uploaded files and compare it with the chmod of old, existing files in the downloads directory on your FTP. Possibly you didn't change the chmod of the files after moving servers.
Quote:
Originally Posted by maidos
also the scriptdoesnt work on the browser AOL please check it
|
I don't know if there's anyone else here using that browser to confirm this? I'm only testing with the major browsers: Firefox, Internet Explorer, Opera and Safari.
AOL Browser seems to be built upon Internet Explorer, so it should work normally. Normally all modern browsers should work with DownloadsII as we aren't using any exotic code.
Quote:
Originally Posted by logofreax
Questions about Confirm on Deleting Files.
I read that at Version 5.0.4 there will be a Window which I have to confirm, when I am deleting Files. But at my Version 5.0.4 there is no one.
How can I activate it?
cu
logofreax
|
That should work. Have you reverted all downloads templates to get the newest version of them (if you edited them)?
Quote:
Originally Posted by maidos
feature request: instead of restricting size limits can u instead set amount of download restrictioninstead ?
|
That's already an existing usergroup permission: "This is the maximum number of files that a user can download in one day. Set this to -1 for there to be NO limit."
Quote:
Originally Posted by TheFixx
After looking through this Mod (great job btw!), I could not find the answer to my question, and did not feel like reading all 121 pages.... lol, anyway here is the question. What I would like to do is have the download section show another box, containing the actual URL. I am using this as a place for clan members to upload files and then embed them via bbcode into the actual forum.
Unfortunately I am still in the process of learning actual coding and this is beyond me for the time, so any help would be highly appreciated.
|
You could edit the downloads_file template and add something like this:
HTML Code:
<tr>
<td class="alt1">Direct file link:</td>
<td class="alt2" colspan="3" valign="middle" align="left"><input type="text" class="bginput" name="directlink" size="50" value="<if condition="$file['link']">{$directlink}<else />http://www.yoursite.com/downloads/{$directlink}</if>" /></td>
</tr>
after:
HTML Code:
<tr>
<td class="alt1">{$vbphrase['ecdownloads_downloads']}:</td>
<td class="alt2" colspan="3" valign="middle" align="left">{$file['downloads']}</td>
</tr>
Change
http://www.yoursite.com/downloads/ to your actual site/downloads folder url. Note that hotlinking can be problematic (everyone can link to the content on your server, so they are consuming your bandwidth).
Finally open downloads.php and find the second instance of:
PHP Code:
$downloads = vb_number_format($file['downloads']);
Add the following on the next line:
PHP Code:
$directlink = htmlspecialchars_uni($file['url']);
This is necessary for protection against an XSS security issue.