![]() |
Great, just installed it.
|
Hmm.. i installed it, but nothing shows up. I've gone back over it 4 times to make sure its right. Still nothing.. any clue?
|
Nice Work Erwin, thanks :)
|
Quote:
|
Not bad. Nice and simple. I will proble also install this one once i get my site back up and running. :)
|
Quote:
|
cann someone help me with this code?
i have this in my member.php to show the userage in members profile but when i view several profiles they are older than their birthday is --------------------------- // Set userage ! if ($bbuserinfo[birthday] == '0000-00-00') { $userage = "N/A"; } else { if (date("Y")<$bday[0] or $bday[0]<1901 or $bday[0]=='0000') { $userage = "N/A"; } } if ( ($userage!="N/A") ){ if (date("m")>=$bday[1] and date("d")>=$bday[2]) { $userage=(date("Y")-$bday[0]); eval("\$getinfo_userage = \"".gettemplate("getinfo_userage")."\";"); } else { $userage=(date("Y")-$bday[0])+1; eval("\$getinfo_userage = \"".gettemplate("getinfo_userage")."\";"); } } if ( ($userage!="N/A") ){ if (date("m")>=$bday[1] and date("d")<=$bday[2]) { $userage=(date("Y")-$bday[0]); eval("\$getinfo_userage = \"".gettemplate("getinfo_userage")."\";"); } else { $userage=(date("Y")-$bday[0])+1; eval("\$getinfo_userage = \"".gettemplate("getinfo_userage")."\";"); } } if ( ($userage!="N/A") ){ if (date("m")<=$bday[1] and date("d")<$bday[2]) { $userage=(date("Y")-$bday[0])-1; eval("\$getinfo_userage = \"".gettemplate("getinfo_userage")."\";"); } else { $userage=(date("Y")-$bday[0]); eval("\$getinfo_userage = \"".gettemplate("getinfo_userage")."\";"); } } -------------------------------------------- Birthday: 23.09.1982 Age: 20 ^^ you see? he is older but its still August right? :) anyone who knows how to fix this? |
I found something wrong!
A user set his birthdate to be in 1969 and it says he's 84 in the postbit :confused: |
ok Very strange I just checked his full profile in adminCP:
1918-06-12 That's what's set for his birthdate which means the 84 is RIGHT but in his PROFILE it says 1969, why does it say that :confused: |
Code removed from this post, and added to the TEXT installation file.
|
All times are GMT. The time now is 06:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|