Forum Replies Created

Viewing 5 replies - 46 through 50 (of 50 total)
  • Thread Starter sunrosea

    (@sunrosea)

    I’m using the latest Firefox.
    As you can see in the .gif as well, when dragging the column A it creates an odd spacing between it and the rest of the columns. It only happens with the first column.
    Another .gif: https://i.imgur.com/ZFrpNwf.gif

    Might have something to do with that?

    Thread Starter sunrosea

    (@sunrosea)

    Hi!
    I deactivated all plugins except for the tablepress one and it gave the same error.
    I still think it seems to have something to do with re-arranging the columns as it only happens when I do that.

    What I do is:
    1. Move column B in front of Column A.
    2. Press Save, which works fine.
    3. Move Column B, again, in front of Column A.
    4. Press Save, works fine again.
    5. Move Column A this time behind column B.
    6. Press Save, the error occurs.

    I don’t have to enter any new information into the table. All I do is re-arrange the columns, and so far, it seems to only create this specific error when column A tries to go backwards, but not when any other column goes forward.

    Also I posted a new post about a (seemingly different) bug that seems to happen with re-arranging columns you might want to have a look at.

    • This reply was modified 6 years, 4 months ago by sunrosea.
    Thread Starter sunrosea

    (@sunrosea)

    I’d just like to mention quickly that the problem seem to appear when re-arranging the order of columns and then trying to save the new order.
    Otherwise it seems to save everything else just fine.

    • This reply was modified 6 years, 4 months ago by sunrosea.

    Having the same problem. Sad to see there hasn’t been any answer from the developer for 3 months here.

    Thread Starter sunrosea

    (@sunrosea)

    The reason I wanted to do that is, if I have a lot of users, and only have a drop down list, then that drop down list will be quite huge. And so I thought it’d be better with an input field.
    Anyways, I figured it out if anyone else is interested.

    I did it like this in my functions.php file:

    add_action('restrict_manage_comments', 'author_filter_2');
    
    function author_filter_2() {
    echo '<input type="text" name="user_id" value=""/>';
    }
    
    add_action('pre_get_comments', 'before_comments');
    
    function before_comments($clauses){
    
    if(is_admin()&&isset($_GET['user_id'])){
    $user= get_userdatabylogin($_GET['user_id']);
    $clauses->query_vars['user_id'] = $user->ID;
    }
    return $clauses;
    }
Viewing 5 replies - 46 through 50 (of 50 total)