Plugin Author
anmari
(@anmari)
Hi headings are ‘positional’ not linked to fields. On ecan dump many fields into one column with one heading using decimals eg 4.1 and 4.2.
So if you click update headings and save them and the add/delete fields/columns things will look odd.
Rather ‘reset’ your headings and then make/edit ‘nicenames’ for your fields. If there are no stored headings then plugin will use the nice names and those will ‘move’ as you add/delete/move fields.
Thanks for the quick response. It does not explain what I see. I understand headings and nicenames, many fields in a column, reset headings, etc.
Take a very simple example. Create a new list with only two columns:
10 display name
20 email address.
Use nicenames.
This list works perfectly.
Now edit the list to add a new column:
5 ID
but still using nicenames
Update field settings, rebuild cache. This list shows only two columns: ID with the correct column nicename and display name with the correct column name. The email column disappears!
Edit again, change the content of the first column, position 5, from ID to first role (or anything else) and a three column list appears with correct nicename labels, just as you would expect.
Edit again, add ID in a fourth column at the right, position 30. The ID does not show on the list, but the first three columns do.
The disappearing column only happens when user ID is displayed in the list. It can be the ID column itself or another column.
Sometimes the results are stranger than the example above and column names shift, but I’ve kept this example as simple as possible.
Plugin Author
anmari
(@anmari)
HI, ok I see it now – it’s a seemingly random data in the column that’s being ‘unset’ when the ‘id’ field is chosen for display. It’s probably a bug related to the fact that the plugin stores/caches the id field to use for fetching other data but then ‘unsets’ it later as it is not normally displayed. Somehow it is probably unsetting the wrong field.
Now in order to prioritise fixing this, can you advise how/why you want to display the id field?
If just for admin purposes then you could assign the ‘edit user’ linktype to one of the displayed fields and then by hovering over that field you will see the userid when you are logged in as admin.
Hi,
It is low priority. I was moving users from a Joomla site to a WordPress site and needed to see user ids. I used database tools instead.
Thanks for a very useful plugin. I use s2member, rather poor software, and this plugin fills some big gaps in that product.
Yeah, I hit this bug as well. I think I can work around it, once I learn behavior, but worth trying to sort out on some upgrade I expect.
I experienced this behaviour as well, but can’t workaround. I added my comment in the other report for this topic here: https://wordpress.org/support/topic/including-user-id-disrupts-reports?replies=5#post-6401258
We take a workaround and create IDs manually. The WP out of the box ID is created automatically from the database.