Quote:
Originally Posted by TheSpecialist
I think it is becasue $dateformat isn't defined yet (unless it is in vb, but I don't think it is). Try using $vboptions['dateformat'] instead of $dateformat. If you want to display the date and the time the way vB does replace everything inside your while loop with:
PHP Code:
$lastpostdate= vbdate($vboptions['dateformat'], $user['lastpost'], true);
$lastposttime= vbdate($vboptions['timeformat'], $user['lastpost']);
echo $lastpostdate . ' ' . $lastposttime . '<br />';
|
Thanks alot. Works great now