Hi Tuan, I need this also. Not for GDPR but for a client that requires all existing registered users to log in and accept Terms & Conditions. They also want to be able to reset this every time they change the T&C, to force users to again accept the T&C.
Ironically, if we weren't using Membership Pro this would work, but when the user logs in they are redirected to the core Joomla profile, not the Membership Pro profile.
I've had a look in ..\components\com_users\views\profile\tmpl\edit.php and created a (pretty ugly) override in ....\html\com_users\profile\edit.php, but the Privacy code is linked to the core profile. If the user logs in they are redirected to a page with "Edit Profile" and "Website Privacy" on a single page. It's difficult to hide the core "Edit Profile" part. If you just delete the first fieldset, it doesn't work. (I don't know enough PHP to do much else).
When the user clicks accept, they are then redirected to index.php?option=com_users&view=profile&user_id=???. I can't work out how to make it redirect to /index.php?option=com_osmembership&view=profile instead.
I think if there was a Membership Pro version of the Website Privacy page which showed the MP profile rather than the core, and a couple of plugins to handle redirection, it could all be managed within the core Privacy functionality.
Cheers,
Nicky