Viewing 15 replies - 16 through 30 (of 35 total)
  • Plugin Author eagerterrier

    (@eagerterrier)

    @steeltape – how about async settings? They’re right at the bottom under a heading called ‘Enable Asynchronous Replacement?’

    Thread Starter spiney

    (@steeltape)

    I enable both just now enable async and enable debug
    still not showing.

    It however work with direct link to files like in this post

    minedl.com/minecraft-the-lost-potato-secret-chambers-map/3537/

    Plugin Author eagerterrier

    (@eagerterrier)

    @steeltape – can you disable async, disable debug, disable ‘Enable/Disable classnames?’ and disable ‘Show File Size’ too?

    I want to see what happens when all mime type JS is removed.

    Thread Starter spiney

    (@steeltape)

    nope. still nothing..
    Guess the code I’m using is no good with mime plugin

    Plugin Author eagerterrier

    (@eagerterrier)

    @steeltape – don’t give up yet.

    It’s definitely not your code above (I turned off JS and the plugin functionality still isn’t working), but it appears to be because this is on an attachment page itself.

    What I’ll do is look into the hooks for attachment pages and try and see if we can’t get a patch to you in the next few days.

    Plugin Author eagerterrier

    (@eagerterrier)

    @steeltape – OK, I’ve looked at attachment pages on a couple of my sites and it seems to be working just fine.

    Can you tell me what version you see on your mime type settings page (should be bottom right)?

    Also, do you have any other plugins that run only on attachment pages?

    Have you tried commenting out your code above?

    Thread Starter spiney

    (@steeltape)

    I haven’t but it work on other direct link files so if I commented out it should work but that beats the purpose of my site >_<

    the latest version. I havent install your plugin till you guys update it with winrar. no other plugins on attachment page

    @steeltape Can you give me a screenshot of your settings ? (or just make a copy of the settings at the bottom of the settings page if you have WP_DEBUG enabled).

    Also: are you a developer ? Is so, could you check what actions and filters are registered to the the_content hook on the attachment page ?

    Thread Starter spiney

    (@steeltape)

    here you go

    array(96) {
      ["internal_domains"]=>
      array(2) {
        [0]=>
        string(7) "www.min"
        [1]=>
        string(3) "min"
      }
      ["image_size"]=>
      string(2) "24"
      ["image_type"]=>
      string(3) "png"
      ["leftorright"]=>
      string(4) "left"
      ["show_file_size"]=>
      bool(false)
      ["precision"]=>
      int(2)
      ["use_cache"]=>
      bool(true)
      ["cache_time"]=>
      int(604800)
      ["enable_async"]=>
      bool(false)
      ["enable_async_debug"]=>
      bool(false)
      ["enable_hidden_class"]=>
      bool(false)
      ["hidden_classname"]=>
      array(1) {
        [0]=>
        string(10) "wp-caption"
      }
      ["version"]=>
      string(3) "3.2"
      ["enable_3g2"]=>
      bool(false)
      ["enable_3gp"]=>
      bool(false)
      ["enable_ai"]=>
      bool(false)
      ["enable_air"]=>
      bool(false)
      ["enable_asf"]=>
      bool(false)
      ["enable_avi"]=>
      bool(false)
      ["enable_bib"]=>
      bool(false)
      ["enable_cls"]=>
      bool(false)
      ["enable_csv"]=>
      bool(false)
      ["enable_deb"]=>
      bool(false)
      ["enable_djvu"]=>
      bool(false)
      ["enable_dmg"]=>
      bool(false)
      ["enable_doc"]=>
      bool(false)
      ["enable_docx"]=>
      bool(false)
      ["enable_dwf"]=>
      bool(false)
      ["enable_dwg"]=>
      bool(false)
      ["enable_eps"]=>
      bool(false)
      ["enable_epub"]=>
      bool(false)
      ["enable_exe"]=>
      bool(false)
      ["enable_f"]=>
      bool(false)
      ["enable_f77"]=>
      bool(false)
      ["enable_f90"]=>
      bool(false)
      ["enable_flac"]=>
      bool(false)
      ["enable_flv"]=>
      bool(false)
      ["enable_gif"]=>
      bool(false)
      ["enable_gz"]=>
      bool(false)
      ["enable_ico"]=>
      bool(false)
      ["enable_indd"]=>
      bool(false)
      ["enable_iso"]=>
      bool(false)
      ["enable_jpg"]=>
      bool(false)
      ["enable_jpeg"]=>
      bool(false)
      ["enable_log"]=>
      bool(false)
      ["enable_m4a"]=>
      bool(false)
      ["enable_m4v"]=>
      bool(false)
      ["enable_midi"]=>
      bool(false)
      ["enable_mkv"]=>
      bool(false)
      ["enable_mov"]=>
      bool(false)
      ["enable_mp3"]=>
      bool(false)
      ["enable_mp4"]=>
      bool(false)
      ["enable_mpeg"]=>
      bool(false)
      ["enable_mpg"]=>
      bool(false)
      ["enable_msi"]=>
      bool(false)
      ["enable_odp"]=>
      bool(false)
      ["enable_ods"]=>
      bool(false)
      ["enable_odt"]=>
      bool(false)
      ["enable_oga"]=>
      bool(false)
      ["enable_ogg"]=>
      bool(false)
      ["enable_ogv"]=>
      bool(false)
      ["enable_pdf"]=>
      bool(true)
      ["enable_png"]=>
      bool(false)
      ["enable_pps"]=>
      bool(false)
      ["enable_ppsx"]=>
      bool(false)
      ["enable_ppt"]=>
      bool(false)
      ["enable_pptx"]=>
      bool(false)
      ["enable_psd"]=>
      bool(false)
      ["enable_pub"]=>
      bool(false)
      ["enable_py"]=>
      bool(false)
      ["enable_qt"]=>
      bool(false)
      ["enable_ra"]=>
      bool(false)
      ["enable_ram"]=>
      bool(false)
      ["enable_rar"]=>
      bool(true)
      ["enable_rm"]=>
      bool(false)
      ["enable_rpm"]=>
      bool(false)
      ["enable_rtf"]=>
      bool(false)
      ["enable_rv"]=>
      bool(false)
      ["enable_skp"]=>
      bool(false)
      ["enable_spx"]=>
      bool(false)
      ["enable_sql"]=>
      bool(false)
      ["enable_sty"]=>
      bool(false)
      ["enable_tar"]=>
      bool(false)
      ["enable_tex"]=>
      bool(false)
      ["enable_tgz"]=>
      bool(false)
      ["enable_tiff"]=>
      bool(false)
      ["enable_ttf"]=>
      bool(false)
      ["enable_txt"]=>
      bool(false)
      ["enable_vob"]=>
      bool(false)
      ["enable_wav"]=>
      bool(false)
      ["enable_wmv"]=>
      bool(false)
      ["enable_xls"]=>
      bool(false)
      ["enable_xlsx"]=>
      bool(false)
      ["enable_xml"]=>
      bool(false)
      ["enable_xpi"]=>
      bool(false)
      ["enable_zip"]=>
      bool(true)
    }

    Thank you for creating with WordPress.

    Get Version 3.8

    code wasn’t made by me. My theme designer created that : vfxdude.com

    @steeltape I’ve tried to reproduce the issue using the exact same settings you are using including the js snippet and I still can’t.

    To be fair: I don’t think this is a problem with our plugin, but rather a problem with another plugin and/or theme interfering.
    Having said that, I will try and help you further, though – again – this is *not* a problem with MTLI.

    Let’s have a look at the theme first. Have a look at this info in the codex and see which templates your theme includes and which is being used by your theme to display the attachment page for .zip/.rar.

    See if that file actually calls the_content(). If it doesn’t, but adds the attachments in another way, that’s your problem.
    If it does, we need to look further.

    Thread Starter spiney

    (@steeltape)

    yes it does calls the_content()

    <?php get_header(); ?>
    <?php the_post() ?>
        <div class="attachment">
            <?php the_attachment_link($post->post_ID, true) ?>
            <?php the_content(); ?>
        </div>
        <?php comments_template(); ?>
    
    <?php get_footer() ?>

    we do have
    attachment.php
    single.php
    index.php

    I have also tried disabling all other plugins and leaving only MLTI, still not showing.

    That seems to look ok. Now what’s in the action/filter queue for the_content on your attachment page ? is our filter in there or has it been removed somehow ?

    Thread Starter spiney

    (@steeltape)

    how do I check that?

    Easiest way is probably with a combination of two plugins:
    Debug Bar and Debug Bar actions & filters.

    Please use version 1.1 of the latter (you can download it from the developers tab) as the last two versions contain a bug which prevents most actions/filters from showing (or use this fixed version – manual install needed).

    Once you have both those installed, go to an attachment page and while on that page, click on “debug” in the admin bar and go to the “Filter hooks” tab. Search for the_content and see what’s there.

    Thread Starter spiney

    (@steeltape)

    the_content
    
        Priority: 1
            bf_detect_custom_shortcodes
        Priority: 7
            bf_run_shortcodes
        Priority: 8
            (object) WP_Embed -> run_shortcode
            (object) WP_Embed -> autoembed
        Priority: 10
            wptexturize
            convert_smilies
            convert_chars
            wpautop
            shortcode_unautop
            featureimage_for_feeds
        Priority: 11
            capital_P_dangit
            do_shortcode
        Priority: 15
            (object) Mime_Types_Link_Icons -> mimetype_to_icon

    I disabled all the other plugin and left just debug plugins and mlti.

Viewing 15 replies - 16 through 30 (of 35 total)
  • The topic ‘winrar not supported?’ is closed to new replies.