Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Forum: Reviews
    In reply to: [TS Comfort DB] Excellent
    Plugin Author tsinf

    (@tsinf)

    @jsb79 Problem should be fixed. Would you like to look at it again? Thank you for your feedback.

    Forum: Reviews
    In reply to: [TS Comfort DB] Excellent
    Plugin Author tsinf

    (@tsinf)

    Hallo @jsb79, many thanks for your feedback. You are right, this is a bug that must be fixed. It is on the list for the next version. And as soon as i find time for it, i will implement the fix.

    If you find more things to make better, feel free to write here. I am glad when i get feedback!

    Thread Starter tsinf

    (@tsinf)

    Hallo @hyenokian ,
    many thanks for the quick help.

    It`s a great plugin!

    Plugin Author tsinf

    (@tsinf)

    @toto Hallo, the problem should be fixed with new Version 1.0.2.

    Happy new year.

    Plugin Author tsinf

    (@tsinf)

    @toto Can you give me a little bit more details? Is it a custom taxonomy or the standard post category which is not working? You mean the filter in admin-area post overview, right?

    Plugin Author tsinf

    (@tsinf)

    Hallo @toto , many thanks for your feedback. I will check and fix it in the next days and reply here.

    It should work with custom cpts, in Settings > TS Search Slug you can enable slug search for other cpts.

    If you find another slug, please report.

    Plugin Author tsinf

    (@tsinf)

    Hallo Jeremy,
    thats strange i think it can only be a thing about access rights or something.

    The Folder is in wp-content:
    wp-content/ts-plugins/ts-comfort-database

    If you want to create it by yourself. Please make sure that the directory has write access.

    I hope it helps. If not, maybe we must look together or something. But i think it goes its way, when the folder (and subfoler) was created.

    Greetings

    Tobi

    @turbojae

    Plugin Author tsinf

    (@tsinf)

    @turbojae problem done after update to 2.0.1?

    Plugin Author tsinf

    (@tsinf)

    Hallo, thanks for your message.

    The upload folder is in wp-content/ts-plugins/ts-comfort-database .

    It should be created automatically on plugin start but latest on first call of the main page (Menu Item “Database”).

    In this folder the SQL Exporter and the CSV Exporter write their files and you can manage and download these files in the Submenu Item “File Manager”.

    The latest update 2.0.1 should fix the issue of not creating folder.

    Best regards

    Tobi

    • This reply was modified 4 years ago by tsinf.
    Plugin Author tsinf

    (@tsinf)

    Hallo Robbie,
    sorry for the late answer. I must be overlooked it or something. It is usually not my style not to answer.

    Is that problem still going on?

    If yes, would you give me a little bit more information about the WordPress and PHP Version and if you have access to your wp-config.php to enable error logging?

    There are meanwhile some updates since your post, my be it help.

    Sorry again, my fault.

    Hallo @drwpcom and @stickersandthat, we have exact the same problems in one of our Online-Shops. Can you tell if there was a solution and what it was?

    Many thanks.

    Tobi

    Hallo Florian,
    i had a similar Problem with Sorting. I have set the fix from @kopiczkos outside of the Plugin. The advantage is, that the Plugin is already updateable and the changes will not be overwriten on an Update.

    I post the code here. Maybe someone will find it helpful:

    
    function event_admin_column_sort($query)
    {
        $acf_active = (function_exists('acf_get_field_groups') && function_exists('acf_get_fields'));
        $acf_columns_active = class_exists('FleiACFAdminColumns');
        $is_valid_admin_screen = (bool) false;
        if (function_exists('get_current_screen') && $screen = get_current_screen()) {
            $is_valid_admin_screen = ($screen->base == 'edit' && $screen->post_type) || ($screen->base == 'edit-tags' && $screen->taxonomy); 
        }
        
        if (is_admin() && $acf_columns_active  && $acf_active && $is_valid_admin_screen && $query->query_vars && isset($query->query_vars['orderby'])) {
            if($query->query['orderby'] == 'acf_eventon_field_related_course') {
                $query->set('orderby', 'meta_value_num');
            } else {
                $query->set('orderby', 'meta_value');
            }
        }
        
        return $query;
    }
    
    add_action('pre_get_posts', 'event_admin_column_sort', 999);
    

    Another suggestion could be, that it could be helpful to set Class-Methods is_acf_active and is_valid_admin_screen to be public to use it outside the plugin.

    And a great feature would be, that the user can set on a selection field, if it should be sorted by value or by title of the saved option.

    But at last: Great Plugin! Many Thanks.

    @flei

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