jorgeorpinel
Forum Replies Created
-
!!!
Thanks I didn’t try that :b
Also thanks for quick reply.
Forum: Fixing WordPress
In reply to: How to check if the header is already loaded?You may want to re-factor your use of ajax to do it “the right way” (there seems to be no consensus really) e.g. as described here: https://natko.com/wordpress-ajax-login-without-a-plugin-the-right-way/
Your method works of course and I’ve implemented similar hacks before but it can get really messy and make your code impossible to maintain (if you care about that).
This thread may also be of your interest: https://wordpress.stackexchange.com/questions/69184/how-to-load-wordpress-on-non-wp-page (I’ve been researching about similar issues recently so I have those references).
Cheers!
Forum: Plugins
In reply to: [Media Library Assistant] Suggestion: Bulk-edit attachment categoriesI’m sure there is or could be a plugin to do this.
I would advice against using WP as a CMS for a large catalog, in fact doing e-commerce is also not that easy with WP. Check out drupal and joomla? Good luck.
Forum: Plugins
In reply to: [Media Library Assistant] Suggestion: Bulk-edit attachment categoriesApologies for late reply.
I have had a couple of users say that I should just replace the Media/Library screen with the Media/Assistant screen. I’m thinking of making this an option. What do you think about that as a solution?
I personally like having both options since most of the site’s users don’t need all this abilities and could get confused if the ML looks different to what wp has documented.
I have released version 1.50, which includes the ability to customize the name, label and title of the Media/Assistant submenu screen. You can also remove the default Media/Library submenu screen.
Sounds like you figured it out. I think that is the best option (to have the choice). Thanks for the update!
Forum: Plugins
In reply to: [Media Library Assistant] Suggestion: Bulk-edit attachment categories[deleted] I thought bulk edit didn’t work. Then I noticed there is a separate custom section for that. Ugly. But it works.
The custom section is the MLA assistant (and its beautiful in my opinion)! It extends the regular media library so much that an entire new page was developed instead, I think. In any case there’s probably other plugins to do add bulk actions to the regular media lib. Cheers
Forum: Plugins
In reply to: [Media Library Assistant] Search by parentYes. The choice is very obvious… MLA offers tons more functionalities. Thank you so much for all the work David!
Forum: Plugins
In reply to: [Media Library Assistant] Search by parentFound it… Media Search was causing the conflict… Which is really funny since I was using it to provide the regular media library with the same functionality, to find items by parent. Ha. I guess I’ll have to choose one or the other!
Forum: Plugins
In reply to: [Media Library Assistant] Search by parentYeah, there’s a bunch of plugins on this site. Let me try disabling the ones that I think could relate to media and see if I can pinpoint the culprit ??
Forum: Plugins
In reply to: [Media Library Assistant] Search by parentAlways a pleasure DAvid.
Towards the end of the “search box” URL string you can see mla_filter_term=3747. That implies that you have selected an “Att. Category” value from the drop-down list next to the “Filter” button
I may have filtered that time but even if I don’t I get no results. I entered 1828 right off …wp-admin/upload.php?page=mla-menuand the resulting URL was …wp-admin/upload.php?s=1828&mla-search-submit=Search+Media&mla_search_connector=AND&mla_search_fields%5B%5D=title&mla_search_fields%5B%5D=content&page=mla-menu&_wpnonce=36e6224824&_wp_http_referer=%2Fcms%2Fwp-admin%2Fupload.php%3Fpage%3Dmla-menu&action=-1&m=0&mla_filter_term=0&paged=1&action2=-1 (no results) so I don’t think the filtering is related to the problem I’m experiencing.
I installed 1.40 and tried >|<1828 in the search box. I get a lot of warnings! Here they are ??
Warning: mla_query_posts_search_filter search = '1828' in ..wp-content/plugins/media-library-assistant/includes/class-mla-data.php on line 724 Warning: mla_query_posts_search_filter $search_clause = ' AND ( ( cms_posts.ID = 1828 ) OR ( cms_posts.post_parent = 1828 ) ) ' in ..wp-content/plugins/media-library-assistant/includes/class-mla-data.php on line 740 Warning: _execute_list_table_query $request = array ( 'm' => 0, 'orderby' => 'post_parent', 'order' => 'ASC', 'post_type' => 'attachment', 'post_status' => 'inherit', ) in ..wp-content/plugins/media-library-assistant/includes/class-mla-data.php on line 675 Warning: _execute_list_table_query self::$query_parameters = array ( 'use_postmeta_view' => false, 'orderby' => 'post_parent', 'order' => 'ASC', 'detached' => false, 'debug' => 'console', 's' => '1828', 'mla_search_connector' => 'AND', 'mla_search_fields' => array ( 0 => 'title', 1 => 'content', ), 'sentence' => false, 'exact' => false, 'postmeta_key' => '_wp_attachment_image_alt', ) in ..wp-content/plugins/media-library-assistant/includes/class-mla-data.php on line 676 Warning: _execute_list_table_query $results->request = 'SELECT SQL_CALC_FOUND_ROWS cms_posts.* FROM cms_posts WHERE 1=1 AND ( ( (cms_posts.post_title LIKE "%>|<1828%") OR (cms_posts.post_content LIKE "%>|<1828%")) OR ( cms_posts.post_parent IN ( select ID from cms_posts as b where b.<code>post_type</code> <> "attachment" and b.<code>post_title</code> like "%>|<1828%" ) ) ) AND cms_posts.post_type = "attachment" AND (cms_posts.post_status = "inherit" OR cms_posts.post_status = "private") ORDER BY cms_posts.post_date DESC LIMIT -200, 200' in ..wp-content/plugins/media-library-assistant/includes/class-mla-data.php on line 677 Warning: _execute_list_table_query $results->post_count = 0 in ..wp-content/plugins/media-library-assistant/includes/class-mla-data.php on line 678 Warning: _execute_list_table_query $results->found_posts = 0 in ..wp-content/plugins/media-library-assistant/includes/class-mla-data.php on line 679 Warning: mla_query_posts_search_filter search = '1828' in ..wp-content/plugins/media-library-assistant/includes/class-mla-data.php on line 724 Warning: mla_query_posts_search_filter $search_clause = ' AND ( ( cms_posts.ID = 1828 ) OR ( cms_posts.post_parent = 1828 ) ) ' in ..wp-content/plugins/media-library-assistant/includes/class-mla-data.php on line 740 Warning: _execute_list_table_query $request = array ( 'm' => 0, 'orderby' => 'post_parent', 'order' => 'ASC', 'post_type' => 'attachment', 'post_status' => 'inherit', 'offset' => 0, 'posts_per_page' => '200', ) in ..wp-content/plugins/media-library-assistant/includes/class-mla-data.php on line 675 Warning: _execute_list_table_query self::$query_parameters = array ( 'use_postmeta_view' => false, 'orderby' => 'post_parent', 'order' => 'ASC', 'detached' => false, 'debug' => 'console', 's' => '1828', 'mla_search_connector' => 'AND', 'mla_search_fields' => array ( 0 => 'title', 1 => 'content', ), 'sentence' => false, 'exact' => false, 'postmeta_key' => '_wp_attachment_image_alt', ) in ..wp-content/plugins/media-library-assistant/includes/class-mla-data.php on line 676 Warning: _execute_list_table_query $results->request = 'SELECT SQL_CALC_FOUND_ROWS cms_posts.* FROM cms_posts WHERE 1=1 AND ( ( (cms_posts.post_title LIKE "%>|<1828%") OR (cms_posts.post_content LIKE "%>|<1828%")) OR ( cms_posts.post_parent IN ( select ID from cms_posts as b where b.<code>post_type</code> <> "attachment" and b.<code>post_title</code> like "%>|<1828%" ) ) ) AND cms_posts.post_type = "attachment" AND (cms_posts.post_status = "inherit" OR cms_posts.post_status = "private") ORDER BY cms_posts.post_date DESC LIMIT -200, 200' in ..wp-content/plugins/media-library-assistant/includes/class-mla-data.php on line 677 Warning: _execute_list_table_query $results->post_count = 0 in ..wp-content/plugins/media-library-assistant/includes/class-mla-data.php on line 678 Warning: _execute_list_table_query $results->found_posts = 0 in ..wp-content/plugins/media-library-assistant/includes/class-mla-data.php on line 679
Forum: Plugins
In reply to: [Media Library Assistant] Search by parentYes. links in the Parent/ID column perform the search properly going to …wp-admin/upload.php?page=mla-menu&parent=1828&heading_suffix=Parent%3A+002-2010 (which I can just modify and reuse for parend id searches directly with the URL for now, basically with the &parent=xxxx argument)
The search box doesn’t work, going to …wp-admin/upload.php?s=1828&mla-search-submit=Search+Media&mla_search_connector=AND&mla_search_fields%5B%5D=title&mla_search_fields%5B%5D=content&page=mla-menu&m=0&_wpnonce=73c89cc6d3&_wp_http_referer=%2Fcms%2Fwp-admin%2Fupload.php%3Fs%26mla_search_connector%3DAND%26mla_search_fields%255B0%255D%3Dtitle%26mla_search_fields%255B1%255D%3Dcontent%26page%3Dmla-menu%26m%3D0%26mla_filter_term%3D3747%26mla_filter%3DFilter%26paged%3D1&action=-1&m=0&mla_filter_term=3747&paged=1&action2=-1
Forum: Plugins
In reply to: [Media Library Assistant] Att. Categories list is incomplete!I agree. Sorry for dropping the ball on following up with you but now I have Role Scoper disabled and the list displays correctly. I’ve also upgraded to MLA 1.30 .
Thanks so much for all your support. And congrats again on this wonderful plugin… its really powerful.
Forum: Plugins
In reply to: [Media Library Assistant] Suggestion: Bulk-edit attachment categoriesThanks for the instructions! Worked like a charm.
Forum: Plugins
In reply to: [Media Library Assistant] Search by parentSorry for the delayed response.
I updated to 1.30 in case that was a problem (I was having other difficulties which were fixed that way) but unfortunately I can’t figure out the search by ID or parent.
Here’s MLA listing the 1st item as 263: https://docs.google.com/file/d/0B7JEImS_HANHUktpQ293enNmT0U/edit?usp=sharing
and here’s a search (from that last screen) of the ID without quotes and trying every field joined by ‘or’ (also tried the default setting of title & description having same result: https://docs.google.com/a/orpinel.com/file/d/0B7JEImS_HANHcEY4M1FjWmJnYlU/edit?usp=sharingNot a big deal.
Forum: Plugins
In reply to: [Media Library Assistant] Search by parentHello again David.
This is not working for me anymore (still in version 1.20). I’m searching for 2086 or “2086′ or “2086” (id of post called “008-1930”) and can’t find anything ?? Am I doing something wrong?
Here’s a couple screenshots that show (1) my search vs. (2) filtering by clicking on the parent:2086 link (after finding a media item in the unfiltered list)
1. https://docs.google.com/file/d/0B7JEImS_HANHdHR3cldFYUVBVEE/edit?usp=sharing
2. https://docs.google.com/file/d/0B7JEImS_HANHTUhCSFlGNlpnQmc/edit?usp=sharingThanks and best regards.
Forum: Plugins
In reply to: [Media Library Assistant] Att. Categories list is incomplete!Try using the full-screen “Edit” instead of the “Quick Edit”. If you change the slug back to “photograph” there you should see an “Item not updated.” message at the top of the screen.
True.
have you tried using the “Search Att. Categories” box in the upper-right corner of the screen to look for “featured” or “photograph” or the other terms that are not displayed in the table?
Great idea! I tried searching for “+photo” and the system did find and listed +photograph along with all the links to edit/delet/etc. Nice.
could you use its Export function to dump the terms, term_taxonomy and term_relationship tables and post them to Google Docs or send them to me by e-mail?
I’ll get in touch with you directly to organize that one. Thanks again.