![]() |
Time Zone Setting
Does anyone know the variable for the time zone in vbulletin? IE $timesetting?
Edit: I am trying to fix this code so it displays the users correct time: $doublepost['message'] = $doublepost['pagetext'] . "\n\n" . '----Added '.date("j/n/Y"). ' at '.Date("g:i A").'----'.$vbulletin->options['xen_dp_spacer'] . "\n" . $post['message']; So where would I place this: $vbulletin->userinfo['timezoneoffset'] |
Just changing date to vbdate should do the trick, no need for anything else. (I think :D)
|
What variable would that be? I don't want the date I want the time btw.
|
Why is it people that have the simple questions are the ones that want to learn and the ones with the hard questions just want the answers? :p
Check out the docs if you must: vbdate Or... just try it and see for yourself. Note: the code you posted uses "date" twice... :p Just follow my instructions. ;) |
Quote:
|
I hope that was sarcasm because if it wasn't...:mad:
:p |
I'm with the lady here... you do not deserve your title if you are that lazy... sarcasm is not good on google!
|
Quote:
|
Oh wait, is this added to post message for a double post auto-merge mod similar to vB.org's? If so you can't adjust the time for each user as it is written into the message and just a piece of text.
Would have been helpful to have said what it was for in the first post. :p I'd have presumed it was just a normal page otherwise. |
Quote:
|
All times are GMT. The time now is 01:03 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|