Quote:
Originally posted by afterlab
That's the exact code of mine! And this is hardly a hack too.. Apart from mine, if you wanted it in the post, all you had to do was carry over my code to functions.php, rather than member.php
If you're going to take credit for something, make sure it's yours first.
|
Code:
Afterlab's:
// Display Days Registered
// By: afterlab
$regdays = round((time() - $userinfo[joindate]) / 86400); // Days Joined
if ($regdays < 1) { // Must be registered Today
$regdays = "1";
$daydays = "Day";
}
if ($regdays == 1) {
$daydays = "Day";
} else {
$daydays = "Days";
}
Code:
eXtremeTim's:
// Display Days Registered In Post
//By: eXtremeT1m
$regdays = round((time() - $post[joindate]) / 86400); // Days Joined
if ($regdays < 1) { // Must be registered Today
$regdays = "1";
$daytext = "Day";
}
if ($regdays == 1) {
$daytext = "Day";
} else {
$daytext = "Days";
}
// Display Days Registered In Post
Looks identical to me.