Thread Rating:
  • 4 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to set all users to the same timezone and stop them from changing it
#11
i followed this tutorial, but still new users are being registered with default timezone of GMT (although I have changed it to GMT +4 in my admin CP)

Even time which admin CP shows for various periodic tasks to run is in GMT only - any idea how to change that?
Reply
#12
You must have missed something. Repeat all the steps to make sure you didn't miss anything.

It's also worth deleting the ./inc/settings.php file. It will regenerate itself using the latest values from the database. And make sure it's CHMOD to 666.
Reply
#13
(07-17-2012, 09:33 AM)Fábio Maia Wrote:  You must have missed something. Repeat all the steps to make sure you didn't miss anything.
well, it was quite a short tutorial and i cross checked to make sure everything was followed properly.

(07-17-2012, 09:33 AM)Fábio Maia Wrote:  It's also worth deleting the ./inc/settings.php file. It will regenerate itself using the latest values from the database. And make sure it's CHMOD to 666.

This is a new thing. It was CHMOD to 644. Shud I delete the settings file now after following the tute??

Actually whenever I run the SQL command
Code:
UPDATE `mybb_users` SET `timezone` = '4'

it always updates a few rows.
Will check after a day or two, and see if this happens again or not.
Reply
#14
Still when I run this command in phpmyadmin
Code:
UPDATE `mybb_users` SET `timezone` = '4'

it shows "21 rows updated".

So either users r able to change the timezone (which I don't think they will do anyways) or there is some error happening somewhere.
Reply
#15
Is there anyway to hide the code (using the default values we want), rather than removing them from the templates??

B'coz I am getting this unique error that whenever some user updates his Options in User CP, this timezone setting is changed to GMT automatically.
Reply
#16
Thanks for the tip. I am still having a few issues but I think this could be because of the CDN.
[Image: Jn29h.png]
DONATE TO PINGUY OS or show some love on Flattr.com
Reply
#17
Thanks! I will do this to my forum!
Reply
#18
Can someone explain what the purpose of this is? Why would you want your users viewing the threads time in an entirely different timezone than their own? Or am I missing something....
Reply
#19
That's up to you. It's here just in case you happen to have a need for something like this.

I think I made this per someone's request in the support forums. I didn't have an exact reason in mind.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)