IP.Board 2.3: Enhanced Joined date: X Days, Y Months and Z Days
Started by Adriano Faria, Jan 21 2009 03:53 PM
5 replies to this topic
#1
Posted 21 January 2009 - 03:53 PM
This is the support topic for the tutorial Enhanced Joined date: X Days, Y Months and Z Days. Please post here if you have any questions or feedback.
#2
Posted 21 January 2009 - 04:01 PM
Thanx , SOSInvision
would this tutorial work for 2.3.x versions ?
#3
Posted 21 January 2009 - 04:03 PM
kollerxp2002, on Jan 21 2009, 05:01 PM, said:
would this tutorial work for 2.3.x versions ?
Sure! It's only parse UNIX date.
Edited by DawPi, 21 January 2009 - 04:03 PM.
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence
#4
#5
Posted 21 January 2009 - 04:18 PM
do I take it you can display the joined information as both types just with a little mod to the code?
eg:
Joined: 1-April 07
1 year, 3 months
and 20 days ago
~*~
~*~
Quote
95% of all installation errors are from not following the instructions correctly.
Click this link for information on common modification questions and errors
~*~
#6
Posted 21 January 2009 - 05:17 PM
RichardC, on Jan 21 2009, 02:18 PM, said:
do I take it you can display the joined information as both types just with a little mod to the code?
eg:
Joined: 1-April 07
1 year, 3 months
and 20 days ago
$member['member_joined'] = $this->compiled_templates[ $skin_file ]->member_joined( $this->get_date( $member['joined'], 'JOINED' ) );
$nicedate = $this->GetDateDifference( date('m/d/Y', $member['joined']), date('m/d/Y', time() ) );
$member['member_joined'] .= "<br /> (".$nicedate['NiceString'].")";

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users





Contributor











