![]() |
Query question
I am looking to change the subscription method of all threads for a single user.
In other words, change their subscriptions from "Instant E-mail Notification" to "No E-mail Notification". Would this query do the trick? Code:
UPDATE user SET autosubscribe = 0; WHERE userid = 'X'; Code:
UPDATE user SET autosubscribe = 0; WHERE usergroupid = 'X'; |
You do not put the semi-colon after "autosubscribe".
[sql]UPDATE " . TABLE_PREFIX . "user SET autosubscribe = 0 WHERE userid = X[/sql] |
No need to run a query, you can set his option when editing the user in the AdminCP.
|
All times are GMT. The time now is 01:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|