Page 4 of 5

Re: Time in Latest Forum Posts Widget

Posted: Tue Mar 07, 2017 5:09 pm
by Athlon
Okay - thank you for keeping me updated!

:o

Re: Time in Latest Forum Posts Widget

Posted: Tue Mar 07, 2017 5:53 pm
by Goofkop
Then we have to wait. Thanks for keeping us updated!

Re: Time in Latest Forum Posts Widget

Posted: Wed Mar 08, 2017 1:54 pm
by axew3
ok, as said, i had not well understand, now all is very clear.
About placeholder, seem that you need to set by the way a value, not leave the placeholder, or not will save ... perhaps maybe, the placeholder should appear on field as semi-transparent, in the way it is now, confuse me. By the way, also the other about i18n() function and how should receive params is now very clear, but thank to my english, i've not still understand all the logic in WP about :) i should see the code better maybe, because i'm asking my self... what Time setting is in place to do? .... ok no, joking ... i had think the function do more than it can. And i need to take a look to this aspect to clarify myself some question more.

1.6.5 will be released soon and will include the time fix to display hours inline as will be the time setting on phpBB, and the other fix about socials logins, more some little fix and all the rest can come out in the while.

The login widget with more info about user will be also added ( at max on 1.6.6 ).

Re: Time in Latest Forum Posts Widget

Posted: Wed Mar 08, 2017 2:33 pm
by Athlon
Sounds good. Thank you for your great communication to us.

Re: Time in Latest Forum Posts Widget

Posted: Thu Mar 09, 2017 2:54 pm
by Lantern
Awsome ! #keepupthegoodwork

Re: Time in Latest Forum Posts Widget

Posted: Sun Mar 12, 2017 10:44 am
by axew3
this fix, that will be added on 1.6.5 need to be done in this way ( as suggested on WP forum by @bcworkz )

Open views/phpbb_last_topics.php

with text editor search for, exactly this code (repeated 8 times on phpbb_last_topics.php):

Code: Select all

date_i18n( 'H:i Y-m-d', $value->topic_last_post_time )
just replace with:

Code: Select all

date_i18n( 'H:i Y-m-d', $value->topic_last_post_time + ( 3600 * get_option( 'gmt_offset' )) )
Save, replace.
Now, when changing time setting offset in WP -> General Settings -> Timezone, this will also change posts times in accord with offset.
... and now also here, widget's posts time are correct!