2.8.4 logs

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

2.8.4 logs

Post by axew3 »

The option
Retrieve posts on Last Topics Widget based on phpBB user's group
seem to not work fine and in true i did not put eyes on it by long time now, i think it was on 2016?

2.8.4 fix this long time bug
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.8.4 logs

Post by axew3 »

About: Retrieve posts on Last Topics Widget based on phpBB user's group
beside the fact that it do not return the correct result, the inline option hint say (until 2.8.3):
Note that only the primary phpBB user Group is considered
on 2.8.4 last topics will be fixed not only to return the correct result for the primary user's group, but also for all others secondary groups which the user could belong to.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.8.4 logs

Post by axew3 »

About: Retrieve posts on Last Topics Widget based on phpBB user's group option, it become
Display topics/posts on Shortcodes and Widgets based on the phpBB user\'s groups permisions
... and let set it as active by default, when the integration will be activated, but leave the possibility to switch it to off, so to retrieve posts on widgets, for all users, as guests.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.8.4 logs

Post by axew3 »

The same last added option for the last topics shortcode, the HeartBeat Last Topics Shortcode can be easily added, taking advantage by the same added code, to all widgets.
It can also be added all about notifications, so that the user will not have to reload the page, if a new pm or posts on a subscribed forum etc has been published in phpBB and get immediate notification in WP.

But there is a problem about widgets that are all built on the old way, and not suitable for the new Gutenberg blocks way. While shortcodes works on any template, blocks widgets are not the same and are built in a different way in wordpress now. Beside the old way, we'll try to add the new way creating a block widget for new wordpress themes.

The login widget will never more updated to work into gutenberg, because since it is possible to use any login on frontend or wp-admin given by any other external plugin, beside the default wp, it result to be not useful at all to have one into this. You do not think?
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.8.4 logs

Post by axew3 »

The block Widget phpBB last topics for the Gutenberg editor has been introduced on 2.8.4

gutenbergWPeditorLastopics.png
gutenbergWPeditorLastopics.png (52.06 KiB) Viewed 1073 times
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.8.4 logs

Post by axew3 »

A secondary and maybe not so important security bug (the parsed post into a shortcode it's assumed that's used only by Admins and/or Editors in WP, but it is just a stupid point of view, it is not secure) has been fixed into the function wp_w3all_remove_bbcode_tags(). I just discovered it while thinking to provide the parsing of posts content into the Last Topics widget, if the added widget come with the option post text active.
At this moment this aspect, and an advanced function that should parse the post's content in a better way for the post's content on widgets, even if it is easy to accomplish with, has been moved on some release in the very close future.

While it is probably a priority to go to fix two main queries (one is about last topics, where all about user's and user's group is retrieved but it very not necessary) because the required data for the last topics widgets/shortcode are very few: the query will be highly lightened.

Minor fixes.

Another aspect is the fact that the code, even if running without any error into any scenario, still require a good cleanup and restyle!

Ps. Do not know if would be better to add the heartbeat to the Last Topics block widgets.

And, thinking about Heartbeat user's notifications that are still not introduced into 2.8.4.
User's notifications will be added where?
We have all data we wants already, why to not use it as:
element that can be active on last topics widget, where a div will contain user's info below (or above) the last topics list if the option is active, and all about forum's notifications will be updated on heartbeat. Forum's statistics, and user's online num (the actual function about it is not perfect).

In the while 2.8.4 will be published very soon, probably today!
Post Reply