tjdrico |
06-09-2004 07:02 AM |
If you want to hack that in for the time being anyway, open showthread.php and...
Find:
PHP Code:
$eventinfo['openuntil_date'] = vbdate($vboptions['dateformat'],$eventinfo['item_open_until'],true);
$eventinfo['payafter_date'] = vbdate($vboptions['dateformat'],$eventinfo['item_pay_after'],true);
$eventinfo['openuntil_time'] = vbdate($vboptions['timeformat'],$eventinfo['item_open_until'],true);
$eventinfo['payafter_time'] = vbdate($vboptions['timeformat'],$eventinfo['item_pay_after'],true);
and replace it with:
PHP Code:
$eventinfo['openuntil_date'] = vbdate($vboptions['dateformat'],$eventinfo['item_open_until']);
$eventinfo['payafter_date'] = vbdate($vboptions['dateformat'],$eventinfo['item_pay_after']);
$eventinfo['openuntil_time'] = vbdate($vboptions['timeformat'],$eventinfo['item_open_until']);
$eventinfo['payafter_time'] = vbdate($vboptions['timeformat'],$eventinfo['item_pay_after']);
Next, open vbookie.php
Find:
PHP Code:
exec_switch_bg();
$item['created'] = vbdate($vboptions['dateformat'],$item['item_created'],true);
$item['openuntil'] = vbdate($vboptions['dateformat'],$item['item_open_until'],true);
$item['payafter'] = vbdate($vboptions['dateformat'],$item['item_pay_after'],true);
eval('$betitembits .= "' . fetch_template('vbookie_main_items_bit') . '";');
and replace it with:
PHP Code:
exec_switch_bg();
$item['created'] = vbdate($vboptions['dateformat'],$item['item_created']);
$item['openuntil'] = vbdate($vboptions['dateformat'],$item['item_open_until']);
$item['payafter'] = vbdate($vboptions['dateformat'],$item['item_pay_after']);
eval('$betitembits .= "' . fetch_template('vbookie_main_items_bit') . '";');
Then find:
PHP Code:
$eventinfo['openuntil_date'] = vbdate($vboptions['dateformat'],$eventinfo['item_open_until'],true);
$eventinfo['payafter_date'] = vbdate($vboptions['dateformat'],$eventinfo['item_pay_after'],true);
$eventinfo['openuntil_time'] = vbdate($vboptions['timeformat'],$eventinfo['item_open_until'],true);
$eventinfo['payafter_time'] = vbdate($vboptions['timeformat'],$eventinfo['item_pay_after'],true);
and replace that with:
PHP Code:
$eventinfo['openuntil_date'] = vbdate($vboptions['dateformat'],$eventinfo['item_open_until']);
$eventinfo['payafter_date'] = vbdate($vboptions['dateformat'],$eventinfo['item_pay_after']);
$eventinfo['openuntil_time'] = vbdate($vboptions['timeformat'],$eventinfo['item_open_until']);
$eventinfo['payafter_time'] = vbdate($vboptions['timeformat'],$eventinfo['item_pay_after']);
That should sort the "1 Minute Ago" problem. These edits will be made to the install set from 1.0.4 onwards.
|