• My purpose:
    Show on each member in the members’s table if it’s a test user or not.

    I added the new custom field using the “Advanced Custom Fields” plugin. The field show as expected on the individual member edit page on the backend.
    So far so good.

    Now Admin Columns comes along.
    When I’m adding the new column I do see the new field in the list of Custom Field options. So far so good again.
    Then after saving the new field I go to the members page and there is nothing there, also nothing in the screen options.
    I go back to the Admin Column settings, and the new field I added is gone!

    I then tried it with a regular field and not a custom one I created and same behavior, right after I save and refresh it’s gone again!

    I’m starting to think maybe my theme has something to do with it?
    I’m using Discy which adds its own custom fields to the table (and they are also shown in Admin Columns settings).
    Can this be related?
    If not, did anyone had this problem as well?

    Basically, admin columns does nothing on my backend admin side…..

Viewing 6 replies - 1 through 6 (of 6 total)
  • Same here! Im using in user columns.

    • This reply was modified 4 years, 3 months ago by luckermann.
    Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    Do you have this issue when you have a fresh install of Admin Columns?
    Or does the issue occur after an update of WordPress or Admin Columns?
    And can you check the following for me:

    – Does the table {prefix}_admin_columns exist in your database?
    – When you store your settings, do you see a message that confirms that the settings are saved?

    Thread Starter kazazor

    (@kazazor)

    – I have another website that Admin Column does work. I do not know if in a new WordPress site today it works or not. It’s a bit too much work to do now, to be honest.
    I can share that on my other website it does work even on the latest WordPress website and the latest update of the plugin.

    – Looking at my DB tables (via the plugin WP-Optimize, I guess it’s a good way to check it since I do see tables of other plugins like Yoast..) I do not see this table {prefix}_admin_columns. When can this happen? How it should be fixed? Uninstalling and reinstalling does not solve it.

    – When I save the updates I do get the message like everything is saved and a link to the screen to view it with the new columns. But if you’ll refresh the page it’s gone like you never set it to begin with :/

    Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    Can you try to remove the option with the name ‘ac_version’ in your wp_options table (in the database)? If you remove that option, it will trigger the installation script which also should create the table for you.

    Thread Starter kazazor

    (@kazazor)

    1. Is this option only being used by this plugin? I guess “ca” stands for admin columns, but want to make sure it will not affect anything else.

    2. After doing that, should I reinstall AC or anything like that?

    3. How can I remove this option from the DB? Is there a good plugin for that? I’m not a fan of running DB queries directly on the DB

    Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    1) This option is only used by our plugin
    2) No need to reinstall the plugin, when the option is not available, it should automatically run on any page request in the admin
    3) The easiest way is to use a tool like PHPmyadmin (if your hoster has that). Otherwise, I can send you a snippet that you can place on your website, but if I do that, I can also send you a snippet to do the install manually with PHP.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘New Columns Disappear after adding them and saving’ is closed to new replies.