MyBB Community Forums
[How To?] Remove maximum age in mybb - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] Remove maximum age in mybb (/thread-192008.html)



Remove maximum age in mybb - KieranMeow - 2016-04-22

Hello. I'd like to remove the maximum age or at least make the maximum to the year 1500 or something.
Is that posible or can I change the year for a specific user somewhere?
When I try to change it to 1806 it says this:
[Image: a7f8038d85.png]
My Forum: www.kingalaxy.pw (german, I hope the "Powered by MyBB" is visible enough)


RE: Remove maximum age in mybb - mmadhankumar - 2016-04-23

check if this helps... edit this line: https://github.com/mybb/mybb/blob/feature/member.php#L728

and change 100 to a higher value...

$mybb->input['bday3'] < (date("Y")-100)

but why would you put such weird birthdays.. Toungue


RE: Remove maximum age in mybb - KieranMeow - 2016-04-25

(2016-04-23, 09:59 AM)mmadhankumar Wrote: check if this helps... edit this line: https://github.com/mybb/mybb/blob/feature/member.php#L728

and change 100 to a higher value...

$mybb->input['bday3'] < (date("Y")-100)

but why would you put such weird birthdays.. Toungue

That didnt work. I set it to 1000 and it still gives me an error :/ more ideas? 

i'm just messing around with myBB xD The forum doesnt have any users yet anyways


RE: Remove maximum age in mybb - .m. - 2016-04-25

it needs to be also changed at ~/inc/datahandlers/user.php#L387