Hi,
with connection to the new GDPR law, I'm looking for a tool which would help me to conform to these regulations. There is one plugin: https://wordpress.org/plugins/gdpr/. Could you recommend any solution to integrate the plugin forms into the CRED user registration form? The basic need here would be to include the plugin consent checkboxes:
hidden link
Thanks for any hints.
Hello,
There isn't such a built-in feature within CRED form, here are my suggestion, you can try these:
1) Create shortcode for redering consent GDPR checkboxes:
https://codex.wordpress.org/Function_Reference/add_shortcode
2) Put above shortcode into the CRED form
3) After user submit the CRED form, use CRED action hook cred_save_data to save the consent checkboxes values:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data
For your reference.
Hi Luo,
thank you.
And do you have any suggestions on how to design a workflow to handle user requests to remove/provide them with their data in the case of forms submitted without having user account, but which contains private data like names/emails?
Is it eventually better to require user to register on a website, which I imagine makes it easier to automate user-submitted data for admins and users themselves?
As I am still during website development stage, I'd prefer to put some more effort now but come up with more efficient way to handle this.
For the new question:
how to design a workflow to handle user requests to remove/provide them with their data ...
Are we talking about this:
limit the user access to his own data, user can not see/remove other user's data?
If it is, you are right, it is better to require user to register and login on website, then you will be able to get the user's ID and user's data, you can create a CRED form for editing current user.
https://toolset.com/documentation/user-guides/cred-user-forms/
Dear Luo,
I rather mean situation when users requests to provide them with what we store about them or requests to remove their data.
1. How is processed removal of the parent CPT with children CPT, are the children removed as well automatically?
2. How is processed removal of the CPT authored by a user? If I remove a user, are his CPT removed automatically as well?
For the new questions:
Q1) How is processed removal of the parent CPT with children CPT, are the children removed as well automatically?
There isn't such a built-in feature within Toolset, but it is possible within some custom codes, for example, when user delete a parent post, you can use wordpress action hook "delete_post" to trigger a PHP function,
https://developer.wordpress.org/reference/hooks/delete_post/
in this function, get all child posts:
https://toolset.com/documentation/customizing-sites-using-php/displaying-child-posts/#displaying-child-post-contents
And delete them
https://developer.wordpress.org/reference/functions/wp_delete_post/
Q2) How is processed removal of the CPT authored by a user? If I remove a user, are his CPT removed automatically as well?
I assume we are talking about this:
Dashboard-> Users-> Delete a wordpress user
It is standard wordpress process, you can choose two options:
1) Delete all content. (of this user)
2) Attribute all content to: another user
I assume the original question has been resolved, if you need assistance for the new questions, please create new thread for the new questions, that will help other users to find the answers.