The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Auto Subscribe if u...
 
Share:
Notifications
Clear all

[Solved] Auto Subscribe if user comments

5 Posts
2 Users
0 Reactions
1,247 Views
Posts: 3
Topic starter
(@mwautin)
Active Member
Joined: 4 years ago

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.

4 Replies
Asti
Posts: 7664
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

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.

Reply
Posts: 3
Topic starter
(@mwautin)
Active Member
Joined: 4 years ago

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>
Reply
Posts: 3
Topic starter
(@mwautin)
Active Member
Joined: 4 years ago

One additional question. Is there the option to limit the amount of notifications. E.g. 1 per 15 Minutes?

Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7664

@mwautin,

We're really sorry, but wpDiscuz doesn't have such a feature. 

Reply
Share: