Page 2 of 4

Re: [RC] Change Post Time

Posted: Thu Nov 11, 2010 10:27 am
by Jeroen B
No problem :) Let me know if you find any problems or bugs.

Re: [RC] Change Post Time

Posted: Sat Nov 13, 2010 9:12 am
by Goku ssj3
Jeroen I still have problem
I Fill the date in the correct way, I Reinstalled the mod but the problem still appear
It's Probably a problem with the phpbb version?

So I Changed the code in this way
In mcp_post.php

Code: Select all

			 $from_oldtime = $user->format_date($post_info['post_time']);
			 
			        $month = request_var('month', 0);
         			$day = request_var('day', 0);
         			$year = request_var('year', 0);
        		 	$hour = request_var('hour', 0);
         			$minute = request_var('minute', 0);
         			$second = 0;
         			
      $hour = $hour - ($user->timezone + $user->dst);
      $day = $day - 2;
      $month = $month + 5;
And Now It work correctly

Re: [RC] Change Post Time

Posted: Sun Nov 14, 2010 4:03 pm
by Jeroen B
I still don't know how that problem could have occured on your board, but glad to hear you got it working now. Let's see if more people are having troubles with this.

Re: [RC] Change Post Time

Posted: Sun Nov 14, 2010 5:24 pm
by Goku ssj3
Another problem -.-
I've notice that my fix work only with month between 1 an 09
at the month 10 the day= day +1
month 11 day=day+2
month 12 day=day+2

Jeroen There's a way to use te if construct to solve any case?
for example

if($month == 10) then ...
if($month == 11) then...

Help me :)

Re: [RC] Change Post Time

Posted: Fri Nov 26, 2010 9:15 pm
by hywel
Jeroen B wrote:Let's see if more people are having troubles with this.
I'm in the exact position where Goku ssj3 is, date is slightly wrong on a board with time set in Italy.
What info can I share to help you on this issue?
Thanks for your time.
Cheers

Re: [RC] Change Post Time

Posted: Sat Nov 27, 2010 11:17 am
by darkonia
same by me :ugeek:

Re: [RC] Change Post Time

Posted: Mon Nov 29, 2010 5:20 pm
by forg
In 5 hour I've solved the problem :?

The problem is this:

Code: Select all

$hour = $hour - ($user->timezone + $user->dst);
I've commented it with double slash

Code: Select all

//$hour = $hour - ($user->timezone + $user->dst);
and now it's work.

Excuse for my bad english....

Re: [RC] Change Post Time

Posted: Wed Dec 01, 2010 5:26 pm
by Jeroen B
@ people who didn't got this MOD working, can you try to apply the changes which forg told us above? Let me know if this worked for you guys. I still need to look into it.

Re: [RC] Change Post Time

Posted: Wed Dec 01, 2010 5:34 pm
by hywel
It did work for me when changing time to 1st December (it changed to exact time), partially worked when changing time to 1st August (it changed to extact time +1 hour).
Basically, workaround works great.
Please ask if you need more info, and thanks again for the mod.
Cheers

Re: [RC] Change Post Time

Posted: Wed Dec 01, 2010 5:58 pm
by darkonia
after a few edits the mod works for me.

Re: [RC] Change Post Time

Posted: Fri Dec 03, 2010 4:10 pm
by Jeroen B
darkonia wrote:after a few edits the mod works for me.
Which edits exactly?

Re: [RC] Change Post Time

Posted: Fri Dec 03, 2010 4:10 pm
by Jeroen B
hywel wrote:It did work for me when changing time to 1st December (it changed to exact time), partially worked when changing time to 1st August (it changed to extact time +1 hour).
Did you also mind the Summer Time/DST setting? That may cause the 1 hour difference.

Re: [RC] Change Post Time

Posted: Fri Dec 31, 2010 3:39 pm
by ottolapsi
Where should I put/what to do with the language files to get them work? Thanks.

Re: [RC] Change Post Time

Posted: Fri Dec 31, 2010 4:51 pm
by Jeroen B
When you open the install_mod.xml file with your browser, you'll notice that you have to do some edits in the /language/ files. You can edit those lines to your language.

Re: [RC] Change Post Time

Posted: Sun Jan 02, 2011 6:38 pm
by Dr.Kappas
Very nice mod, but i need changes for a Subsilver2 based style
Thanks...