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

Quote:
Originally Posted by Black Tiger View Post
@RSJelle: Ik checked the chmods, they were both the same. Even checked the file owner, they ware both satfun.
When the rights would not be ok, it would be impossible to download, but dowload is possible, only the downloaded files will be corrupted.
I just checked with files which were imported after the servermove and they are all the same, rights are rw-r--r-- and owner is satfun:satfun on all files.
Hmm, that's pretty strange then
New files work correctly, old files are corrupted, but they aren't if you download them using FTP. So the problem has to be something with the files in the downloads folder.

The chmod and owner of the old files is the only thing I can think about, but they are the same
I also did some server moves and doing a chmod/chown was the only thing I did to get it back to live.

Quote:
Originally Posted by maidos View Post
also when you add the llinks the file url wont be cloaked as if you wouldimportthe files!
how can i do the samefor my other directory which is where i use to add links

also fdorsome reason myentire category is gone, but not entierly since i can access a file that were located at that directory that was supposed to be deleted but it still exist!!!!

it says thefile is on main downloadpage when i cant see a single file there

beside can you make a own section for moderator to import incase its not possible to cloak the url, since it seems on /downloads/ have a protection against reveealing the true url location
Linking to a file is something totally different than importing it. A link is ... well a link (file isn't stored on your server) and importing it is done on your server. Changing this behaviour isn't something we can do easily, so I can't give you five lines of PHP code to change for something big like this.
We do our best to give users what they want, but we can't code everything custom.

A category, like I said, doesn't disappear suddenly. The only way they go away is when you remove them using the AdminCP. Other, external reasons can be a corrupt table in your database for example, so try running a repair command on all your database tables for example.

Quote:
Originally Posted by TheFixx View Post
Thanks I do have one issue with it though if you wouldn't mind taking a peek, I can set up an account for you with access to it. It's just showing up as "http://www.mysite.net/forum/downloads/" instead of "http://www.hostileint.net/forum/downloads/filename.ext" though.
That's strange. I tested it now and it works for me
Are you sure you've done the downloads.php edit correct (placed the code after the second instance of the code to find)? I've attached a pre-edited downloads.php, try uploading that one to be sure.
If that's not working, you can pm me an account so I can check it out.

Note that you need to change http://www.yoursite.com/downloads/ in the template edit to match your site details, so http://www.hostileint.net/forum/downloads/ for your site.

Quote:
Originally Posted by VBORGUSER View Post
How to get rid of the stats in Downloads II 5.0.5 please ?

Want to hide everything regarding quantity of downloads and data.

Any suggestion please ?
AdminCP -> Downloads -> Settings -> Display "Tops" on all pages? -> No
That's a beginning to remove the left panel stats (most popular files, newest files and top contributors) on most pages.
Also set "Number of "Latest Files" to Display", "Number of "Most Popular Files" to Display" and "Number of "Top Contributors" to Display" to 0.

For hiding other statistics, you need to edit the downloads templates manually. For example remove
PHP Code:
   <tr align="center">
    <
td class="thead" colspan="4">
     <
span style="float:left">{$vbphrase['ecdownloads_downloads']}: {$dl->stats['downloads']}</span>
     <
span style="float:right"><phrase 1="{$dl->stats['files']}2="{$dl->stats['categories']}">{$vbphrase['ecdownloads_x_files_in_y_categories']}</phrase>.</span>
    </
td
   </
tr
from downloads_main.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01249 seconds
  • Memory Usage 1,797KB
  • 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
  • (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