• Resolved Kai J.

    (@kjoussen)


    Hi.

    Either i misunderstood something, or….

    Well, i have approx 1300 files in my library, set up some categories and toggled approx 50 files to their according category.

    When i want to see all files with no category set yet the list is empty.

    Funny enough when creating a new post and adding a media file and setting the filter here to “no cat”….the list is correct…

    Thanks

    https://wordpress.org/plugins/wp-media-category-management/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author DeBAAT

    (@debaat)

    Hai,

    Thanks for using my plugin. Looks like this might be of good help for you, when it works correctly 😉

    Do you see the same behaviour on both list and grid views?
    Did you use the “Filter” button to activate the setting when in list view?

    Are there any other plugins that could interfere with this plugin?
    You could test this by disabling all other plugins and then test again.
    If it works, then re-enable the other plugins one by one and test in between.
    This should show which plugin is causing the problem.

    Greetings,
    Jan

    Thread Starter Kai J.

    (@kjoussen)

    In grid view it is ok, but not in list view.

    There is no other plugin which fingers around in the category area….so i don’t know which plugin i should deactivate….

    Cheers

    Kai

    Plugin Author DeBAAT

    (@debaat)

    Hai Kai,
    Thanks for the response.
    There are plugins who fiddle around with categories or media without telling.
    Best is to test all plugins the way I described.
    Gr.
    Jan

    Thread Starter Kai J.

    (@kjoussen)

    Hi Jan.

    I was afraid that you would say something like this 😉

    However, i deactivated all plugins (but yours of course) and nothing changed.
    In grid mode i can see images without any category but no in list mode.

    Sorry.

    Kai

    Plugin Author DeBAAT

    (@debaat)

    Sorry to ask, but did you use the Filter button?
    The behaviour in list and grid mode is different.
    In grid mode, it is ajax based and works immediately.
    In list mode, it is form based and only works after pressing the filter button.

    Another thing: What version of WordPress and what theme are you using?
    If you tell me, maybe I can mimic your settings because in my environment it just works fine.

    Plugin Author DeBAAT

    (@debaat)

    Ah, just thought.
    Are you using the Post Categories?
    Because I’ve got this effect now on my site as well.
    I’ll have a look at it.

    Thread Starter Kai J.

    (@kjoussen)

    Hi Jan.

    Hey, of course did i click the Filter Button…..

    I’m using 4.2.2 and Twenty Thirteen as Theme.

    And yes, i’m also using categories for posts, what cannot be changed due to different categories the posts belong to and what i use to show “filtered by category” posts on different pages.

    Kai

    Plugin Author DeBAAT

    (@debaat)

    Hai Kai,
    Sorry if I offended you by asking about the filter button.

    I just uploaded V1.5.1 which should solve your problem.
    Can you have another go at it?

    Thanks.
    Jan

    Thread Starter Kai J.

    (@kjoussen)

    Hi Jan.

    No, you did not offend me….when writing a smile and some kind of irony can’t be seen…

    But i’m sorry to say that the new version did not fix it, even when deactivating all other plugins.

    I’m really willing to help you out with testing so feel free to ask me for more testing.

    Kai

    Plugin Author DeBAAT

    (@debaat)

    No problem 😉

    Although I do find it a bit of a problem it still is not working…

    Would you help me sending some debug information?
    I use two plugins “Debug Bar” and “Debug My Plugin”, both can be downloaded from the WordPress repository.
    I would prefer you to mail me the results you can find on the WP MCM debug page that can be shown using the “Debug” link on the right of the Toolbar on top.
    Please select the ‘No categories’ on the page where its not working first.

    Gr.
    Jan

    Thread Starter Kai J.

    (@kjoussen)

    Here you go…..

    WPMCM:: mcm_admin_init wp-media-category-management/lang/ for MCM V1.5.1
    at 2015-06-01 21:39:21
    WPMCM:: mcm_change_category_update_count_callback taxonomy = category_media
    at 2015-06-01 21:39:21
    WPMCM:: mcm_admin_init AFTER wp-media-category-management/lang/
    at 2015-06-01 21:39:21
    WPMCM:: plugin_page_init wp-media-category-management/lang/
    at 2015-06-01 21:39:21
    WPMCM:: mcm_request taxonomy = category_media query_args =
    at 2015-06-01 21:39:21

    Array
    (
    [m] => 0
    [cat] => 0
    [s] =>
    [paged] => 1
    [post_type] => attachment
    [category_media] => no_category
    [posts_per_page] => 50
    [post_status] => inherit,private
    )

    WPMCM:: mcm_get_no_category_search Invalid request: No filter action.
    at 2015-06-01 21:39:21
    WPMCM:: mcm_enqueue_media_action pagenow = upload.php, wp_script_is( media-editor ) =
    at 2015-06-01 21:39:21
    WPMCM:: mcm_filter_media_taxonomy_columns taxonomy = category_media columns =
    at 2015-06-01 21:39:22

    Array
    (
    [category_media] => category_media
    )

    WPMCM:: Func:: mcm_add_category_filter taxonomy = category_media

    WPMCM:: Func:: mcm_add_category_filter selected_value = no_category, dropdown_options

    Array
    (
    [taxonomy] => category_media
    [name] => category_media
    [show_option_all] => Zeige alle Kategorien
    [show_option_none] => Keine Kategorien
    [option_none_value] => no_category
    [selected] => no_category
    [hide_empty] =>
    [hierarchical] => 1
    [orderby] => name
    [show_count] => 1
    [walker] => mcm_walker_category_filter Object
    (
    [tree_type] => category
    [db_fields] => Array
    (
    [parent] => parent
    [id] => term_id
    )

    [max_pages] => 1
    [has_children] =>
    )

    [value] => slug
    )

    Plugin Author DeBAAT

    (@debaat)

    Thanks.
    I think I found the issue.
    From the information, I can deduct you are using the German translation.
    And your button doesn’t read “Filter”, which is the text I use to determine the action.
    I’ve updated this in a new version 1.5.2.
    Should work now 😉

    Thread Starter Kai J.

    (@kjoussen)

    Hi Jan.

    Good news at first: i can confirm that it is working now as desired.

    As a former programmer i’m glad that i could help to sort it out, although: a language depended error? Ouch…. 😉

    But i can remember that i had something similar in the past, so everything is ok.

    Thanks a lot for your effort.

    Cheers

    Kai

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘"No Categories" shows nothing’ is closed to new replies.