DaveFE
Forum Replies Created
-
Forum: Plugins
In reply to: [Audio Player] Fixed my Buffering… issue; Might help someoneHere 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 EXIFI 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.
Forum: Plugins
In reply to: [WP Vegas] Loading jquery.vegas.js in footer?Nevermind. In reading I suspect you’ve done this to avoid slowing down the page load. Thanks!
Forum: Plugins
In reply to: [WP Vegas] Possible to add Random order feature?You bet. Thanks!!
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 thetaken
sort and it works fine.Thanks so much for your help and sorry for the bother!
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
ormeta_value
. I suppose I’ll usemeta_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 perhapsc_taken
should betaken
so I’ve tried changing it by hand, but then it just sorts the photos in a seemingly random order.