The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I look for this modification
![]() I have this code, but I can not say 'today' when creating a theme today, looks like this "(He <1 day)" and "yesterday" when I spend a day and if you could put in gray and remove the "()" would be perfect, thanks Code:
$startparts = explode('/', vbdate('m/d/Y', $thread['dateline'], true)); $endparts = explode('/', vbdate('m/d/Y', TIMENOW, true)); $startdate = gregoriantojd($startparts[0], $startparts[1], $startparts[2]); $enddate = gregoriantojd($endparts[0], $endparts[1], $endparts[2]); $days = ($enddate - $startdate == 0) ? '< 1' : $enddate - $startdate; if ($thread['dateline']) { $thread['threaddate'] = vbdate($vbulletin->options['dateformat'], $thread['dateline'], 1); $thread['threaddate'] = " Hace $days d?as"; } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|