I have been snooping around in vb file trying to find a way to make a users join date information display on the showgroups page and I found a code in the member.php file and decided to try that in a plugin. It worked...well sort of, it does not display the correct date any ideas? I have even tried including the class_postbit.php in the showgroups.php file...which did not work. If it matters the hook location is in "showgroups_user"....
code used in meet_our_staff_joindate plugin
Code:
// JOIN DATE
$userinfo['datejoined'] = vbdate($vbulletin->options['dateformat'], $userinfo['joindate']);
$jointime = (TIMENOW - $userinfo['joindate']) / 86400;
// End Join Date