Forum Thread
  Posts  
fix age display (Forums : Support : fix age display) Locked
Thread Options
gia
gia
Feb 12 2005 Anchor

I am not 20, I am 19, the Profile isn't calculating the right age given the birthday...
Age != Current Year - Year Born

chis
chis Old man.
Feb 12 2005 Anchor

I've noticed that.. i've had to put my birthdate back a bit to get it right

--

Nothing.

ImTheDarkcyde
ImTheDarkcyde ¯\(º_o)/¯
Feb 12 2005 Anchor

yes, i beleive i posted the same thing same day v2 was released, they still havnt fixed it?

frosty-theaussie
frosty-theaussie Sonny Jim
Feb 12 2005 Anchor

Submit a ticket.

--

User Posted Image

ImTheDarkcyde
ImTheDarkcyde ¯\(º_o)/¯
Feb 12 2005 Anchor

there's another bug....

the ticket button 404s

deathmedic3rd
deathmedic3rd Metal Head
Feb 12 2005 Anchor

cool im 21 already :D

er yea.. it should be fixed, and i'm guessing the ticketthing is in help?

--

running a hot rodded mac mini

frosty-theaussie
frosty-theaussie Sonny Jim
Feb 12 2005 Anchor

ImTheDarkcyde wrote: there's another bug....

the ticket button 404s


Moddb.com

Worked for me.

I already submitted the ticket, so don't bother submitting it again.

--

User Posted Image

ImTheDarkcyde
ImTheDarkcyde ¯\(º_o)/¯
Feb 12 2005 Anchor

O_O

there is a ticket button!?

i thought you were being sarcastic..and none existed......thats why i said it didnt work.......

tee hee!

ShortCutMan
ShortCutMan ♥ Pure ♥ Bred ♥ Geek ♥
Feb 12 2005 Anchor

They're not called tickets to the general public frosty. :paranoid:

--

98% of the internet population has a Myspace. If you're part of the 98% that is an emo bastard, copy and paste this into your sig.
User Posted Image

chis
chis Old man.
Feb 12 2005 Anchor

I've heard others call them tickets actually :paranoid:

Or maybe it was just frosty..

oh misread, thought you said "There NOT called tickets ":P

Edited by: chis

--

Nothing.

Feb 17 2005 Anchor

Do you have any idea how hard it is to count months properly with a php formula?

Why dont you whip up a function.

--

Why wont it save me?

leilei
leilei The person who doesn't like anything
Feb 17 2005 Anchor

Well, moddb has no problem calculating age for mods, posts and such...

--

<  insert subject games here  >

Feb 17 2005 Anchor

Good point, he could just use the timeDiffo function...

#Figures out the diffrence between the variable and the current time, based on unix timestamp(THX THEWOLF!)
function TimeDiffo($time)
	{global $forum_properties, $var_section;
	$uptime = time() - $time;
	$year = floor($uptime / 31104000);
	$month = floor(($uptime % 31104000) / 2592000);
	$day = floor((($uptime % 31104000) % 2592000) / 86400);
	$hour = floor(((($uptime % 31104000) % 2592000) % 86400) / 3600);
	$minute = floor((((($uptime % 31104000) % 2592000) % 86400) % 3600) / 60);
	$second = floor((((($uptime % 31104000) % 2592000) % 86400) % 3600) % 60);

	if($forum_properties[&#039;long_dates&#039;] == 0 || $var_section == &#039;thread&#039;)
	{
	if ($year) {return $year.&#039;y, &#039;.$month.&#039;m&#039;;} 
	elseif ($month and !$year){return $month.&#039;m, &#039;.$day.&#039;d&#039;;}
	elseif ($day and !$month){return $day.&#039;d, &#039;.$hour.&#039;h&#039;;}
	elseif ($hour and !$day){return $hour.&#039;h, &#039;.$minute.&#039;m&#039;;}
	elseif ($minute and !$hour){return $minute.&#039;m, &#039;.$second.&#039;s&#039;;}
	elseif ($second and !$minute){return $second.&#039;s&#039;;}}
	
	else
	
	{if ($year) {return &quot;$year year&quot;.esis($year).&quot;, $month month&quot;.esis($month);} 
	elseif ($month and !$year){return &quot;$month month&quot;.esis($month).&quot;, $day day&quot;.esis($day);}
	elseif ($day and !$month){return &quot;$day day&quot;.esis($day).&quot;, $hour hour&quot;.esis($hour);}
	elseif ($hour and !$day){return &quot;$hour hour&quot;.esis($hour).&quot;, $minute min&quot;.esis($minute);}
	elseif ($minute and !$hour){return &quot;$minute minute&quot;.esis($minute).&quot;, $second sec&quot;.esis($second);}
	elseif ($second and !$minute){return &quot;$second second&quot;.esis($second);}}}

--

Why wont it save me?

chis
chis Old man.
Feb 17 2005 Anchor

But there are leap years n shit

--

Nothing.

ImTheDarkcyde
ImTheDarkcyde ¯\(º_o)/¯
Feb 17 2005 Anchor

oh noes, leap years.

MORTAL ENEMY OF THE BILL COLLECTOR

who normally gets away with 2-3 days pay!

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.