PDA

View Full Version : ANy way to make the date options user specific?


BirdOPrey5
09-13-2010, 01:02 AM
Right now times and dates are common to the entire site, for example this post will have a date like 9/12/2010 at 10:00 PM... there's the other option so it's posted with something like "1 minute ago" or "two weeks ago" - is there some way of letting users choose which way dates and times are displayed for them, this is a heated issue that half the users always don't like the way it's set. :(

It's "Datestamp Display Options" in vb options...

kh99
09-13-2010, 02:09 PM
I haven't tried it, but you might be able to create a user option then in a global_start plugin do something like:



$vbulletin->options['yestoday'] = $vbulletin->userinfo['fieldX'];



You could also maybe create an extra "use default" choice for the user option and add some logic accordingly.

BirdOPrey5
09-13-2010, 07:01 PM
Interesting... I'll play with this, thanks.