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.
Nov 28, 2020 12:48 pm
4 Replies
Nov 28, 2020 1:01 pm
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.
Nov 28, 2020 1:05 pm
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>
Nov 28, 2020 1:13 pm
One additional question. Is there the option to limit the amount of notifications. E.g. 1 per 15 Minutes?

