PDA

View Full Version : Help with date format for "first post" hack?


mini2
08-08-2004, 05:50 PM
Gone

Colin F
08-09-2004, 02:40 PM
As far as I know, the today/yesterday thing is handled in the vbmail() function.

Why it doesn't work I'm not sure though...

CarCdr
08-09-2004, 02:49 PM
You have change the calls to the vbdate function to enable "yesterday" and "today". For example, the hack contains the function call:

$thread_dateline = vbdate($vboptions['dateformat'], $thread['dateline']);

which, if changed to the following, should work for you:

$thread_dateline = vbdate($vboptions['dateformat'], $thread['dateline'], true);