XF 1.5 Mass edit Preference

waps

Member
I'm a vb to xf user, all my old users their preference option "Automatically watch threads that you create or when you reply..." are uncheck, is there a option or query command where i can check them all?

thanks!
 
For the default watch state:

Code:
UPDATE xf_user_option
SET default_watch_state = 'watch_email';

Or:

Code:
UPDATE xf_user_option
SET default_watch_state = 'watch_no_email';

...depending on if you want emails too. Note that this preference is not retroactive to existing threads.
 
Back
Top Bottom