>>  Site Map >>  Forums >>  General 7x

Forum module - topics in forum:



General 7x - Discussions reagarding any other PHP-Nuke Problems. 7x



server time in ravennuke

i posted this { http://ravenphpscripts.com/postp89685.html#89685 ) qustion on raven's site, concerning adjusting server time in his distro.

just wondering if anybody who visits this site is able to answer it.






Doesnt http://phpnuke-uk.net/modules.php?name=Forums&file=viewtopic&t=528 work for you?






nope. the code's slightly different.

i think i've posted the relevant code from mainfile.php into the ravenphpscripts thread, but i can post the whole file here if you like. i scanned it manually and then pasted it into m$ word and used the "find" feature to look for it too.






found it! i knew it was a matter of adding either the difference in minutes or hours somewhere in the mainfile.php, but was unable to find anywhere that said how/where to do it to the nuke-evolution/nuke patched mainfile.php

after failed searching on a number of my fave nuke forums, i found the answer here ( http://www.nukeresources.com/ftopict-3319.html )

find:
Code: :
$time = gmmktime($datetime[4],$datetime[5],$datetime[6],$datetime[2],$datetime[3],$datetime[1]);

remplace with
Code: :
$time = gmmktime($datetime[4]+6,$datetime[5],$datetime[6],$datetime[2],$datetime[3],$datetime[1]);

where +6 is the difference in hours between your local time and that of the server.






Cool, as long as you've sorted it.






yeah. just posting it here for the interest of parties in the future who will need to know Wink




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS