Title: SimonMacFadyen's Replies | WordPress.org

---

# SimonMacFadyen

  [  ](https://wordpress.org/support/users/simonmacfadyen/)

 *   [Profile](https://wordpress.org/support/users/simonmacfadyen/)
 *   [Topics Started](https://wordpress.org/support/users/simonmacfadyen/topics/)
 *   [Replies Created](https://wordpress.org/support/users/simonmacfadyen/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/simonmacfadyen/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/simonmacfadyen/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/simonmacfadyen/engagements/)
 *   [Favorites](https://wordpress.org/support/users/simonmacfadyen/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Internet Explorer 7 and 8 Watermark Text](https://wordpress.org/support/topic/internet-explorer-7-and-8-watermark-text/)
 *  [SimonMacFadyen](https://wordpress.org/support/users/simonmacfadyen/)
 * (@simonmacfadyen)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/internet-explorer-7-and-8-watermark-text/#post-3656017)
 * I used a conditional IE.js file to execute the below code:
 *     ```
       $(function () {
           //Assign to those input elements that have 'placeholder' attribute
           $('input[placeholder]').each(function(){
               var input = $(this);
               $(input).val(input.attr('placeholder'));
   
               $(input).focus(function(){
                   if (input.val() == input.attr('placeholder')) {
                      input.val('');
                   }
               });
   
               $(input).blur(function(){
                  if (input.val() == '' || input.val() == input.attr('placeholder')) {
                      input.val(input.attr('placeholder'));
                  }
               });
           });
       });
       ```
   
 * Make sure you include the code AFTER jQuery, so if you’re loading your scripts
   in your footer, place your conditional IE statement after wp_footer();
 *     ```
       <?php wp_footer(); ?>
   
       <!--[if lt IE 9]>
           <script src="<?php bloginfo('template_url');?>/assets/js/IE.js"></script>
       <![endif]-->
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Filebase Download Manager] [Plugin: WP-Filebase Download Manager] Using WP-Filebase causes memory errors and breaks other plugi](https://wordpress.org/support/topic/plugin-wp-filebase-download-manager-using-wp-filebase-causes-memory-errors-and-breaks-other-plugins/)
 *  [SimonMacFadyen](https://wordpress.org/support/users/simonmacfadyen/)
 * (@simonmacfadyen)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-filebase-download-manager-using-wp-filebase-causes-memory-errors-and-breaks-other-plugins/#post-2815710)
 * It sounds like your problem lies with your hosting, or other plugins taking up
   serious amounts of memory.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Filebase Download Manager] [Plugin: WP-Filebase Download Manager] Using WP-Filebase causes memory errors and breaks other plugi](https://wordpress.org/support/topic/plugin-wp-filebase-download-manager-using-wp-filebase-causes-memory-errors-and-breaks-other-plugins/)
 *  [SimonMacFadyen](https://wordpress.org/support/users/simonmacfadyen/)
 * (@simonmacfadyen)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-filebase-download-manager-using-wp-filebase-causes-memory-errors-and-breaks-other-plugins/#post-2815703)
 * Line 99 of Sync.php
 * if($hash_sync) $file_hash = @md5_file($file_path);
 * To
 * if($hash_sync) {
    $file_hash = explode(” “, exec(“md5sum $file_path”)); $file_hash
   = $file_hash[0]; }
 * Be mindful updating.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Filebase Download Manager] [Plugin: WP-Filebase Download Manager] Syncing / PHP / Memory](https://wordpress.org/support/topic/plugin-wp-filebase-download-manager-syncing-php-memory/)
 *  [SimonMacFadyen](https://wordpress.org/support/users/simonmacfadyen/)
 * (@simonmacfadyen)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-filebase-download-manager-syncing-php-memory/#post-2809763)
 * I fixed this.
 * Line 99 of Sync.php, the file is being read using md5_hash like so:
 * if($hash_sync) $file_hash = @md5_file($file_path);
 * It’s effectively opening the file to read it. To improve this, change this to:
 * if($hash_sync) {
    $file_hash = explode(” “, exec(“md5sum $file_path”)); $file_hash
   = $file_hash[0]; }
 * Hope the coder sees this and commits the changes to his sync.php.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Filebase Download Manager] [Plugin: WP-Filebase Download Manager] Syncing / PHP / Memory](https://wordpress.org/support/topic/plugin-wp-filebase-download-manager-syncing-php-memory/)
 *  [SimonMacFadyen](https://wordpress.org/support/users/simonmacfadyen/)
 * (@simonmacfadyen)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-filebase-download-manager-syncing-php-memory/#post-2809762)
 * Hello phillip,
 * Do you ever resolve this? Mind sharing your approach..
 * Thanks,
    Simon

Viewing 5 replies - 1 through 5 (of 5 total)