Forum Replies Created

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter DaveFE

    (@davefe)

    Here is what the entire section looks like with my updated pattern. I’ve updated it again since my last post.

    // Replace [audio syntax]
    if( in_array( "default", $this->options["behaviour"] ) ) {
    $pattern = "/(<p>)?\[audio(?:\:)?(?: mp3=\")?(([^]\"]+))(?:\"\]\[\/audio)?\](<\/p>)?/i";
    $content = preg_replace_callback( $pattern, array(&$this, "parseCallback"), $content );
    }
    Forum: Plugins
    In reply to: [Imsanity] Preserve EXIF

    I have exif support enabled in PHP on my server and images processed through Imsanity (and thumbnails created by WP 3.91) have no exif data. Wish they did.

    Thread Starter DaveFE

    (@davefe)

    Nevermind. In reading I suspect you’ve done this to avoid slowing down the page load. Thanks!

    Thread Starter DaveFE

    (@davefe)

    You bet. Thanks!!

    Thread Starter DaveFE

    (@davefe)

    Problem solved!

    Downloaded the Debug Bar plugin to see the interaction with MySQL on the Media/Assistant page. It showed CREATE VIEW command denied for table 'wp_mla_alt_text_view'. Turned out I (for some ODD reason) was missing CREATE VIEW and a couple of other permissions on my WordPress database. Granted all permissions and retried the taken sort and it works fine.

    Thanks so much for your help and sorry for the bother!

    Thread Starter DaveFE

    (@davefe)

    Thanks so much for the quick reply!

    MLA does not handle the meta_value_num case correctly and does not properly account for adding the asc parameter within the orderby clause for custom field sorting.

    Actually, my gallery images are being sorted correctly whether I use meta_value_num or meta_value. I suppose I’ll use meta_value since, as you’ve explained, it’s a CHAR string anyway.

    I am not sure what you mean by “all the media disappears” when you sort on the “taken” column in the Media/Assistant submenu table. Do you mean that the table comes back with “No items found.”

    Sorry for my poor explanation. Yes, that’s exactly what I’m seeing. If I go to the Media/Assistant right now it will show all 359 images in my gallery. If I then click on the taken column header, it shows “No items found.” The URL it points to is /wp-admin/upload.php?page=mla-menu&orderby=c_taken&order=asc. I thought perhaps c_taken should be taken so I’ve tried changing it by hand, but then it just sorts the photos in a seemingly random order.

Viewing 6 replies - 16 through 21 (of 21 total)