Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Editing user and DST
#1
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.
Greets,
Michael
-------------
[Image: donation_drive_sig.png]
#2
Yes, I noticed this has happened as well! Big Grin
Jude

If I post in your thread, please do not PM me for more help! Thanks!


#3
mmm... Added DST option
#4
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.
#5
So. we should remove this code in admin/user.php on line 488?
#6
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.";
Greets,
Michael
-------------
[Image: donation_drive_sig.png]
#7
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. ???
Jude

If I post in your thread, please do not PM me for more help! Thanks!


#8
Did you apply the first change twice?
#9
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!
Jude

If I post in your thread, please do not PM me for more help! Thanks!


#10
uhh I don't believe you >.< I'm sure I fixed this


Forum Jump:


Users browsing this thread: 1 Guest(s)