The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have just changed the default timezone of my forum. But i have 20,000 registered members. I would like to change the timezone for all of them
could anyone give me a SQL command to set the timezone of ALL my members to UTC +1h00 thanks a lot! |
#2
|
||||
|
||||
![]()
UPDATE user SET `timezoneoffset` = 1
Be sure to use the prefix in front of 'user' if your forum uses prefixes. ALWAYS Backup your table /database before making such a change. This will change it for every member of your forum- don't you have members that are not in your timezone? |
#3
|
||||
|
||||
![]()
Changing the forum timezone will not affect your members timezones. It only affects unregistered/not logged in users. There is nothing you need to do.
|
#4
|
|||
|
|||
![]() Quote:
Quote:
|
#5
|
||||
|
||||
![]()
If they are not all from the same timezone you are probably going to piss a bunch of them off.
|
#6
|
||||
|
||||
![]() Quote:
This... The timezone is supposed to be locally set by your users to their time... there should never be a reason to change this unless a large geographical area voted themselves into a new time zone. |
#7
|
|||
|
|||
![]()
hi again,
i have one more question how can i enable the option "automatically switch to daylight saving time" for all users of the forum with a sql command ? thanks! |
#8
|
||||
|
||||
![]()
That's a tough one, I don't see any field for this in the database
![]() |
#9
|
||||
|
||||
![]() Quote:
http://www.vbulletin.com/forum/showt...=1#post1197837 Code:
UPDATE user SET options=options + 128 WHERE NOT(options & 128) |
#10
|
|||
|
|||
![]() Code:
On: UPDATE user SET options=options + 64 WHERE NOT(options & 64); but will it alter other options set by members ? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|