Thread: Major Additions - DownloadsII
View Single Post
  #1822  
Old 10-19-2007, 11:56 AM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBORGUSER View Post
To get rid of statistics :

AdminCP -> Downloads -> Settings -> Display "Tops" on all pages? -> No

This was logial, and had done that already, alltough i do not care about a top 5 or something like that ; nice feature if it does not show how many times it was downloaded.

Anyway, this is clear.

The only thing i don't want to be public is :

- how many files are downloaded
- how many data is used

So any referal to any page concerning quanties.

How can we get rid of that :up:

(editing the downloads_main did not solve it)

Thanks for your help !
Ok, that's more clear

For the italic download amounts (most popular files), you need to edit the downloads_panel bit template and remove $value from it (then run the Update Counters feature to empty the cache of the left box stats).

Also edit downloads_file for the file page and remove
HTML Code:
    <tr> 
     <td class="alt1">{$vbphrase['ecdownloads_downloads']}:</td>
     <td class="alt2" colspan="3" valign="middle" align="left">{$file['downloads']}</td>
    </tr>
for the amount of downloads.

For the amount of downloads on the category view, you need to do three template edits:
  1. Edit the downloads_cat template and remove
    HTML Code:
    <option value="downloads.php?do=cat&amp;id={$cleancatid}&amp;sort=downloads">{$vbphrase['ecdownloads_total_downloads']}</option>
    This removes the amount of downloads sorting method.
  2. Edit the downloads_cat_files template and remove
    HTML Code:
    <td class="thead" width="10%" align="center"><a href="./downloads.php?do=cat&amp;id={$cleancatid}&amp;sort=downloads" rel="nofollow">{$vbphrase['ecdownloads_downloads']}</a></td>
  3. Edit the downloads_cat_filebit template and remove
    HTML Code:
    <td class="$bgclass" valign="top" align="center" height="40"><span class="smallfont">{$file['downloads']}</span></td>

You need to do three template edits for the my files page (if users can upload files, otherwise you are the only one who can see stats there):
  1. Edit the downloads_my template and remove
    HTML Code:
    <td class="thead" width="17%">{$vbphrase['ecdownloads_downloads']}</td>
  2. Edit the downloads_my_bit template and remove
    HTML Code:
    <td class="$bgclass">{$file['downloads']}</td>

What do you mean with "how many data is used"? The file size, or the bandwidth counter?
For the last one, you need to edit downloads.php and remove
PHP Code:
<a href="./downloads.php?do=stats">'.$vbphrase['ecdownloads_stats'].'</a> | 
This will remove the navigation link to the stats page.

Quote:
Originally Posted by maidos View Post
actually the files is stored on the same server but in different directory, my uploaders just add the url on add my links..
the reason is because i got alot of uploaders and if theyuploadfrom the browser my server just die since im running on dedicated server and my /tmp/ is only set on 500mb, and since only admins can importthe file it would be a issue right?

what im telling is the /downloads/ request on php which cloak the real url when ppl download it using download managare what i want is that the script request on php on my other directorys aswell
That would require some PHP surgery. It would need to detect the fact that a linked file contains your site url and then it would need to use the cloaked method.

Easier is to add a .htaccess file to block hotlinking. You can find a hotlink protection .htaccess generator here. Set the extensions of the big files your admins are uploading as the "Files To Protect" and upload the .htaccess to your alternative downloads folder.

Quote:
Originally Posted by logofreax View Post
Now, I installed newest Version 5.0.5 but no Confirmation Window if I am deleting a File.

Whats wrong?

cu
logofreax
There's only a JavaScript deletion prompt on the file pages (for the file itself, comments and images). The Manage Files page hasn't got the prompt, so files will be deleted immediately if you are using that way.

Note that you need JavaScript enabled in your browser, but I don't think that's the problem

If it doesn't work on the file page, can you pm me a test account (with file deletion rights for DownloadsII), so I can check it out?

Quote:
Originally Posted by Black Tiger View Post
@RS_Jelle:
The problem I have do not occur with all the old moved files. I just discovered that a file which gives a corruption notice when downloaded with IE6, does NOT give any problems when downloading with Firefox Portable.
So maybe the problem is lying in Internet Explorer 6 or one of the latest updates from windowsupdate for IE6.
Do you know of any incompatibility problems with IE6 and or linux/apache/php server settings needed for this to work well?
Can you pm me a test account for your site?

If you are doing your Windows Update correctly, you would normally get the newer Internet Explorer 7 (on Windows XP).
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01829 seconds
  • Memory Usage 1,813KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_html
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete