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

Deejays_es

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

Post 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
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: modifi by "user" at "time"

Post 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.
Guest

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

Post by Guest »

ok thanks I'll look .
That would be fine visible outside as in this Blog
http://djtechtools.com/
Guest

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

Post 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
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

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

Post 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.
Guest

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

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