thakikka
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Library Assistant] mla_entries_per_page does not workDo you have access to a database tool like phpMyAdmin? If so, can you see what values are stored for the mla_entries_per_page entries in the usermeta table?
Yes. The meta_value is set to “NULL” if I try to set a value in the screen options. If I enter a value in the MLA-settings it works and shows up in the meta_value, too.
You can try entering something like “/uploads/mla.log” in the “Debug File” text box and clicking “Save Changes”.
Ah, yes, that worked:
[04-Jun-2018 12:10:05] 600 MLACore::mla_plugins_loaded_action() MLA 2.73 () mla_debug_level 0x1
[04-Jun-2018 12:10:18] 600 MLACore::mla_plugins_loaded_action() MLA 2.73 () mla_debug_level 0x1
[04-Jun-2018 12:10:18] 635 MLASettings::mla_set_screen_option_filter( mla_entries_per_page ) status = false
[04-Jun-2018 12:10:18] 636 MLASettings::mla_set_screen_option_filter( mla_entries_per_page ) value = ‘150’
[04-Jun-2018 12:10:18] 698 MLA::mla_set_screen_option_filter( mla_entries_per_page ) status = false
[04-Jun-2018 12:10:18] 699 MLA::mla_set_screen_option_filter( mla_entries_per_page ) value = ‘150’
[04-Jun-2018 12:10:18] 702 MLA::mla_set_screen_option_filter $wp_filter[set-screen-option] priority = 10<br />filter name = ‘wpcf7_set_screen_options'<br />filter name = ‘000000000cf6e9b3000000002092c162save_bulk_edit_options'<br />filter name = ‘MLASettings::mla_set_screen_option_filter'<br />filter name = ‘MLA::mla_set_screen_option_filter'<br />
[04-Jun-2018 12:10:18] 702 MLA::mla_set_screen_option_filter $wp_filter[set-screen-option] priority = 11<br />filter name = ‘000000000cf6ff3c000000002092c162options_screen_set'<br />
[04-Jun-2018 12:10:19] 600 MLACore::mla_plugins_loaded_action() MLA 2.73 () mla_debug_level 0x1
[04-Jun-2018 12:10:23] 600 MLACore::mla_plugins_loaded_action() MLA 2.73 () mla_debug_level 0x1Forum: Plugins
In reply to: [Media Library Assistant] mla_entries_per_page does not workFirst of all, David, thanks for your great support for your great plugin.
I understand it to mean that you are using the “Screen Options” pull-down area on the Media/Assistant admin submenu to change the number of items displayed in the table, and that’s not working for you; is that right?
Yes, you are right. It’s always “10”. If I enter another value, after submitting it is “10” again.
You can try changing the value using an MLA setting:
[…]
Change the value in the “Entries per page” text box (is it 10?).The value in the MLA setting is “[+text+]”…?
I tried to enter another value (“200”). I submitted and it works. But after I entered another value directly in the screen options, it was “10” again. And in the MLA setting there was that “[+text+]” value again.
If that doesn’t work, you can try going to the WordPress Settings/Reading screen and changing the “Blog pages show at most” setting. This is used by MLA as a default if the more specific option setting cannot be found. Does that work?
No, this didn’t work. I changed the value at “Blog pages show at most” to “200” but MLA still shows a maximum of 10 entries.
You can also activate some MLA debug logging that would give me more information about the problem:
I did this but there where NO text at all in the “Error Log” textarea after I changed the “Entries per page” value.