Title: bklein's Replies | WordPress.org

---

# bklein

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Download Monitor] After update download ID shortcodes not working](https://wordpress.org/support/topic/after-update-download-id-shortcodes-not-working/)
 *  [bklein](https://wordpress.org/support/users/bklein/)
 * (@bklein)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/after-update-download-id-shortcodes-not-working/#post-7218919)
 * This is probably the globals issue described in this post. [CLICK](https://wordpress.org/support/topic/custom-templates-from-theme-important-info)
 * I had the same problem and this post resolved it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Download Monitor] Custom Templates from Theme (IMPORTANT INFO)](https://wordpress.org/support/topic/custom-templates-from-theme-important-info/)
 *  [bklein](https://wordpress.org/support/users/bklein/)
 * (@bklein)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/custom-templates-from-theme-important-info/#post-7215970)
 * Thank you Barry,
 * I will make a new thread as I still have some questions about this feature.
 * Best Regards,
    -Bryan
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Download Monitor] Custom Templates from Theme (IMPORTANT INFO)](https://wordpress.org/support/topic/custom-templates-from-theme-important-info/)
 *  [bklein](https://wordpress.org/support/users/bklein/)
 * (@bklein)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/custom-templates-from-theme-important-info/#post-7215905)
 * Joe, I assumed that it was there to block direct access and that the Download
   Manager would serve the file from the folder that was hidden from a direct read
   from the file system.
 * Maybe this feature is broken, or I have some kind of setting messed up.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Download Monitor] Custom Templates from Theme (IMPORTANT INFO)](https://wordpress.org/support/topic/custom-templates-from-theme-important-info/)
 *  [bklein](https://wordpress.org/support/users/bklein/)
 * (@bklein)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/custom-templates-from-theme-important-info/#post-7215855)
 * Ok, this is weird, there was a .htaccess file in the dlm_uploads directory that
   had ‘deny from all’ in it. When I removed that text and saved the file, my download
   links work again. What the heck happened?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Download Monitor] Custom Templates from Theme (IMPORTANT INFO)](https://wordpress.org/support/topic/custom-templates-from-theme-important-info/)
 *  [bklein](https://wordpress.org/support/users/bklein/)
 * (@bklein)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/custom-templates-from-theme-important-info/#post-7215849)
 * It did work before the Download Monitor update that I applied this morning.
 * This is a link to an image of the permissions set for files that are not working.
   It seems ok to me, but maybe I am missing something.
 * [https://drive.google.com/file/d/0BwyS63UB7wW4UndBS1BObktHZlk/view?usp=sharing](https://drive.google.com/file/d/0BwyS63UB7wW4UndBS1BObktHZlk/view?usp=sharing)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Download Monitor] Custom Templates from Theme (IMPORTANT INFO)](https://wordpress.org/support/topic/custom-templates-from-theme-important-info/)
 *  [bklein](https://wordpress.org/support/users/bklein/)
 * (@bklein)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/custom-templates-from-theme-important-info/#post-7215832)
 * I modified the file ‘content-download.php’ in my theme directory. The content
   of the file is below.
 *     ```
       <?php
       /**
        * Default output for a download via the [download] shortcode
        */
   
       /*global $dlm_download;*/
       ?>
       <a class="download-link" title="<?php $dlm_download->the_filename(); ?> &ndash; <?php $dlm_download->the_filesize(); ?>" href="<?php $dlm_download->the_download_link(); ?>" rel="nofollow"><?php $dlm_download->the_title(); ?></a>
   
       <?php if ( $dlm_download->get_the_short_description() ) {
         $shortDescription = strip_tags($dlm_download->get_the_short_description());
         $downloadID = $dlm_download->id;
       echo "<a href='#' id='moreLink_".$downloadID."' class='moreLink'><small>[See Description]</small></a>
               <span id='description_".$downloadID."' class='moreinfo'><a href='#' id='lessLink_".$downloadID."' class='lessLink'><small>[Hide Description]</small></a> - ".$shortDescription."<br><br></span>";
       }
       ?>
       ```
   
 * Here is a link to a page with the new permissions issue. [http://www.thunderheadeng.com/pyrosim/resources/](http://www.thunderheadeng.com/pyrosim/resources/)
 * Click on the text under any of ‘Tools’, like ‘Heat Release Rate Calculator’ or‘
   Combustion Calculator’.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Download Monitor] Custom Templates from Theme (IMPORTANT INFO)](https://wordpress.org/support/topic/custom-templates-from-theme-important-info/)
 *  [bklein](https://wordpress.org/support/users/bklein/)
 * (@bklein)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/custom-templates-from-theme-important-info/#post-7215813)
 * I made this change and now my pages and posts aren’t broken. But, the download
   links that used to work now show a permissions error.
 * >     ```
   >     Forbidden
   > 
   >     You don't have permission to access /wp-content/uploads/dlm_uploads/2015/08/[filename] on this server.
   >     ```
   > 
 * Example:
    [https://www.thunderheadeng.com/wp-content/uploads/dlm_uploads/2015/08/hrr_calculator.xlsm](https://www.thunderheadeng.com/wp-content/uploads/dlm_uploads/2015/08/hrr_calculator.xlsm)
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Force Regenerate Thumbnails] Broken links…](https://wordpress.org/support/topic/broken-links-51/)
 *  [bklein](https://wordpress.org/support/users/bklein/)
 * (@bklein)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/broken-links-51/#post-8002137)
 * I didn’t have that many, but I had to go through each post and find all of the
   bad image references to sizes that the plugin deleted. I probably should not 
   have clicked the button to do all of them at once.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LightPress Lightbox] Lightbox size does not account for page zoom level.](https://wordpress.org/support/topic/lightbox-size-does-not-account-for-page-zoom-level/)
 *  Thread Starter [bklein](https://wordpress.org/support/users/bklein/)
 * (@bklein)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/lightbox-size-does-not-account-for-page-zoom-level/#post-6462433)
 * Thank you for looking into the issue. I just reported the unwanted behavior and
   didn’t look into a solution before posting. It is ridiculous that this isn’t 
   data easy available to the browser.
 * I will poke around a bit myself to see if I can find anything but it looks like
   a pain to deal with.
 * I will update here if I find anything, otherwise thanks for your time.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Table of Contents Plus] Is it possible to float/attach this to the right edge of a post?](https://wordpress.org/support/topic/is-it-possible-to-floatattach-this-to-the-right-edge-of-a-post/)
 *  [bklein](https://wordpress.org/support/users/bklein/)
 * (@bklein)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/is-it-possible-to-floatattach-this-to-the-right-edge-of-a-post/#post-6329705)
 * You can change the location of the DIV that the TOC is placed in so that it is
   on the right side of the article. But here is an example of it floating along
   the left side of a long article.
    [http://www.thunderheadeng.com/pathfinder/learn/](http://www.thunderheadeng.com/pathfinder/learn/)
 * If there is a password required, use ‘learn1’.
 * I am using a nice little script for the floating effect.
    [https://github.com/bigspotteddog/ScrollToFixed](https://github.com/bigspotteddog/ScrollToFixed)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Download Monitor] All Downloads not showing up in the primary list.](https://wordpress.org/support/topic/all-downloads-not-showing-up-in-the-primary-list/)
 *  Thread Starter [bklein](https://wordpress.org/support/users/bklein/)
 * (@bklein)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/all-downloads-not-showing-up-in-the-primary-list/#post-5669573)
 * The new release fixed my problem. Thank you! 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Download Monitor] All Downloads not showing up in the primary list.](https://wordpress.org/support/topic/all-downloads-not-showing-up-in-the-primary-list/)
 *  Thread Starter [bklein](https://wordpress.org/support/users/bklein/)
 * (@bklein)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/all-downloads-not-showing-up-in-the-primary-list/#post-5669368)
 * Yes, I used the importer and it reported that everything transferred successfully.
   I also tried the permalinks save trick to rebuild the structure. As I mentioned,
   everything is in the old table for the download manager, and all of them are 
   also now posts with the dlm_download type.
 * It seems like something is breaking the loop that would list out all of the downloads.
   I have looked through an export of the dlm_download type posts from the database,
   and I don’t see anything obvious, like special characters, line breaks, etc.

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