Quote:
Originally Posted by Hannan
It's nice!
anyone knows how can I do like this:
I mean with time!
thanks
|
many people ask this question but it' seem that nobody want to help. but here is the way
just find
Code:
$doublepost['message'] = $doublepost['pagetext'] . "\n\n" . $vbulletin->userinfo['username'] . ' added ' . intval((TIMENOW - $doublepost['dateline'])/60) . ' Minutes and ' . ((TIMENOW - $doublepost['dateline']) % 60). ' Seconds later...' . $vbulletin->options['xen_dp_spacer'] . "\n\n" . $post['message'];
replace with
Code:
$doublepost['message'] = $doublepost['pagetext'] . "\n[SIZE=\"1\"][COLOR=\"DarkSlateGray\"]" . '-----Auto added double post '.date("j/n/Y"). ' at '.Date("h:i:s").'-----'.$vbulletin->options['xen_dp_spacer'] . "[/color][/size]\n" . $post['message'];
if you want to use 24-hour format then just change h-->H
h:12-hour format of an hour with leading zeros
H:24-hour format of an hour with leading zeros
that all