Time in Latest Forum Posts Widget

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: Time in Latest Forum Posts Widget

Re: Time in Latest Forum Posts Widget

by Athlon » Sun Mar 12, 2017 12:07 pm

Perfect!!

Thank you for changing this!!

:D

Re: Time in Latest Forum Posts Widget

by axew3 » Sun Mar 12, 2017 10:44 am

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!

Re: Time in Latest Forum Posts Widget

by Lantern » Thu Mar 09, 2017 2:54 pm

Awsome ! #keepupthegoodwork

Re: Time in Latest Forum Posts Widget

by Athlon » Wed Mar 08, 2017 2:33 pm

Sounds good. Thank you for your great communication to us.

Re: Time in Latest Forum Posts Widget

by axew3 » Wed Mar 08, 2017 1:54 pm

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

by Goofkop » Tue Mar 07, 2017 5:53 pm

Then we have to wait. Thanks for keeping us updated!

Top