• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Automatically Watch Thread

majesty95

Active member
#1
Another XF site that I use has it set to have the thread automatically watched anytime the users replies, likes, etc. I thought I saw this option somewhere before but I cannot find it for the life of me now...
 

loplo

Active member
#7
Is there a way that changes the default
Watch this thread...
and receive email notifications
from ticked to unticked, while replying to a thread?

I've changed the option for the new members.
 

loplo

Active member
#11
Is is public somewhere, or could you help me with that? I don't dare making experiments on my database without knowing what I'm doing.
Thanks.
 

Brogan

XenForo moderator
Staff member
#12
You shouldn't really be changing existing member settings without their permission.
I would be extremely annoyed if a site owner did that to my account.
 

loplo

Active member
#13
The issue is, that most of them started to complain regarding the tons of mails they're receiving.
For me it would be a much nicer move to be able to have the "Watch this thread... and receive email notifications" unticked by default. This way noone is automatically subscribed to a thread.
If someone wants to follow a thread, discussion he can tick it, but by default should be unticked.

LE
I've found this from @Jake Bunce, posted in 2011. Is this going to work on the latest database?

Code:
UPDATE xf_user_option
SET default_watch_state = '';
 
Last edited:

Brogan

XenForo moderator
Staff member
#14
Code:
UPDATE xf_user_option SET default_watch_state = ''
or

Code:
UPDATE xf_user_option SET default_watch_state = 'watch_no_email'
Depending on whether you want them to still watch or not.

Take a backup first.
 

loplo

Active member
#15
Wired things happen.
Did the query with the result "271 rows affected. (Query took 0.2835 sec)", but the "Watch this thread... and receive email notifications" is still ticked by default and in /account/alert-preferences is everything ticked too.
Am I missing something?