Search results

  1. E

    Multiple links on remote upload doesn't work

    Hello. I just noticed that the remote upload feature only downloads the first file in the list when the script is configured to perform the downloads in background. Here is the cause: In the file _uploader_javascript.inc.php the javascript function urlUploadFiles is called. This function make a...
  2. E

    File icon for rmvb

    Hello, There is no file icon for rmvb files. I tried to create one manually but it didn't end very well. Do you guys have the icon for rmvb files? If you don't, can you send me the editable file for the mpeg icon so I can change it to rmvb?
  3. E

    Security issue with brute force attacks

    I'll post the information on a reply to be restricted to registered members.
  4. E

    md5_file is being called 2x per file.

    Hello. I just notice that the script is calling md5_file 2 times on each upload. It's called in the method _storeFile and then again in the method moveIntoStorage, both in the uploader class. The moveIntoStorage method calls the _storeFile method. It doesn't need to calculate the md5 again...
  5. E

    Ajax on manually log payments form

    Hello. The page /admin/payment_manage.php has an option to manually log payments, but the form loads all users in a select field. If you have like 50k registered users (that's what most filesharing sites have) you will have a select with 50k lines. A better alternative is to use ajax to load...
  6. E

    php7 support

    Hello. As you all should know, php7 is out with huge performance improvements. Yetishare 4.2 is not compatible with php7, especially the plugins newsletter and social login. It would be nice if you guys take some time to update it.
  7. E

    Whats the difference between cloudable and yetishare?

    I'm assuming that this cloudable is this one, since I didn't find it on mfscripts website: http://codecanyon.net/item/cloudable-file-hosting-script-securely-manage-preview-share-your-files/14341108 Does it uses the same core as yetishare, with the same classes to handle uploads and downloads?
  8. E

    Better way to handle plugins

    Hello. I think the current method of handling plugins is inefficient. The script needs to check if multiple files exists on every plugin folder every time. Useless information is also loaded in the session of all users, like plugin description. It would be better if the plugins have a main...
  9. E

    Custom ports to storage servers

    Hello. It would be nice to have the option to add a custom port for a storage server. This will allow the users to, for example, install nginx in another port other than 80 just for this script. If the user have a hosting site with dedicated servers running apache he would be able to use them...
  10. E

    Use empty() instead of strlen()

    Hello. In the entire script I see the use of strlen() to check if a variable is empty, like if(strlen($var) ==0). empty() is at least 6 times faster than strlen(). It's a tiny improvement, but it's kind of weird to use strlen() to check if something is empty. empty() is not a function but a...
  11. E

    Optimize file icons

    Hello. I noticed a css sprite for 48px icons but not for 24px. I also noticed that the css for this is not well optimized. I'm attaching 2 css files and one image for the 24px icons. To use this new css, just add the 2 classes in the element. Example: <a class="icons_24px sprite_24_exe"...
  12. E

    Use the field paidExpiryDate to check if the user is premium

    Currently the script uses the field level_id to check if the user is premium and the background task downgrade_account.cron.php is supposed to run every day at midnight downgrading accounts. The problem is that if the user account expires at 0:10 he will have 1 day free because the task will...
  13. E

    Page reloading when removing background task

    In the remote upload after downloading a file and click on "remove" to remove the file from the list, the entire page reloads. This applies only when remote uploads are done in background. To fix it, add return false; after each function in...
  14. E

    Replace rand() with mt_rand()

    I notice the rand() function in several parts in the core and in some plugins. rand() does not produce good random numbers. It's easy to see the difference between rand and mt_rand by creating an image with random values on each pixel: http://i.stack.imgur.com/YctNG.png
  15. E

    Wrong upload_source value for remote uploads

    Files created by the remote upload feature are being created with upload_source = 'direct'. I guess the correct should be 'remote'. Add this line after line 64 in /admin/tasks/process_remote_file_downloads.cron.php to correct this: 'upload_soure'=>'remote' Obs: The last member of an array...
  16. E

    Blank screen in Safari 5.1.7 for windows

    Hello, The code <img src="<?php echo SITE_IMAGE_PATH; ?>/file_icons/sprite_48px.png" style="width: 1px; height:1px; position: absolute; top: -99999px;"/> on account_home.html was causing a blank screen on the file manager using Safari 5.1.7 for windows. I'm not sure why, but removing it fixed...
  17. E

    Better way to track PPS in the rewards plugin

    Hello, Here is how the plugin works: - The file _append_master.inc.php creates a session and a cookie with the affiliate id. - The class orderPeer uses the session/cookie when a new order is created, totally outside the plugin scope. - The file _append_payment_ipn_paypal.php is called after a...
  18. E

    Custom URLs

    I will divide this suggestion in several parts: - There should be an option to translate URLs. This makes a huge difference in CEO. - It would be nice to handle files and folders with the prefix /files and /folder. The current index.php checks several files before calling the download function...
  19. E

    File redundancy

    Hello. I know that the current script doesn't allow 2 identical files to exist, but it should. It would be nice to use the file server's free space to store copies of files. This will make possible to make load balancing by redirecting the download to the best server at the time. It would also...