Hello what I would need is the option automatically set a subscription if a user comments to any post. I checked the hooks but found nothing of help there.
Hi @mwautin,
wpDiscuz doesn't have auto-subscription feature. This kind of options don't comply GDPR and they are not manageable.
You can enable the 'Keep checked the "Notify of new replies to this comment" option by default' option. The option is located in the Dashboard > wpDiscuz > Settings > Subscription and User Following admin page.
Just make sure this is not a fundamental breach of the GDPR regulation.
Hello Asti,
thank you for the quick reply.
To bad, but I was able to help myself with jQuery.
Thank you for the GDPR concern but since it's a non public project there are no issue.
<script>
jQuery(document).ready(function($) {
if ($("body").hasClass("page")) {
jQuery('#wpdiscuz_subscription_button').trigger('click');
}
})
</script>
One additional question. Is there the option to limit the amount of notifications. E.g. 1 per 15 Minutes?