No reason for the comma..oops. For converting the data, I'm using the same hook.
forumdisplay_query
Code:
$hook_query_fields .= ", thread_expiry";
$thread['thread_expiry'] = vbdate($vbulletin->options['dateformat'], , $thread['thread_expiry']);
That didn't work so I left the $hook_query line of code in the
forumdisplay_query hook
then i tried putting
Code:
$thread['thread_expiry'] = vbdate($vbulletin->options['dateformat'], , $thread['thread_expiry']);
inside of
forumdisplay_start hook and I tried forumdisplay_complete.