Time in Latest Forum Posts Widget

Athlon
User w
User w
Posts: 12
Joined: Sun Feb 12, 2017 2:56 pm

Re: Time in Latest Forum Posts Widget

Post by Athlon »

Okay - thank you for keeping me updated!

:o
Goofkop
User www
User www
Posts: 63
Joined: Sun Feb 26, 2017 8:33 am

Re: Time in Latest Forum Posts Widget

Post by Goofkop »

Then we have to wait. Thanks for keeping us updated!
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Time in Latest Forum Posts Widget

Post 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 ).
Athlon
User w
User w
Posts: 12
Joined: Sun Feb 12, 2017 2:56 pm

Re: Time in Latest Forum Posts Widget

Post by Athlon »

Sounds good. Thank you for your great communication to us.
User avatar
Lantern
User www
User www
Posts: 66
Joined: Fri Sep 09, 2016 12:07 pm
Location: The Netherlands
Contact:

Re: Time in Latest Forum Posts Widget

Post by Lantern »

Awsome ! #keepupthegoodwork
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Time in Latest Forum Posts Widget

Post 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!
Post Reply