January 28, 2021 at 10:45 pm #1730
Need to add other user data to the logging table. Right now there is only the Username column. What our company needs is to be able to reference this log, see who downloaded our software recently, and it would be hugely beneficial to be able to see their Email, Nickname First Name & Last Name in this table. We have looked through all the templating files and the includes files… this file seems to be the one that controls this structure: sdm-user-login-related.php, but it constructs the table a little differently than we expected. Is there any material we can reference that would help us add these fields to the Logging Table? Even if this is somehow not possible… an alternative would be to make the Username a link, tat links directly to the users profile page. Essentially we just need to contact the user who downloaded items recently, and have all that contact info at our finger tips. We have 600+ users on the site, so it would take some digging to find this data manually. Thanks in advance!January 31, 2021 at 4:25 am #1731adminKeymaster
First name, email etc is not something this plugin collects. It’s not how the core plugin is used primarily. So the better option is to link the username field to the corresponding WP user entry. You referring to the WP User entry correct?
I am pretty sure the Logs list table can be modified to make the username column link to the corresponding WP user entry.February 1, 2021 at 2:07 pm #1732
Yes, that would absolutely work! If the username can link to their user profile, then in theory, we can click on said link and view the user data, so we know who to contact. It is one extra step, but should work just fine!
Any advice one editing the Logs List Table to add this function? Any help would be greatly appreciated.February 1, 2021 at 8:15 pm #1733
Actually, just talked to the project lead on this, and they said the username link will not work. They need the User’s First Name, Last Name and Nickname in the table. In theory shouldn’t this be possible? If we’re already bringing in the username, shouldn’t we be able to bring in other user related fields? Thank you for helping me with this!February 2, 2021 at 12:24 am #1734adminKeymaster
That will need to be handled as a custom development job. I will send you an email and explain.
- You must be logged in to reply to this topic.