BulletProof Security
[resolved] Theme Issues - MP3 player and Download (3 posts)

  1. Matt
    Posted 4 years ago #

    The following functions in my theme don't work with Bullet-Proof Security activated:

    <td class="excerpt"><a onClick="sermonPopup<?php echo $post->ID; ?>()" href=""><?php _e( 'Listen', 'churchthemer' ); ?></a></td>
    <td class="replys"><a href="<?php echo get_bloginfo('template_url');?>/includes/mp3.php?file=<?php echo get_post_meta($post->ID, 'sermonmp3', true); ?>&fname=<?php echo get_the_title(); ?>">Download</a></td>

    The first pops up a small player that will play a mp3 file. The second downloads the file (after renaming it to match the post title). When I put the standard .htaccess file back, everything works fine. When I activate Bullet-Proof Security and add the file name directly in the downloads part, it works. Any ideas how I get around these 2 issues?


  2. Matt
    Posted 4 years ago #

    I got it figured out by adding my own RewriteCond for my theme's includes directory.

  3. AITpro
    Plugin Author

    Posted 4 years ago #

    Excellent! Nice job. ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic