Page 1 of 1

« Notify me when a reply is posted » default to YES

Posted: Sat Jun 08, 2024 5:53 pm
by Refugees
I would like newly registered users to have the « Notify me when a reply is posted » option set to YES by default.
Is there an easy way to do this?
Edit the posting_editor.html file and find:

Code: Select all

<div><label for="notify"><input type="checkbox" name="notify" id="notify"{S_NOTIFY_CHECKED} /> {L_NOTIFY_REPLY}</label></div>
Replace by:

Code: Select all

<div><label for="notify"><input type="checkbox" name="notify" id="notify" checked="checked" /> {L_NOTIFY_REPLY}</label></div>

Clear cache after. With that, the option will be checked by default whether replying or starting a post.

before_mod.png
before_mod.png (27.11 KiB) Viewed 276 times
after_mod.png
after_mod.png (24.68 KiB) Viewed 276 times