Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Laatste bezoek?
#4
Je kan de code veranderen in member.php, zodanig dat het de 'lastvisit' timestamp gebruikt zoals in je ACP;

Open member.php
Find
	if($memprofile['lastactive'])
	{
		$memlastvisitdate = my_date($mybb->settings['dateformat'], $memprofile['lastactive']);
		$memlastvisitsep = ', ';
		$memlastvisittime = my_date($mybb->settings['timeformat'], $memprofile['lastactive']);
	}
	else
	{
		$memlastvisitdate = $lang->lastvisit_never;
		$memlastvisitsep = '';
		$memlastvisittime = '';
	}

Change into
	if($memprofile['lastvisit'])
	{
		$memlastvisitdate = my_date($mybb->settings['dateformat'], $memprofile['lastvisit']);
		$memlastvisitsep = ', ';
		$memlastvisittime = my_date($mybb->settings['timeformat'], $memprofile['lastvisit']);
	}
	else
	{
		$memlastvisitdate = $lang->lastvisit_never;
		$memlastvisitsep = '';
		$memlastvisittime = '';
	}


Messages In This Thread
Laatste bezoek? - by koenwi - 2007-12-22, 10:10 AM
RE: Laatste bezoek? - by LeX- - 2007-12-22, 01:12 PM
RE: Laatste bezoek? - by koenwi - 2007-12-22, 02:46 PM
RE: Laatste bezoek? - by LeX- - 2007-12-22, 03:39 PM
RE: Laatste bezoek? - by koenwi - 2007-12-22, 05:26 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)