How does DiscuzX3 set to cancel receiving reply notifications by default?

Source: Internet
Author: User
A customer previously had a strange requirement that he wanted his forum member registration to disable the function of receiving reply notifications by default. let's talk about the function, in fact, as the name implies, this setting is used to send notifications to members every time a post has a reply. the method of disabling the notifications is generally performed by the user on the membership system.

A customer previously had a strange requirement that he wanted his forum member registration to disable the function of receiving reply notifications by default. let's talk about the function, in fact, as the name implies, this setting is used to send notifications to members every time a post has a reply. the method of disabling the notification is generally set by the user's own membership system, however, this webmaster wants all users to be disabled by default. There are two ways to implement this function. The following is a simple example.
Method 1:
X3 open source/include/post/post_newthread.php
Find $ allownoticeauthor = 1;
Change to: $ allownoticeauthor = 0; // then update the cache. this method is recommended for ease and convenience.

Discuz

Method 2:
X3 open the template/default/forum/post_editor_attribute.htm file

Search

{Langpost_noticeauthor}
Delete the checked = "checked" section.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.