As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #1270111
A table customised for user but only editable by admin at backend
Closed

Comments

  • Wilson Lau started the conversation

    I want to create a table with four columns (i.e. Date, Type, Detail, Amount of money). Users can only see their own data. This table should only be editable by admin at backend so that I can input the related data for their reference when I have made a payment to these users.

    I followed the documentation on the official website (https://wpdatatables.com/documentation/front-end-editing/allowing-users-to-edit-only-their-own-data/) and set the editor role in the editing tab to "Administrator". However I am not allowed to enter the user ID column into the table and also other fields. If I don't input the user ID by myself, I guess the plugin couldn't let the users only seeing their own data right?


    What should I do in this case? Thanks.

  • [deleted] replied

    Hi Wilson,

    • If I don't input the user ID by myself, I guess the plugin couldn't let the users only seeing their own data right?

    Yes that is right. Plugin uses information from column with ID's to compare it with current user ID.

    Only option would be to still add ID column but make it hidden. That way it will work for the frontend users but they will not be able to see it