The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Set "Receive Email from Admins/Members" to ticked for all members
In User Control Panel > Edit Options, there are the following two options with "tick" box:
Receive Email from Administrators Receive Email from Other Members I want to set these boxes to "ticked" (yes) for all members. Is there any option to Admin CP to do it or something query that I must run to set it? |
#2
|
|||
|
|||
You can do this query:
Code:
UPDATE user SET options = (options | (256 + 16)) I've tried it, but you might want to test it first on one user by adding "WHERE userid = X" to the query. |
#3
|
||||
|
||||
Thanks in advance, it works fine on my test forum!
Two last similar question: 1. What is the query to change only the "Receive Email from Administrators" to ticked for all members? (i want to decide) 2. I want to set the field "Time zone" for all users to "(GMT +2:00) Kaliningrad, South Africa, Cairo". What is the query? |
#4
|
|||
|
|||
Quote:
Code:
UPDATE user SET options = (options | 16) and you can probably guess what the query for the other one would be . Quote:
Code:
UPDATE user SET timezoneoffset = '2' |
#5
|
||||
|
||||
Thank you very much!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|