The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey guys,
I'm aware of the 'Normal/Detailed/Yesterday-Today' datestamp option in the adminCP. However, I wish to make it so that it's like this: - Posts made yesterday/today will be displayed as: xx minutes ago, 1 day ago, 3 hours ago etc. (ie. Use detailed for posts made yesterday or today) - However, posts made before then will be displayed as Normal (16-11-2009, 03:08 PM etc) Any ideas on this? Thanks in advance. SM |
#2
|
|||
|
|||
![]()
Bump :3
|
#3
|
|||
|
|||
![]()
It looks like that option is $vbulletin->options['yestoday'], and it's used in vbdate in functions.php. So you could probably change that code so that if the date is not yesterday or today, use '0' (normal). I guess you could add a 4th option to the ACP for that, but there is one place in global.php and one place in includes/functions_online.php where it checks for $vbulletin->options['yestoday'] == 2.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|