Problems with EC 2008 Bet Game

SpeedRazors

New Member
Oke can someone please help me out with this, my server is in Charlotte NC and my timezone of vbulletin is in Amsterdam now this timezone difference is the problem in EC 2008 bet game, games don't start and end at the proper times because of this difference, on vbulletin is this solution but i cannot figure it out how to set this.

Open EM2008.php

Find:


PHP Code:
Code:
$phase2_timestamp =  mktime(0,0,0,6,7,2008);
Add under:


PHP Code:
Code:
$seconds = 60*60*2; // 2 hours, for example 60*60*4 for 4 hours etc.
Find:


PHP Code:
Code:
$em_now = time()
Replace with:


PHP Code:
PHP:
$em_now = time() + $seconds; // now the time runs 2 hours "after"
I don´t know how many hours +/- do you need. Please change this by yourself, it´s very easy.

Use - for set time before and + to set the server time after.

****

Please help me figure out my timezone timeserver problems....
 
Back
Top