miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
How To miniBB Support Forums / How To /  
 

Setting up time difference / zones ( $timeDiff setting )

 
 
Page  Page 1 of 2:  1  2  Next »

Author DrizzlyBritman
Partaker
#1 | Posted: 29 Jul 2003 01:03 
Hi, I'm in the UK, my server is in the US all posts show US time. I want it so they are in GMT.

Thanks

Author Team
8-)
#2 | Posted: 29 Jul 2003 10:32 
$timeDiff in setup_options

Author DrizzlyBritman
Partaker
#3 | Posted: 29 Jul 2003 15:03 
$timeDiff=21600;

Is that minutes?

Author Team
8-)
#4 | Posted: 29 Jul 2003 15:14 
It is always nice to ->>> RTFM <<<--

Author DrizzlyBritman
Partaker
#5 | Posted: 29 Jul 2003 15:22 
:D

lol

Author DrizzlyBritman
Partaker
#6 | Posted: 29 Jul 2003 15:38 
OK sorted the time difference. 5 hours = 18000 but nothing has changed. posts are still showing 5 hours behind local time.

oops. nevermind, forgot to remove the //

DOH!

Thanks

Author Team
8-)
#7 | Posted: 29 Jul 2003 15:42 
ok.

Author Anonymous
Guest
#8 | Posted: 13 Nov 2003 02:44 
FYI:
I was able to go in reverse via:
$timeDiff=-54600
I needed to go backwards since my server is in Hong Kong and my site is in CA. in USA. This fixed the date being a day ahead of most of my members.

I hope this might help somebody

Author manuela
Partaker
#9 | Posted: 10 Feb 2004 09:17 
I want to change the time difference (I am one hour ahead of the default time).

I tried modifying it by changing //$timeDiff=25200; (I think I added one extra hour by doing this).

But it does not work.....

What am I doing wrong?

Author Team
8-)
#10 | Posted: 10 Feb 2004 10:28 
Uncomment the string (remove //)

Author manuela
Partaker
#11 | Posted: 10 Feb 2004 15:44 
thank you, that solved the trick!

Author Ojlert
Partaker
#12 | Posted: 20 Dec 2005 21:37 
Will it be very bad for the server and forum performance if one chooses to display a different time zone than the standard server time?

Author Team
8-)
#13 | Posted: 21 Dec 2005 10:39 
It will be not very bad, however, there are some additional resources requested. In general, what do you mean by "if one chooses to display"? We have no such setting for individual users...

Author tuvi
Partaker
#14 | Posted: 21 Dec 2005 21:08 
Where do I change in the script... to be able to display two time zones side-by-side?

For example:

Posted: 20 Dec 2005 21:37 (18:37)

Author Team
8-)
#15 | Posted: 21 Dec 2005 22:40 
You can use parseMessage() function. Paste this in bb_plugins.php:

function parseMessage(){
$timeDiff=3600; //time difference in seconds
$GLOBALS['secondTime']=' ('.date('H:i', strtotime($GLOBALS['cols'][2])+$timeDiff).')';
return;
}

then paste in templates/main_posts_cell.html:

{$secondTime}

Page  Page 1 of 2:  1  2  Next » 
How To miniBB Support Forums / How To /
 Setting up time difference / zones ( $timeDiff setting )
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑