Page 1 of 2

modifi by "user" at "time" - widget last topics

Posted: Mon May 02, 2016 7:54 am
by Deejays_es
hello I would like to remove the widget in wordpress, user and date of issue of the Forum

in http://deejays.es/ in the last widget below
for example :
Mod reverse Turntables Technics SL
by Dj Super Manolo 04/26/2016 at 20:32

"User " and the date is sometimes longer than the issue itself
How could fix it ?
Thank you

Re: modifi by "user" at "time"

Posted: Mon May 02, 2016 8:05 am
by axew3
Hello, date about this can be changed in, until the widget has been updated to be more comfortable and powerful:

open file: wp-content/plugins/wp-w3all-phpbb-integration/views/phpbb_last_topics.php

there are two echo instructions, one for iframe mode one for not iframe, but the two on bottom have follow code:

Code: Select all

date_i18n( 'H:i Y-m-d', $value->topic_last_post_time )
you need to change the value of:
H:i Y-m-d

examples from php.net:

Code: Select all

F j, Y, g:i a               // March 10, 2001, 5:16 pm
m.d.y                         // 03.10.01
j, n, Y                      // 10, 3, 2001
Ymd                          // 20010310
D M j G:i:s T Y             // Sat Mar 10 17:16:18 MST 2001
H:m:s \m \i\s\ \m\o\n\t\h     // 17:03:18 m is month
H:i:s                         // 17:16:18
Y-m-d H:i:s              // 2001-03-10 17:16:18
if still in trouble, just let know what kind of data you like to display.

Re: modifi by "user" at "time" - widget last topics

Posted: Thu May 19, 2016 9:25 am
by Guest
ok thanks I'll look .
That would be fine visible outside as in this Blog
http://djtechtools.com/

Re: modifi by "user" at "time" - widget last topics

Posted: Thu May 19, 2016 9:34 am
by Guest
Y thing this format it's easy to understand

Image
-Title oo topic
-Text of post (30-35 words aprox)
-name of writer topic and date


and why not?, maybe add the subforo the topic
-Subforun of topic ( example tipical - rules of topic-)
-Title oo topic
-Text of post (30-35 words aprox)
-name of writer topic and date

so you could be all much more readable

Re: modifi by "user" at "time" - widget last topics

Posted: Thu May 19, 2016 9:38 am
by axew3
OK, also because i see there is a little bug about if the inserted post is by a guest: return nothing i see :) it is just a line of code to add to resolve.
On 1.3.6/7 will be solved and increased widgets features so.

Re: modifi by "user" at "time" - widget last topics

Posted: Thu May 19, 2016 9:49 am
by Guest
test an empty uname ... for last topics widget ...

... Guest/empty username bug solved on last topics widget ... on 1.3.6 last topics and login widget will be also improved.