Not Solved [How To?] Remove maximum age in mybb
#1
Not Solved
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)
Reply
#2
Not Solved
check if this helps... edit this line: https://github.com/mybb/mybb/blob/featur...r.php#L728

and change 100 to a higher value...

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

but why would you put such weird birthdays.. Toungue
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#3
Not Solved
(2016-04-23, 09:59 AM)mmadhankumar Wrote: check if this helps... edit this line: https://github.com/mybb/mybb/blob/featur...r.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
Reply
#4
Not Solved
it needs to be also changed at ~/inc/datahandlers/user.php#L387
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)