WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Matt
    Member
    Posted 2 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?

    http://wordpress.org/extend/plugins/bulletproof-security/

  2. Matt
    Member
    Posted 2 years ago #

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

  3. AITpro
    Member
    Plugin Author

    Posted 2 years ago #

    Excellent! Nice job. ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic