MyBB Community Forums

Full Version: [F] Editing user and DST
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
If you edit a member in the Admin-CP the DST option gets disabled for this user. The Problem is that $mybb->input['enabledst'] has no content in admin/users.php in line 488.
Yes, I noticed this has happened as well! Big Grin
mmm... Added DST option
This bug has been fixed in the latest code.

Please note the latest code is not live on the site or for download. An update will be released which contains this fix.
So. we should remove this code in admin/user.php on line 488?
Open the file admin/user.php and search for:
makeyesnocode($lang->invisible_mode, "invisible", 'no');
Above add:
makeyesnocode($lang->enable_dst, "enabledst", 'no');
Open the language file admin/users.lang.php and add the following line at the end before ?>:
$l['enable_dst'] = "Enable Daylight Savings Time correction.";
Well, I assume you meant admin/users.php? Well, I applied that fix, but when editing in ACP, that box still gets unchecked when I go back in to UserCP. ???
Did you apply the first change twice?
Twice? Within the same file, you mean? Hmm...I'll take a look and see!

edit: OK, I went back and applied the change in both cases in the admin/users.php file...but the box still gets unchecked when editing in ACP!
uhh I don't believe you >.< I'm sure I fixed this
Pages: 1 2