Problem: When discuz (dz) replies to a user's comment in other logs, it prompts: "Sorry, the content you entered contains bad information and cannot be submitted" (as shown below ). Check the word blocking set in the background, and no words matching the blocking are found.
Solution:
1./source/class/helper/helper_form.php
Showmessage ('Word _ banned', '', array ('wordbanned' => $ wordbanned ));
Add showmessage ($ wordbanned) before the code );
2. Reply to the user again, and the top left corner shows the words that match the blocking (as shown in the figure below ).
Cause: this is a dz system bug. The reply content is a superposition of information, that is, the content of this reply will be submitted with the original comment and comment user name as the $ message variable (as shown in the figure below). The Test username is called yandongsheng, the name contains the blocked word "and ". Therefore, the system prompts "Sorry, the content you entered contains bad information and cannot be submitted ".
Solution: delete the blocked word and update the data cache.